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 file 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.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’