Skip to main content

CINEI — Coupled and Integrated Emission Inventory

PyPI version DOI License: MIT Documentation

📖 Full documentation: https://luyikeka.github.io/cinei/


Overview

CINEI is a Python package for integrating anthropogenic emission inventories, combining global (e.g. CEDS) and regional (e.g. MEIC for China) datasets into a unified temporal and spatial resolution NetCDF product.

CINEI is dedicated to coupling and integrating anthropogenic emission inventories toward:

  • Complete sectoral coverage — energy, residential, industry, agriculture, transportation, waste, shipping, aviation
  • Finer spatial resolution — from global 0.5° to regional 0.25° or finer
  • Consistent NMVOC speciation — disaggregation into lumped model species (MOZART/SAPRC99 mechanisms)

The outputs are designed for use in atmospheric chemistry simulations, climate change impact studies, and multi-disciplinary environmental research.


Installation

pip install cinei

Quick Start

import cinei

# 1. Download input data
cinei.download_ceds(save_dir='/data/CEDS', species=['NMVOC'])
cinei.download_htap_monthly(
    save_dir='/data/HTAP', species=['NMVOC'], year=2017, month=1)
cinei.download_meic_sample(save_dir='/data/MEIC', months=['jan'])

# 2. Run emission integration
output = cinei.emis_union(
    species   = 'NMVOC',     # target species (auto-mapped across inventories)
    month     = 1,           # month as integer 1-12
    year      = 2017,        # target year
    outer_dir = '/data/CEDS',  # global background inventory (CEDS)
    inner_dir = '/data/MEIC',  # regional inventory (MEIC for China)
    save_dir  = '/data/output',
    agg_dir   = '/data/HTAP',  # aggregated sectors (waste/shipping/aviation)
    region    = 'China',     # region of interest
    output_res= 0.25,        # output resolution in degrees
)

# 3. Plot all sectors
cinei.cinei_plot(output, save_path='/data/output/sectors.png')

# 4. Optional: NMVOC speciation into lumped model species
cinei.nmvoc_speciation(nmvoc_nc_path=output, save_dir='/data/output/voc/')

Key Functions

Function Description
emis_union() Core integration: merge outer + inner inventories
cinei_plot() Plot all 8 sectors + sum in one figure
download_ceds() Download CEDS v2021 gridded data
download_htap() / download_htap_monthly() Download HTAP v3 data
download_edgar() / download_edgar_monthly() Download EDGAR v8.1 data
download_meic_sample() Download MEIC 2017 sample data
nmvoc_speciation() Disaggregate NMVOC into lumped model species
check_user_data() Diagnose user-provided emission files
standardize_netcdf() Standardize NetCDF to CINEI format
list_regions() Show supported region presets

emis_union() argument reference

Argument Type Description
species str Species name, case-insensitive. e.g. 'NMVOC', 'SO2', 'NOx'
month int or str Month as integer (1-12), '01', or 'Jan'
year int or str Target year, e.g. 2017
outer_dir str Directory of global background inventory (CEDS/EDGAR/HTAP/user)
inner_dir str Directory of regional inventory (MEIC/user/EDGAR/HTAP)
save_dir str Output directory
outer_source str Outer inventory type: 'CEDS', 'EDGAR', 'HTAP', 'user'
inner_source str Inner inventory type: 'MEIC', 'user', 'EDGAR', 'HTAP'
agg_dir str Directory for HTAP aggregated sectors (waste/shipping/aviation)
mapper_path str Path to species mapper CSV. Default: bundled
country_shp str Path to country shapefile. Default: bundled
province_shp str Path to province shapefile. Default: bundled
output_res float Output resolution: 0.05, 0.1, 0.25, 0.5
sectors list or 'all' Sectors to integrate. Default: all 8 sectors
region str Region name: 'China', 'Beijing', 'NCP', 'Germany', etc.
global_domain bool If True, use global extent
lon_min/max float Manual longitude bounds (when region=None)
lat_min/max float Manual latitude bounds (when region=None)
nmvoc_speciation bool If True, auto-run VOC speciation after integration

Supported Inventories

Inventory Version Resolution Coverage
CEDS v_2021_04_21 0.5° Global, 1750–2019
MEIC v1.4 0.25° China, monthly
HTAP v3 0.1° / 0.5° Global, 2000–2018
EDGAR v8.1 0.1° Global, 1970–2022

Citation

If you use CINEI in your research, please cite:

Zhang, Y.: CINEI V1.1, https://doi.org/10.5281/zenodo.15000795, 2025.

Author

Yijuan Zhang, PhD candidate Institute of Environmental Physics (IUP), University of Bremen and Max Planck Institute for Meteorology (MPI-M), Hamburg, Germany


Acknowledgements

The development of CINEI was supported by computing resources provided by:

Deutsches Klimarechenzentrum (DKRZ) (German Climate Computing Centre) Project allocation: b123456

DKRZ provides high-performance computing infrastructure for climate and earth system research in Germany and is a key facility for the German climate research community.


License

MIT License

Metadata

Release files for cinei 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cinei 2.1.2
File Size Uploaded Provenance Actions
cinei-2.1.2.tar.gz 10.1 MB Without provenance Details for cinei-2.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cinei 2.1.2
File Interpreter ABI Platform Actions
cinei-2.1.2-py3-none-any.whl Python 3 none any Details for cinei-2.1.2-py3-none-any.whl

Total release size: 20.2 MB

Release files / cinei-2.1.2.tar.gz

Download URL cinei-2.1.2.tar.gz
Size 10.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d9d8722766603b00a3ec5cd1a50de063ade4fbe1c1ff4a630ee5c021c2240d16
BLAKE2b-256 checksum
How to use checksums
f11651e07527d106832fc0c4dd4d4a43e83d451662fa12da9a60b5c3c14f2908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / cinei-2.1.2-py3-none-any.whl

Download URL cinei-2.1.2-py3-none-any.whl
Size 10.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
53d84ec7c894118b9f63326db8b7fcaf0a8fcc5da3b852cfc9268fd57f4ae0cc
BLAKE2b-256 checksum
How to use checksums
81b13e00d33b28ea08dfe6516b549b31f2ed01378089fe07e4ac42175f5a1035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Security for cinei 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page