hydromt_wflow.workflows.topography#
- hydromt_wflow.workflows.topography(ds: ~xarray.core.dataset.Dataset, ds_like: ~xarray.core.dataset.Dataset, elevtn_name: str = 'elevtn', lndslp_name: str = 'lndslp', method: str = 'average', logger=<Logger hydromt_wflow.workflows.basemaps (WARNING)>)[source]#
Return topography maps (see list below) at model resolution.
Based on gridded elevation data input.
The following topography maps are calculated:
elevtn : average elevation [m]
lndslp : average land surface slope [m/m]
- Parameters:
ds (xarray.DataArray) – Dataset containing gridded flow direction and elevation data.
ds_like (xarray.DataArray) – Dataset at model resolution.
elevtn_name (str, optional) – Name of elevation [m] and land surface slope [m/m] variables in ds
lndslp_name (str, optional) – Name of elevation [m] and land surface slope [m/m] variables in ds
method (str, optional) – Resample method used to reproject the input data, by default “average”
- Returns:
ds_out (xarray.DataArray) – Dataset containing gridded hydrography data
flwdir_out (pyflwdir.FlwdirRaster) – Flow direction raster object.
See also
pyflwdir.dem.slope