detide
Detide reads ADCP currents from ascii files and corresponding barotropic tidal components. It rewrites the ADCP files with detided currents. Tidal data is interpolated to ADCP positions along the specified synchro column, and substracted to ADCP U-V pairs. Currents must be in m/s. If this is not the case, specify conversion factors different from 1.0.
Detided data are written as is, in the same unit as on input in the output file.
The following parameters must be edited:
File containing ADCP data.
File containing barotropic tidal components at ADCP times and positions.
Cell array containg 2-elements vectors specifying the columns of U-V pairs data in the ADCP data file.
A two elements vector specifying the columns of U-V barotropic tidal pairs in the tide file.
A two element vector specifying the columns to use for synchronization of ADCP and tide data. The first element refers to the column in the ADCP file,the second is for the tide file.
Factor to get ADCP data in m/s.
Factor to get tide currents in m/s.
Name of output file for detided ADCP data.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999