hydromt_wflow.WflowModel.setup_lulcmaps#

WflowModel.setup_lulcmaps(lulc_fn: str | DataArray, lulc_mapping_fn: str | Path | DataFrame = None, lulc_vars: List = ['landuse', 'Kext', 'N', 'PathFrac', 'RootingDepth', 'Sl', 'Swood', 'WaterFrac'])[source]#

Derive several wflow maps based on landuse-landcover (LULC) data.

Lookup table lulc_mapping_fn columns are converted to lulc classes model parameters based on literature. The data is remapped at its original resolution and then resampled to the model resolution using the average value, unless noted differently.

Currently, if lulc_fn is set to the “vito”, “globcover”, “esa_worldcover” or “corine”, default lookup tables are available and will be used if lulc_mapping_fn is not provided.

Adds model layers:

  • landuse map: Landuse class [-]

  • Kext map: Extinction coefficient in the canopy gap fraction equation [-]

  • Sl map: Specific leaf storage [mm]

  • Swood map: Fraction of wood in the vegetation/plant [-]

  • RootingDepth map: Length of vegetation roots [mm]

  • PathFrac map: The fraction of compacted or urban area per grid cell [-]

  • WaterFrac map: The fraction of open water per grid cell [-]

  • N map: Manning Roughness [-]

Parameters:
  • lulc_fn (str, xarray.DataArray) – Name of RasterDataset source in data_sources.yml file.

  • lulc_mapping_fn (str, Path, pd.DataFrame) – Path to a mapping csv file from landuse in source name to parameter values in lulc_vars. If lulc_fn is one of {“globcover”, “vito”, “corine”, “esa_worldcover”}, a default mapping is used and this argument becomes optional.

  • lulc_vars (list) – List of landuse parameters to keep. By default [“landuse”,”Kext”,”N”,”PathFrac”,”RootingDepth”,”Sl”,”Swood”,”WaterFrac”]