Browse Source

small fixes to CRT1 specification

Johannes Gütschow 2 tháng trước cách đây
mục cha
commit
79d32e20d2

+ 37 - 32
src/unfccc_ghg_data/unfccc_crf_reader/crf_specifications/crt1_specification.py

@@ -1355,7 +1355,9 @@ CRT1 = {
             ["\\C-SGP\\ NA", ["\\IGNORE", "\\IGNORE"], 5],
             ["\\C-COL-ECU-UKR\\ Other", ["1.A.3.b.v.13", "OFFOther"], 5],
             # c. Railways
-            ["1.A.3.c. Railways", ["1.A.3.c", "Total"], 1],
+            # present twice for Cyprus, we have to ignore it completely (NO anyway)
+            ["\\C-CYP\\ 1.A.3.c. Railways", ["\\IGNORE", "Total"], 1],
+            ["\\C!-CYP\\ 1.A.3.c. Railways", ["1.A.3.c", "Total"], 1],
             ["Liquid fuels", ["1.A.3.c", "Liquid"], 2],
             ["Solid fuels", ["1.A.3.c", "Solid"], 2],
             ["Gaseous fuels (6)", ["1.A.3.c", "Gaseous"], 2],
@@ -4101,49 +4103,52 @@ CRT1 = {
             "unit_info": unit_info["industry"],
         },
         "sector_mapping": [
-            ["4. Total LULUCF", ["4"]],
-            ["4.A. Forest land", ["4.A"]],
-            ["4.A.1. Forest land remaining forest land", ["4.A.1"]],
-            ["4.A.2. Land converted to forest land", ["4.A.2"]],
-            ["4.B. Cropland", ["4.B"]],
-            ["4.B.1. Cropland remaining cropland", ["4.B.1"]],
-            ["4.B.2. Land converted to cropland", ["4.B.2"]],
-            ["4.C. Grassland", ["4.C"]],
-            ["4.C.1. Grassland remaining grassland", ["4.C.1"]],
-            ["4.C.2. Land converted to grassland", ["4.C.2"]],
-            ["4.D. Wetlands (5)", ["4.D"]],
-            ["4.D.1. Wetlands remaining wetlands", ["4.D.1"]],
-            ["4.D.2. Land converted to wetlands", ["4.D.2"]],
-            ["4.E. Settlements", ["4.E"]],
-            ["4.E.1. Settlements remaining settlements", ["4.E.1"]],
-            ["4.E.2. Land converted to settlements", ["4.E.2"]],
-            ["4.F. Other land (6)", ["4.F"]],
-            ["4.F.1. Other land remaining other land", ["4.F.1"]],
-            ["4.F.2. Land converted to other land", ["4.F.2"]],
-            ["4.G. Harvested wood products (7)", ["4.G"]],
-            ["4.H. Other (please specify)", ["4.H"]],
+            ["4. Total LULUCF", ["4"], 0],
+            ["4.A. Forest land", ["4.A"], 1],
+            ["4.A.1. Forest land remaining forest land", ["4.A.1"], 2],
+            ["4.A.2. Land converted to forest land", ["4.A.2"], 2],
+            ["4.B. Cropland", ["4.B"], 1],
+            ["4.B.1. Cropland remaining cropland", ["4.B.1"], 2],
+            ["4.B.2. Land converted to cropland", ["4.B.2"], 2],
+            ["4.C. Grassland", ["4.C"], 1],
+            ["4.C.1. Grassland remaining grassland", ["4.C.1"], 2],
+            ["4.C.2. Land converted to grassland", ["4.C.2"], 2],
+            ["4.D. Wetlands (5)", ["4.D"], 1],
+            ["4.D.1. Wetlands remaining wetlands", ["4.D.1"], 2],
+            ["4.D.2. Land converted to wetlands", ["4.D.2"], 2],
+            ["4.E. Settlements", ["4.E"], 1],
+            ["4.E.1. Settlements remaining settlements", ["4.E.1"], 2],
+            ["4.E.2. Land converted to settlements", ["4.E.2"], 2],
+            ["4.F. Other land (6)", ["4.F"], 1],
+            ["4.F.1. Other land remaining other land", ["4.F.1"], 2],
+            ["4.F.2. Land converted to other land", ["4.F.2"], 2],
+            ["4.G. Harvested wood products (7)", ["4.G"], 1],
+            ["4.H. Other (please specify)", ["4.H"], 1],
             # coomented to find out where they come from
             # ["Land converted to Settlement", ["4.H.1"]],
-            ["\\C-FRA\\ Biogenic NMVOCs from managed forest", ["4.H.4"]],
-            ["\\C-FRA\\ Reservoir of Petit-Saut in French Guiana", ["4.H.5"]],
-            ["\\C-AUS-ECU\\ Aquaculture", ["4.H.10"]],
-            ["\\C-AUS-ECU\\ Seagrass", ["4.H.11"]],
+            ["\\C-GBR\\ 4.C. Grassland", ["4.H.3"], 2],
+            ["\\C-FRA\\ Biogenic NMVOCs from managed forest", ["4.H.4"], 2],
+            ["\\C-FRA\\ Reservoir of Petit-Saut in French Guiana", ["4.H.5"], 2],
+            ["\\C-AUS-ECU\\ Aquaculture", ["4.H.10"], 2],
+            ["\\C-AUS-ECU\\ Seagrass", ["4.H.11"], 2],
             [
                 "\\C-GUY-MDV-AZE-BTN-BRN-EGY-GNB-IDN-KEN-LBN-MYS-MUS-MAR-NAM-NGA-PAN-"
                 "URY-UZB\\ N2O emissions from aquaculture [IPCC Software 3.C.12]",
                 ["4.H.6"],
+                2,
             ],
             [
                 "\\C-GUY-MDV-AZE-BTN-EGY-GNB-IDN-KEN-LBN-MYS-MUS-MAR-NAM-NGA-PAN-URY-"
                 "UZB-\\ Other emissions from LULUCF [IPCC Software 3.D.2]",
                 ["4.H.9"],
+                2,
             ],
-            ["\\C-SGP-NZL-LTU\\ Other", ["4.H.9"]],
-            ["\\C-COL-HRV\\ 4.H. Other", ["4.H.9"]],
-            ["\\C-BRA\\ Total", ["4.H.9"]],
-            ["\\C-JPN\\ Concrete using Biochar", ["4.H.10"]],
-            ["\\C-CHN\\ Trees outside forests", ["4.H.11"]],
-            ["\\C-CHL\\ NA", ["\\IGNORE"]],
+            ["\\C-SGP-NZL-LTU\\ Other", ["4.H.9"], 2],
+            ["\\C-COL-HRV\\ 4.H. Other", ["4.H.9"], 2],
+            ["\\C-BRA\\ Total", ["4.H.9"], 2],
+            ["\\C-JPN\\ Concrete using Biochar", ["4.H.10"], 2],
+            ["\\C-CHN\\ Trees outside forests", ["4.H.11"], 2],
+            ["\\C-CHL\\ NA", ["\\IGNORE"], 2],
             # currently ignoring memo item
         ],
         "entity_mapping": {