lair.inventories#

Gridded emission inventories.

An emission inventory is an accounting of the amount of a pollutant released into the atmosphere, by source sector, over an area and a period, usually a year. Inventory holds one on a grid, one variable per sector, as a flux with pint units, and gives its totals (total_emissions, absolute_emissions, integrate()), units (convert_units()) and grid (clip, regrid, resample). Its subclasses read the archives of EDGAR, the EPA, GFEI, Vulcan and WetCHARTs from $LAIR_INVENTORY_DIR. Total an inventory over a region totals EDGAR over a region. The module needs the geo and science extras, and regridding needs ESMF as well (see Optional dependencies).

Attributes

INVENTORY_DIR_ENV

Environment variable holding the inventory archive root (with EDGAR/, EPA/, GFEI/, vulcan/ and WetCHARTs/ subdirectories)

DST_UNITS

The units standardize_units=True converts an Inventory to.

DEFAULT_PINT_FMT

The pint format of the units attribute an Inventory writes: abbreviated and compact, as in kg/km**2/d.

Functions

convert_units

Convert the units of a data array or dataset.

molecular_weight

Calculate the molecular weight of a pollutant.

sum_sectors

Sum emissions from all sectors in the dataset.

Classes

EDGAR

EDGAR - Emissions Database for Global Atmospheric Research

EDGARv7

EDGAR v7 - Global Greenhouse Gas Emissions

EDGARv8

EDGAR v8 - Global Greenhouse Gas Emissions

EPA

United States Environmental Protection Agency (EPA) Gridded Methane Emissions

EPAv1

EPA Gridded 2012 Methane Emissions

EPAv2

EPA U.S.

GFEI

Global Fuel Exploitation Inventory (GFEI)

GFEIv1

Global Fuel Exploitation Inventory v1

GFEIv2

Global Fuel Exploitation Inventory v2

Inventory

Base class for inventories.

MultiModelInventory

Base class for inventories that are multi-model.

Vulcan

The Vulcan Project

WetCHARTs

WetCHARTs - Wetland Methane Emissions and Uncertainty