hydromt_wflow.workflows.lai_from_lulc_mapping#
- hydromt_wflow.workflows.lai_from_lulc_mapping(da: ~xarray.core.dataarray.DataArray, ds_like: ~xarray.core.dataset.Dataset, df: ~pandas.core.frame.DataFrame, logger=<Logger hydromt_wflow.workflows.landuse (WARNING)>) Dataset [source]#
Derive LAI values from a landuse map and a mapping table.
- Parameters:
da (xr.DataArray) – Landuse map.
ds_like (xr.Dataset) – Dataset at model resolution.
df (pd.DataFrame) – Mapping table with LAI values per landuse class. One column for each month and one line per landuse class.
logger (logging.Logger, optional) – Logger object.
- Returns:
ds_lai – Dataset with LAI values for each month.
- Return type:
xr.Dataset