extract_mesh.py#

Extract a single mesh from a UGrid netCDF file#

Load, extract and save a single mesh from a UGrid netCDF file containing multiple meshes.

Command Line Interface#

usage: extract_mesh.py [-h] [--mesh-name MESH_NAME] --mesh MESH output

Positional Arguments#

output

Path to output the results from ExtractSingleMesh.

Named Arguments#

--mesh-name

The name of the mesh contained in the file provided to ‘–mesh’.

--mesh

Path to mesh.