CHM.xarray_accessor.GeoAccessor.uxgrid_to_netcdf

CHM.xarray_accessor.GeoAccessor.uxgrid_to_netcdf#

xarray_accessor.GeoAccessor.uxgrid_to_netcdf(outpath: str) None#

Export mesh topology and global IDs from an uxarray dataset to NetCDF. No variables are written. To do so, use vars_to_netcdf.

Parameters#

outpathstr

Destination path for the mesh-only NetCDF file.

Notes#

Only mesh scaffolding variables and global_id are written. Time dimensions are dropped to keep a static mesh file for downstream tools.