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.).
Describe the bug
DEMs created with for instance ArcPro have a fill value set to 1e+38. This value is not picked up by ncread and then can negatively impact interpolation of topobathymetry to the mesh vertices.
Proposed fix
Put in a logic in GridData to catch abs(bathymetry) values larger than Mariana's trench and set them to NaN.
Describe the bug DEMs created with for instance ArcPro have a fill value set to 1e+38. This value is not picked up by
ncread
and then can negatively impact interpolation of topobathymetry to the mesh vertices.Proposed fix Put in a logic in
GridData
to catch abs(bathymetry) values larger than Mariana's trench and set them to NaN.