mesh-estuary v3.2.3¶
Mercurial revision 5786:5c8b45563631 | 2026-08-04
Description¶
mesh-estuary interpolates a bathymetry and its gradient onto a given finite element (FE) mesh.
The bathymetry (topography) values are saved on elevation nodes.
The gradients are saved on velocity nodes.
Note: The mesh file must be in
.neiformat. If needed, usemesh-formatto convert from other formats (e.g., GMSH).
Usage¶
mesh-estuary -m MESH_FILE -b BATHYMETRY_FILE
Options¶
Option |
Description |
|---|---|
|
Print this help and exit. |
|
Path to the mesh file ( |
|
Path to the bathymetry file (NetCDF or |
|
Enable debug mode. |
Deprecated Options¶
⚠️ Warning: These options are no longer supported and may be removed in future versions.
Option |
Description |
|---|---|
|
Number of smoothing iterations (deprecated). |
|
Boundary file (deprecated). |
|
Polygon file to limit the working area (deprecated). |
|
Output file name (deprecated). |
|
Discretization element pair (e.g., |
|
Zone file (deprecated). |
|
Mesh size (deprecated). |
Examples¶
Basic Usage¶
Interpolate bathymetry onto a mesh:
mesh-estuary -m mesh.nei -b bathymetry.nc
Debug Mode¶
Enable debug mode for troubleshooting:
mesh-estuary --debug -m mesh.nei -b bathymetry.grd
Environment Variables¶
None.
Notes¶
Input Files:
The mesh file must be in
.neiformat. Usemesh-formatto convert from other formats if necessary.The bathymetry file must be in NetCDF or
.grdformat.
Output:
The interpolated bathymetry is saved on elevation nodes of the mesh.
The gradients are saved on velocity nodes of the mesh.
Debugging:
Use
--debugto print additional information during execution.
Deprecated Options:
Avoid using deprecated options, as they may not be supported in future versions.
See Also¶
mesh-format(for converting mesh files to.neiformat)NetCDF Format (for bathymetry file requirements)