adcp_tide
This Matlab script interpolates first all U and V tide components at ADCP positions for all times. These are then interpolated at ADCP ensemble times. The output file can be used to generate a vector plot of the tidal current at ADCP ensembles, and to detide ADCP currents.
Tidal data are read from five different input files:
ADCP ensemble times can be read from the output of the getnav utility. See below for the input .
The following parameters must be edited before running the script:
Year base corresponding to input decimal days
Root name of ASCII files containing tide data. Extensions will be added automatically.
Name of a file with ADCP time,longitude and latitude as output by utility getnav.
Name of output file. See below for its .
Input data have only one column with one data for each grid point. The grid defines a two dimensional geographical area with associated longitude, latitude, eastward and northward currents values at each point. These data must be listed in the same order in each file. If several times are listed in the time file, current values must repeat themselves in the corresponding files in the same order as well. All of these files can be generated with the xtract(1) utility.
The generated file has the following columns:
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999