hydromt.LumpedModel.write_response_units#
- LumpedModel.write_response_units(fn: str = 'response_units/response_units.nc', fn_geom: str = 'response_units/response_units.geojson', **kwargs)#
Write model response units to combined netcdf and geojson files.
Files are written at <root>/<fn> and at <root>/<fn_geom> respectively. The netcdf file contains the attribute data and the geojson file the geometry vector data. Key-word arguments are passed to
xarray.Dataset.to_netcdf()
- 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 _write_nc function.