hydromt_delwaq.DelwaqModel.setup_emission_raster#

DelwaqModel.setup_emission_raster(emission_fn: str | DataArray, scale_method: str = 'average', fillna_method: str = 'zero', fillna_value: int = 0.0, area_division: bool = False)[source]#

Prepare one or several emission map from raster data.

Adds model layer:

  • emission_fn map: emission data map

Parameters:
  • emission_fn ({'GHS-POP_2015'...}) – Name of raster emission map source.

  • scale_method (str {'nearest', 'average', 'mode'}) – Method for resampling

  • fillna_method (str {'nearest', 'zero', 'value'}) – Method to fill NaN values. Either nearest neighbour, zeros or user defined value.

  • fillna_value (float) – If fillna_method is set to ‘value’, NaNs in the emission maps will be replaced by this value.

  • area_division (boolean) – If needed do the resampling in cap/m2 (True) instead of cap (False)