hydromt.LumpedModel.read_response_units#
- LumpedModel.read_response_units(fn: str = 'response_units/response_units.nc', fn_geom: str = 'response_units/response_units.geojson', **kwargs) None #
Read model response units from combined netcdf and geojson file.
Files are read at <root>/<fn> and geojson file at <root>/<fn_geom>. The netcdf file contains the attribute data and the geojson file the geometry vector data. key-word arguments are passed to
xarray.open_dataset()
- Parameters:
fn (
str
, optional) – netcdf filename relative to model root, by default ‘response_units/response_units.nc’fn_geom (
str
, optional) – geojson filename relative to model root, by default ‘response_units/response_units.geojson’**kwargs – Additional keyword arguments that are passed to the RasterDatasetAdapter function.