Skip to content

Commit

Permalink
Add "emission" code list
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Oct 3, 2024
1 parent 6cf3638 commit a79a179
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/pkg-data/codelists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ These codes have the following annotations:
.. literalinclude:: ../../message_ix_models/data/commodity.yaml
:language: yaml

Emission species (:file:`emission.yaml`)
========================================

.. literalinclude:: ../../message_ix_models/data/emission.yaml
:language: yaml

.. _level-yaml:

Levels (``level.yaml``)
Expand Down
75 changes: 75 additions & 0 deletions message_ix_models/data/emission.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
BCA:
name: Black carbon
report: BC

CH4:
name: Methane

CO:
name: Carbon monoxide

CO2:
name: Carbon dioxide

N2O:
name: Nitrous oxide

NH3:
name: Ammonia

NOx:
name: Nitrogen oxides

OCA:
name: Organic carbon
report: OC

SO2:
name: Sulfur dioxide
report: Sulfur

VOC:
name: Volatile organic compounds

# The following codes also appear in
# ixmp://ixmp-dev/SSP_dev_SSP4_v0.1_Blv0.18/materials_low_dem_scen#1
# (2024-10-02) but are not currently used by code in message_ix_models.
#
# Agri_CH4
# Agri_N2O
# Agri_N2O_calc
# BCA_LandUseChangeEM
# BCA_SavanBurnEM
# CF4
# CH4_LandUseChangeEM
# CH4_SavanBurnEM
# CO_LandUseChangeEM
# CO_SavanBurnEM
# CO2_industry
# CO2_transformation
# CO2_transport
# HFC
# LU_CH4
# LU_CH4_Agri
# LU_CH4_BioBurn
# LU_CO2
# LU_N2O
# NH3_LandUseChangeEM
# NH3_ManureEM
# NH3_RiceEM
# NH3_SavanBurnEM
# NH3_SoilEM
# NOx_LandUseChangeEM
# NOx_SavanBurnEM
# NOx_SoilEM
# OCA_LandUseChangeEM
# OCA_SavanBurnEM
# PM2p5
# SF6
# SO2_LandUseChangeEM
# SO2_SavanBurnEM
# TCE
# TCE_CO2
# TCE_non-CO2
# VOC_LandUseChangeEM
# VOC_SavanBurnEM
1 change: 1 addition & 0 deletions message_ix_models/tests/model/test_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class TestGetCodes:
(
"cd_links/unit",
"commodity",
"emission",
"level",
"node/ISR",
"node/R11",
Expand Down

0 comments on commit a79a179

Please sign in to comment.