spaemis.project

Project a set of emissions into the future according to a set of scaling methods

scale_inventory

scale_inventory(cfg, inventory, target_year, timeseries)[source]

Scale a given variable/sector

Parameters:
Returns:

xarray.core.dataset.Dataset – Dataset with a single variable with dimensions of (sector, year, lat, lon)

calculate_projections

calculate_projections(config, inventory, timeseries)[source]

Calculate a projected set of emissions according to some configuration

Parameters:
Returns:

xarray.core.dataset.Dataset – Dataset containing the requested projections.

The dimensionality of the output variables is (sector, year, lat, lon)

calculate_point_sources

calculate_point_sources(config, inventory)[source]

Generate grids for point sources

Each point source has a total quantity. This quantity is split evenly over all locations of that source. Values are excluded if the location falls outside of the domain, but still contribute to the set of locations that the quantity is spread over.

Parameters:
Returns:

xarray.core.dataset.Dataset – * Dataset containing a gridded representation of the point source data. This Dataset * contains the variables and sectors covered by the point sources. The sectors * do not necessarily need to be the inventory data.