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', 'kc', 'alpha_h1', 'h1', 'h2', 'h3_high', 'h3_low', 'h4'])[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” “corine” or “glmnco”, 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 [-]

  • kc map: Crop coefficient [-]

  • alpha_h1 map: Root water uptake reduction at soil water pressure head h1 (0 or 1) [-]

  • h1 map: Soil water pressure head h1 at which root water uptake is reduced (Feddes) [cm]

  • h2 map: Soil water pressure head h2 at which root water uptake is reduced (Feddes) [cm]

  • h3_high map: Soil water pressure head h3 at which root water uptake is reduced (Feddes) [cm]

  • h3_low map: Soil water pressure head h3 at which root water uptake is reduced (Feddes) [cm]

  • h4 map: Soil water pressure head h4 at which root water uptake is reduced (Feddes) [cm]

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”, “glmnco”}, a default mapping is used and this argument becomes optional.

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