Johannes Gütschow пре 7 месеци
родитељ
комит
639795395b

+ 6 - 0
docs/source/api/unfccc_ghg_data.unfccc_reader.United_Kingdom.config_uk_inv2024.rst

@@ -0,0 +1,6 @@
+unfccc\_ghg\_data.unfccc\_reader.United\_Kingdom.config\_uk\_inv2024
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. automodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom.config_uk_inv2024
+
+.. currentmodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom.config_uk_inv2024

+ 6 - 0
docs/source/api/unfccc_ghg_data.unfccc_reader.United_Kingdom.read_GBR_2024_Inventory_from_xlsx.rst

@@ -0,0 +1,6 @@
+unfccc\_ghg\_data.unfccc\_reader.United\_Kingdom.read\_GBR\_2024\_Inventory\_from\_xlsx
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. automodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom.read_GBR_2024_Inventory_from_xlsx
+
+.. currentmodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom.read_GBR_2024_Inventory_from_xlsx

+ 13 - 0
docs/source/api/unfccc_ghg_data.unfccc_reader.United_Kingdom.rst

@@ -0,0 +1,13 @@
+unfccc\_ghg\_data.unfccc\_reader.United\_Kingdom
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. automodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom
+
+.. currentmodule:: unfccc_ghg_data.unfccc_reader.United_Kingdom
+
+
+.. autosummary::
+  :toctree: ./
+
+  unfccc_ghg_data.unfccc_reader.United_Kingdom.config_uk_inv2024
+  unfccc_ghg_data.unfccc_reader.United_Kingdom.read_GBR_2024_Inventory_from_xlsx

+ 1 - 0
docs/source/api/unfccc_ghg_data.unfccc_reader.rst

@@ -31,5 +31,6 @@ unfccc\_ghg\_data.unfccc\_reader
   unfccc_ghg_data.unfccc_reader.Taiwan
   unfccc_ghg_data.unfccc_reader.Thailand
   unfccc_ghg_data.unfccc_reader.United_Arab_Emirates
+  unfccc_ghg_data.unfccc_reader.United_Kingdom
   unfccc_ghg_data.unfccc_reader.get_submissions_info
   unfccc_ghg_data.unfccc_reader.read_UNFCCC_submission

+ 1 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_CRF2013_2023.csv

@@ -0,0 +1 @@
+../../../.git/annex/objects/0z/Z5/MD5E-s172823--eb90aa666d356ee042cb6fd5a0cbdc83.csv/MD5E-s172823--eb90aa666d356ee042cb6fd5a0cbdc83.csv

+ 1 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_CRF2013_2023.nc

@@ -0,0 +1 @@
+../../../.git/annex/objects/KQ/WV/MD5E-s124043--373eee21639db07acfaf2e7dc5c4c256.nc/MD5E-s124043--373eee21639db07acfaf2e7dc5c4c256.nc

+ 22 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_CRF2013_2023.yaml

@@ -0,0 +1,22 @@
+attrs:
+  references: https://naei.beis.gov.uk/reports/reports?report_id=1140
+  rights: ''
+  contact: mail@johannes-guetschow.de
+  title: Devolved Administration GHG Inventory 1990-2022
+  comment: Read fom xlsx file by Johannes Gütschow
+  institution: National Atmospheric Emissions Inventory (United Kingdom)
+  cat: category (CRF2013_2023)
+  area: area (ISO3)
+  scen: scenario (PRIMAP)
+time_format: '%Y'
+dimensions:
+  '*':
+  - time
+  - source
+  - area (ISO3)
+  - provenance
+  - category (CRF2013_2023)
+  - scenario (PRIMAP)
+  - entity
+  - unit
+data_file: GBR_2024-Inventory_CRF2013_2023.csv

+ 1 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_IPCC2006_PRIMAP.csv

@@ -0,0 +1 @@
+../../../.git/annex/objects/kJ/xW/MD5E-s1019513--a0065c926c456f319e1562ea49a0fd90.csv/MD5E-s1019513--a0065c926c456f319e1562ea49a0fd90.csv

+ 1 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_IPCC2006_PRIMAP.nc

@@ -0,0 +1 @@
+../../../.git/annex/objects/2z/ff/MD5E-s492947--0ab97e850f31fa6bf031f241dc59e836.nc/MD5E-s492947--0ab97e850f31fa6bf031f241dc59e836.nc

+ 24 - 0
extracted_data/non-UNFCCC/United_Kingdom/GBR_2024-Inventory_IPCC2006_PRIMAP.yaml

@@ -0,0 +1,24 @@
+attrs:
+  references: https://naei.beis.gov.uk/reports/reports?report_id=1140
+  rights: ''
+  contact: mail@johannes-guetschow.de
+  title: Devolved Administration GHG Inventory 1990-2022 Processed on 2024-07-31
+  comment: Read fom xlsx file by Johannes Gütschow Processed on 2024-07-31
+  institution: National Atmospheric Emissions Inventory (United Kingdom)
+  cat: category (IPCC2006_PRIMAP)
+  area: area (ISO3)
+  scen: scenario (PRIMAP)
+  entity: PFCS
+  gwp_context: AR6GWP100
+time_format: '%Y'
+dimensions:
+  '*':
+  - time
+  - source
+  - area (ISO3)
+  - provenance
+  - category (IPCC2006_PRIMAP)
+  - scenario (PRIMAP)
+  - entity
+  - unit
+data_file: GBR_2024-Inventory_IPCC2006_PRIMAP.csv

+ 7 - 7
src/unfccc_ghg_data/unfccc_reader/United_Kingdom/read_GBR_2024_Inventory_from_xlsx.py

@@ -10,7 +10,13 @@ from several species to one.
 """
 import pandas as pd
 import primap2 as pm2
-from config_uk_inv2024 import (
+
+from unfccc_ghg_data.helper import (
+    downloaded_data_path,
+    extracted_data_path,
+    process_data_for_country,
+)
+from unfccc_ghg_data.unfccc_reader.United_Kingdom.config_uk_inv2024 import (
     basket_copy,
     cat_conversion,
     cols_to_drop,
@@ -25,12 +31,6 @@ from config_uk_inv2024 import (
     time_format,
 )
 
-from unfccc_ghg_data.helper import (
-    downloaded_data_path,
-    extracted_data_path,
-    process_data_for_country,
-)
-
 if __name__ == "__main__":
     pd.set_option("future.no_silent_downcasting", True)