hydromt.model.components.MeshComponent.read#
- MeshComponent.read(filename: str | None = None, *, crs: CRS | int | None = None, **kwargs) None [source]#
Read model mesh data at <root>/<filename> and add to mesh property.
key-word arguments are passed to
read_nc()
- Parameters:
filename (
str
, optional) – filename relative to model root, by default ‘mesh/mesh.nc’crs (
CRS
orint
, 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.