hydromt_delwaq.workflows.emissions.emission_vector#
- hydromt_delwaq.workflows.emissions.emission_vector(gdf, ds_like, col_name='', method='value', mask_name='basmsk', logger=<Logger hydromt_delwaq.workflows.emissions (WARNING)>)[source]#
Return gridded emission data from vector.
- Parameters:
gdf (geopandas.GeoDataFrame) – GeoDataFrame containing emission data.
ds_like (xarray.DataArray) – Dataset at model resolution.
method (str {'value', 'fraction', 'area'}) – Method for rasterizing.
mask_name (str) – Name of a basin mask array in ds_like.
- Returns:
da_out – Dataarray containing gridded emission map at model resolution.
- Return type:
xarray.Dataarray