TMD3.0 is a rewrite of the Tide Model Driver for MATLAB v2.5. The goal of this update was to create a clean, efficient set of functions that are well documented, easy to use, and easy to debug. We also wanted to reduce the size, complexity, and overall hassle of dealing with multi-file or binary tide model data files. The biggest changes in this update to TMD3.0 are as follows:
- Introduced a new, consolidated NetCDF model data format.
- All functions rewritten for improved performance (much faster and lower memory usage than TMD2.5).
- Most functions were renamed and inputs have changed to make them more intuitive and easier to use.
- All new documentation.
- Updated the CATS2008 model, as described here.
Here's a table of how the new functions compare to previous versions of TMD:
TMD3.0 function | Previous name | Major Changes |
---|---|---|
tmd_predict |
tmd_tide_pred |
Changed the order of function inputs |
tmd_interp |
tmd_extract_HC |
Changed function inputs & outputs. Phase now in radians. |
tmd_data |
h_in , grd_in |
n/a |
tmd_conlist |
No direct previous equivalent | n/a |
tmd_ellipse |
tmd_get_ellipse |
Now allows input geo coordinates |
tidal_range |
No direct previous equivalent | n/a |
tidal_astrol |
astrol |
functionally equivalent |
tmd_constit |
constit |
functionally equivalent |
tmd_harp |
harp , harp1 |
changed to datenum input format |
tmd_InferMinor |
InferMinor |
functionally equivalent |
tmd_nodal |
nodal , nodal1 |
now requires both p and N as inputs |
tmd_ll2ps |
mapll |
functionally equivalent |
tmd_ps2ll |
mapxy |
functionally equivalent |
If you want to compare results of TMD3.0 to previous versions of TMD, feel free to use or modify this script we wrote for that exact purpose.
This page was written by Chad A. Greene, December 2023.