hydromt.model.components.DatasetsComponent.read#
- DatasetsComponent.read(filename: str | None = None, **kwargs) None [source]#
Read model dataset files at <root>/<filename>.
key-word arguments are passed to
hydromt.io.readers.open_ncs()
- Parameters:
filename (
str
, optional) – filename relative to model root. should contain a {name} placeholder which will be used to determine the names/keys of the datasets. if None, the path that was provided at init will be used.**kwargs – Additional keyword arguments that are passed to the hydromt.io.readers.open_ncs function.