Browse Source

fix bug in DI category conversion

Johannes Gütschow 8 months ago
parent
commit
60069f71da
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/unfccc_ghg_data/unfccc_di_reader/unfccc_di_reader_config.py

+ 6 - 3
src/unfccc_ghg_data/unfccc_di_reader/unfccc_di_reader_config.py

@@ -302,7 +302,7 @@ cat_conversion = {
             "1.B": "1.B",
             "1.B.1": "1.B.1",
             "1.B.2": "1.B.2",
-            "2": "2",
+            # "2": "2",
             "2.A": "2.A",
             "2.B": "M.2.B_2.B",
             "2.C": "2.C",
@@ -310,6 +310,7 @@ cat_conversion = {
             "2.E": "M.2.B_2.E",
             "2.F": "2.F",
             "2.G": "2.H.3",
+            "3": "2.D",
             "4": "M.AG",
             "4.A": "3.A.1",
             "4.B": "3.A.2",
@@ -338,8 +339,10 @@ cat_conversion = {
                 "orig_cat_name": "Chemical Industry",
             },
             "2.H": {"sources": ["M.2.H.1_2", "2.H.3"], "orig_cat_name": "Other"},
-            #'2': {'sources': ['2.A', '2.B', '2.C', '2.F', '2.H'],
-            #      'name': 'Industrial Processes and Product Use'},
+            "2": {
+                "sources": ["2.A", "2.B", "2.C", "2.D", "2.F", "2.H"],
+                "name": "Industrial Processes and Product Use",
+            },
             "3.A": {"sources": ["3.A.1", "3.A.2"], "orig_cat_name": "Livestock"},
             "3.C.1": {
                 "sources": ["3.C.1.b", "3.C.1.c"],