lair.inventories.EDGAR#
- class lair.inventories.EDGAR(data, pollutant, src_units=None, time_step='annual', crs='EPSG:4326', version=None, standardize_units=False)[source]#
Bases:
InventoryEDGAR - Emissions Database for Global Atmospheric Research
https://edgar.jrc.ec.europa.eu/
EDGAR is a multipurpose, independent, global database of anthropogenic emissions of greenhouse gases and air pollution on Earth. EDGAR provides independent emission estimates compared to what reported by European Member States or by Parties under the United Nations Framework Convention on Climate Change (UNFCCC), using international statistics and a consistent IPCC methodology.
EDGAR provides both emissions as national totals and gridmaps at 0.1 x 0.1 degree resolution at global level, with yearly, monthly and up to hourly data.
Fluxes are annual or monthly means in kg m-2 s-1, so totals depend on the year length. lair uses the true calendar (366 days in leap years), which is also EDGAR’s: v7 files state
cell_method = "time: mean (interval: 1 year, 366 days)"in leap years (365 otherwise) and v8’sglobal_totalattributes match a 366-day integration (CH4 2020: 375.98 Mt).Notes
Every file holds one year (a monthly file: the twelve months of one year), and the year is in the file’s name.
startandend, the first and last year to read (both included), make lair choose the files of those years by name and open only them. The data then holds whole years, a monthly year with all its twelve months. A year in the range that has no files is logged as a warning and is not in the data; if no file is for the years asked, the class raisesFileNotFoundError, naming the years the archive has. With neither, every year is read.- Parameters:
data (str | Path) – The folder of one version and pollutant, which
EDGARv7andEDGARv8build from their own arguments.src_units (str) –
'kg m-2 s-1', EDGAR’s units.time_step (str) –
'annual', or'monthly'for EDGAR v8’s monthly files.crs (str) –
'EPSG:4326'.version (str) –
'v7'or'v8'.standardize_units (bool) – False.
Methods
Recursively get the inventory files for each sector. |
|
|
Generate a formatted name from the sector description. |
Inherited
From Inventory: absolute_emissions, collapsed, convert_units, data, get_standard_name, get_units, integrate, plot, quantify, regrid, reproject, resample, total_emissions
From BaseGrid: clip, copy, gridcell_area