hydromt_wflow.WflowModel.setup_areamap#

WflowModel.setup_areamap(area_fn: str, col2raster: str, nodata: Union[int, float] = -1)[source]#

Setup area map from vector data to save wflow outputs for specific area. Adds model layer: * area_fn map: output area data map :param area_fn: Name of vector data corresponding to wflow output area. :type area_fn: str :param col2raster: Name of the column from the vector file to rasterize. :type col2raster: str :param nodata: Nodata value to use when rasterizing. Should match the dtype of col2raster. By default -1. :type nodata: int/float, optional