hydromt_delwaq.delwaq.DelwaqModel.setup_emission_raster¶
-
DelwaqModel.
setup_emission_raster
(emission_fn, scale_method='average', fillna_method='zero', fillna_value=0.0, area_division=False)[source]¶ Setup 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)