hydromt_delwaq.delwaq.DelwaqModel.setup_emission_vector¶
-
DelwaqModel.
setup_emission_vector
(emission_fn, col2raster='', rasterize_method='value')[source]¶ Setup emission map from vector data.
Adds model layer:
emission_fn map: emission data map
- Parameters
emission_fn ({'GDP_world'...}) – Name of raster emission map source.
col2raster (str) – Name of the column from the vector file to rasterize. Can be left empty if the selected method is set to “fraction”.
rasterize_method (str) – Method to rasterize the vector data. Either {“value”, “fraction”}. If “value”, the value from the col2raster is used directly in the raster. If “fraction”, the fraction of the grid cell covered by the vector file is returned.