uvprf2(3m)

NAME
uvprf2 - Plot velocity profiles and navigation data

SYNOPSIS
uvprf2(year_base, nav_file, prf_file, plot_title, note, plot_mean, plot_ship )

DESCRIPTION
This function is used by uvprf(1m) for plotting velocity profiles and navigation data. Absolute currents are calculated and the resulting profiles are plotted together. It reads data from a navigation and a profile file. The navigation file must have the following columns: time longitude latitude U ship V ship The profile files contains the concatenated profiles with the following columns: depth U relative V relative These two files may be easily generated by xtract(1m).

PARAMETERS

year_base
    Year base used in input files.

nav_file
    Name of navigation file.

prf_file
    Name of profile file. Note that depth values must be monotonically increasing for each profile (this is necessary for the function to split out each profile from the file).

plot_title
    Title for the plot.

note
    Additionnal string to plot on the lower left corner of the plot.

plot_mean
    If non-zero,plot a mean velocity profile. This assumes that profile data are given for the same depths.

plot_ship
    If non-zero,also plot information about navigation.

OUTPUT
This function generates the following files:

uvprf.ps
    Postscript file with the velocity profile plots.

shipprf.ps
    Postscript file with the navigation plot (if selected).

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999