Browse Source

[DATALAD] Recorded changes

Daniel Busch 3 tuần trước cách đây
mục cha
commit
2d8e05a071

+ 1 - 1
extracted_data/v2024-11-14/FAOSTAT_Agrifood_system_emissions_v2024-11-14.csv

@@ -1 +1 @@
-../../.git/annex/objects/mm/76/MD5E-s8726203--b424bd0f2655a2cac2b8bee51ba8eae4.csv/MD5E-s8726203--b424bd0f2655a2cac2b8bee51ba8eae4.csv
+../../.git/annex/objects/5G/fW/MD5E-s10458235--62c6d808ca90338e6bff7e3b6dfa402a.csv/MD5E-s10458235--62c6d808ca90338e6bff7e3b6dfa402a.csv

+ 1 - 1
extracted_data/v2024-11-14/FAOSTAT_Agrifood_system_emissions_v2024-11-14.nc

@@ -1 +1 @@
-../../.git/annex/objects/47/7x/MD5E-s2671601--f83111ebc5ce1f2271495b1c7a8a8f9d.nc/MD5E-s2671601--f83111ebc5ce1f2271495b1c7a8a8f9d.nc
+../../.git/annex/objects/xj/QG/MD5E-s3288277--bc9454347dd91ba244c5b88e274f557a.nc/MD5E-s3288277--bc9454347dd91ba244c5b88e274f557a.nc

+ 10 - 3
tests/unit/test_conversion.py

@@ -60,7 +60,12 @@ def test_conversion_from_FAO_to_IPCC2006_PRIMAP():
                 "sources": ["3.C.1.a", "3.C.1.b", "3.C.1.c"],
             },
             "M.3.C.AG": {
-                "sources": ["3.C.1", "3.C.4", "3.C.5"],
+                "sources": [
+                    "3.C.1.b",
+                    "3.C.1.c",
+                    "3.C.4",
+                    "3.C.5",
+                ],  # savanna, cropland fires
             },
             "M.AG.ELV": {
                 "sources": ["M.3.C.AG"],  # "M.3.D.AG" is zero
@@ -120,8 +125,10 @@ def test_conversion_from_FAO_to_IPCC2006_PRIMAP():
             "M.AG": {"sources": ["3.A", "M.AG.ELV"]},
             # "M.3.D.LU": {"sources": ["3.D.1"]},
             # For LULUCF Forest Land, Cropland, Grassland, is all we have
-            "M.LULUCF": {"sources": ["3.B.1", "3.B.2", "3.B.3"]},
-            "M.AFOLU": {"sources": ["M.AG", "M.LULUCF"]},
+            "M.LULUCF": {
+                "sources": ["3.B.1", "3.B.2", "3.B.3", "3.C.1.a"]
+            },  # forest fires
+            "3": {"sources": ["M.AG", "M.LULUCF"]},
         }
     }