lusos.calculate_model_flux#

lusos.calculate_model_flux(model: GeoDataFrame, grid: LassoGrid) DataArray[source]#

Calculate a weighted flux per cell in a 2D grid from Somers emissions data.

Parameters:
  • model (gpd.GeoDataFrame) – GeoDataFrame containing model emissions per polygon.

  • grid (LassoGrid) – 2D grid to calculate the emission fluxes for.

Returns:

2D grid with weighted emission flux per cell.

Return type:

xr.DataArray