CHLNDDEV / OceanMesh2D

A two-dimensional triangular mesh generator with pre- and post-processing utilities written in pure MATLAB (no toolboxes required) designed specifically to build models that solve shallow-water equations or wave equations in a coastal environment (ADCIRC, FVCOM, WaveWatch3, SWAN, SCHISM, Telemac, etc.).
https://github.com/sponsors/krober10nd
GNU General Public License v3.0
188 stars 68 forks source link

Bug fix: station name reading methods #281

Closed kentonwho closed 1 year ago

kentonwho commented 1 year ago

Encountered write-out bug when trying to read in fort.15, add tides, then write out fort.15 because of missing read methods for elvstaname and velstaname. Modified STAV and STAE code by adding readlinevecname() method which returns first two tokens as a float array and last token as string, assuming station name is delimited by "!" symbol.