hydromt.MeshModel.read_mesh#

MeshModel.read_mesh(fn: str = 'mesh/mesh.nc', crs: CRS | int = None, **kwargs) None#

Read model mesh data at <root>/<fn> and add to mesh property.

key-word arguments are passed to read_nc()

Parameters:
  • fn (str, optional) – filename relative to model root, by default ‘mesh/mesh.nc’

  • crs (CRS or int, optional) – Coordinate Reference System (CRS) object or EPSG code representing the spatial reference system of the mesh file. Only used if the CRS is not found when reading the mesh file.

  • **kwargs (dict) – Additional keyword arguments to be passed to the read_nc method.