Tide Model Driver for MATLAB

Tide Model Driver for MATLAB - Published in JOSS (2024)

https://github.com/chadagreene/tide-model-driver

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

Tide Model Driver for MATLAB, version 3.0

Basic Info
  • Host: GitHub
  • Owner: chadagreene
  • License: mit
  • Language: MATLAB
  • Default Branch: main
  • Size: 98.7 MB
Statistics
  • Stars: 35
  • Watchers: 4
  • Forks: 4
  • Open Issues: 2
  • Releases: 1
Created almost 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

View Tide Model Driver (TMD) version 3.0 on File Exchange status

Tide Model Driver 3.0

TMD logo Tide Model Driver for MATLAB, version 3.0. This is a fast, user-friendly, well-documented rewrite of ESR's classic Tide Model Driver by Svetlana Erofeeva.

Installation

To start predicting tides, just add TMD to MATLAB and download your favorite tide model data. Each step is described in the links below:

  1. Add TMD to MATLAB.
  2. Get tide model data.

TMD Functions

For most applications, tmd_predict is the only function you will need to call directly, although you may occasionally want tmd_interp to retrieve bathymetry, tmd_ellipse to get tidal current characteristics, or tmd_conlist for a quick list of tidal constituents in a given model. Complete documentation is provided for the functions whose names are hyperlinked below, and simple text documentation can be found in the headers of all functions.

Main functions:

  • tmd_predict predicts tidal elevation, transport, or current velocities for given location(s) and time(s).
  • tmd_interp provides water column thickness, land/ocean mask, ice shelf flexure, and tidal constituent parameters at specified geographic locations, for a given tide model.
  • tmd_data loads gridded tide model data without interpolation.
  • tmd_conlist returns a list of tidal constituents in a TMD3.0 compatible consolidated NetCDF tide model file.
  • tmd_ellipse gives tidal ellipse parameters at specified location(s).

Under-the-hood functions:

  • tidal_range calculates the peak-to-peak tidal height range.
  • tmd_astrol computes the basic astronomical mean longitudes s, h, p, N.
  • tmd_constit returns amplitude, phase, frequency, alpha, species for tidal constituents.
  • tmd_harp predicts tidal time series using harmonic constants.
  • tmd_InferMinor returns correction for 16 minor tidal constiuents.
  • tmd_nodal calculates the nodal corrections for tidal constituents.
  • tmd_ll2ps converts geographic coordinates to polar stereographic kilometers for polar models.
  • tmd_ps2ll converts polar stereographic kilometers geographic coordinates for polar models.

Accessing Help

For any of the TMD functions listed above, you can get plain-text help in the Command Window by typing help followed by the name of the function. For example:

```matlab

help tmd_predict `` To access formatted documentation with lots of examples for any of the **Main functions** listed above, typetmd` followed by the function name. For example:

```matlab

tmd tmd_predict `` If you're not sure what function name you're looking for, just typetmd` into the Command Window, and it will bring up a complete function list:

```matlab

tmd ```

Tutorials & More Documentation

Be sure to check out the documentation for each of the Main functions. There, you'll find multiple examples of how to use each function. In addition, the following tutorials and other documentation may be of interest:

Alternatives to MATLAB

Don't like MATLAB? No worries, just try one of these alternatives:

  • Python: pyTMD is a tidal prediction software that can read OTIS, GOT and FES formatted tidal solutions for predicting ocean and load tides.
  • Fortran: A Fortran version of this package is made available through OSU: OSU Tidal Prediction software (OTPS).
  • Octave: It is possible that TMD3.0 works with Octave as it is currently written. I haven't checked, but most of the TMD functions are pretty basic, so Octave's functions might be exact clones. If you use Octave and you want to give TMD3.0 a try, please let me know how it goes!

Author Info & Citation Information

TMD3.0 was written by Chad A. Greene, Svetlana Erofeeva, Laurie Padman, Susan Howard, Tyler Sutterley, and Gary Egbert. If you use TMD3.0, please cite:

Greene, Chad A., Svetlana Erofeeva, Laurie Padman, Susan L. Howard, Tyler Sutterley, and Gary Egbert. "Tide Model Driver for MATLAB." Journal of Open Source Software 9, no. 95 (2024): 6018, https://doi.org/10.21105/joss.06018.

How to contribute

If you find a bug or have suggestions for how to improve TMD, please open up an issue.

Owner

  • Name: Chad A. Greene
  • Login: chadagreene
  • Kind: user
  • Location: Tucson, AZ
  • Company: NASA: Jet Propulsion Laboratory

NASA/JPL researcher using data collected from satellites and airplanes to understand glacier sensitivity to climate change.

JOSS Publication

Tide Model Driver for MATLAB
Published
March 12, 2024
Volume 9, Issue 95, Page 6018
Authors
Chad A. Greene ORCID
Institute for Geophysics, John A. and Katherine G. Jackson School of Geosciences, University of Texas at Austin, Austin, TX, USA
Svetlana Erofeeva ORCID
College of Earth, Ocean, and Atmospheric Sciences, Oregon State University, Corvallis, OR, USA
Laurie Padman ORCID
Earth and Space Research, Corvallis, OR, USA
Susan L. Howard ORCID
Earth and Space Research, Corvallis, OR, USA
Tyler Sutterley ORCID
University of Washington Applied Physics Laboratory Polar Science Center, Seattle, WA, 98122, USA
Gary Egbert
College of Earth, Ocean, and Atmospheric Sciences, Oregon State University, Corvallis, OR, USA
Editor
Kristen Thyng ORCID
Tags
tides oceanography TMD

GitHub Events

Total
  • Issues event: 4
  • Watch event: 7
  • Delete event: 1
  • Issue comment event: 8
  • Push event: 3
  • Pull request event: 5
  • Fork event: 1
Last Year
  • Issues event: 4
  • Watch event: 7
  • Delete event: 1
  • Issue comment event: 8
  • Push event: 3
  • Pull request event: 5
  • Fork event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 134
  • Total Committers: 3
  • Avg Commits per committer: 44.667
  • Development Distribution Score (DDS): 0.06
Past Year
  • Commits: 7
  • Committers: 2
  • Avg Commits per committer: 3.5
  • Development Distribution Score (DDS): 0.286
Top Committers
Name Email Commits
Chad A. Greene c****d@c****m 126
Tyler Sutterley t****l@u****u 6
Susan Howard s****d@e****g 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 22
  • Total pull requests: 6
  • Average time to close issues: 8 days
  • Average time to close pull requests: 21 days
  • Total issue authors: 8
  • Total pull request authors: 2
  • Average comments per issue: 2.36
  • Average comments per pull request: 0.33
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 2
  • Average time to close issues: 2 days
  • Average time to close pull requests: 18 days
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lnferris (15)
  • slhowardESR (1)
  • jenniferkosty (1)
  • mdb5 (1)
  • AlekseiBuinyi (1)
  • SeisPiano (1)
  • Xylitolor (1)
  • liuyalong008 (1)
Pull Request Authors
  • tsutterley (5)
  • slhowardESR (2)
Top Labels
Issue Labels
Pull Request Labels