hydromt_wflow.WflowModel.setup_areamap#
- WflowModel.setup_areamap(area_fn: str | GeoDataFrame, col2raster: str, nodata: int | float = -1)[source]#
Set area map from vector data to save wflow outputs for specific area.
Adds model layer:
col2raster map: output area data map
- Parameters:
area_fn (str, geopandas.GeoDataFrame) – Name of GeoDataFrame data corresponding to wflow output area.
col2raster (str) – Name of the column from area_fn to rasterize.
nodata (int/float, optional) – Nodata value to use when rasterizing. Should match the dtype of col2raster . By default -1.