hydromt_delwaq.DelwaqModel.setup_emission_mapping#
- DelwaqModel.setup_emission_mapping(region_fn: str | GeoDataFrame, mapping_fn: str | Path = None)[source]#
Derive several emission maps based on administrative boundaries.
For several emission types administrative classes (‘fid’ column) are remapped to model parameter values based on lookup tables. The data is remapped at its original resolution and then resampled to the model resolution based using the average value, unless noted differently.
Adds model layers:
region_fn map: emission data with classification from source_name [-]
emission factor X map: emission data from mapping file to classification
- Parameters:
region_fn ({["gadm_level1", "gadm_level2", "gadm_level3"]}) –
Name or list of names of data source in data_sources.yml file.
Required variables: [‘ID’]
mapping_fn (str, optional) – Path to the emission mapping file corresponding to region_fn.