read_ugrid
Read the 2D mesh of a UGRID netCDF file.
Parameters
| path |
str or path - like |
A UGRID file, such as a D-HYDRO net file; a 1D network or other variables in it are ignored. |
required |
Returns
|
Mesh |
The 2D mesh with its nodes and faces as stored (node order and orientation unchanged), the CRS of the file if it has one, and the lattice derived from the cells. |
Raises
|
InputError |
If the file has no 2D mesh topology or more than one, or the mesh is not a refined quad mesh (its nodes do not lie on one lattice). |