Bläddra i källkod

fix in code for KOR Inventory 2021

Johannes Gütschow 3 år sedan
förälder
incheckning
650f037f97

+ 2 - 2
code/UNFCCC_reader/Republic_of_Korea/read_KOR_2021-Inventory_from_xlsx.py

@@ -14,8 +14,8 @@ from primap2.pm2io._data_reading import filter_data
 # configuration
 # ###
 
-input_folder = Path('..') / '..' / '..' / 'downloaded_data' / 'non-UNFCCC' / 'Republic_of_Korea' / '2021_Inventory'
-output_folder = Path('..') / '..' / '..' / 'extracted_data' / 'Republic_of_Korea'
+input_folder = Path('..') / '..' / '..' / 'downloaded_data' / 'non-UNFCCC' / 'Republic_of_Korea' / '2021-Inventory'
+output_folder = Path('..') / '..' / '..' / 'extracted_data' / 'non-UNFCCC' / 'Republic_of_Korea'
 
 output_filename = 'KOR_INV2021_2021_'
 

+ 1 - 0
extracted_data/non-UNFCCC/Republic_of_Korea/KOR_INV2021_2021_IPCC1996_KOR_INV.csv

@@ -0,0 +1 @@
+../../../.git/annex/objects/Vp/vG/MD5E-s248772--158e90dcea714f08173bea973703c5f6.csv/MD5E-s248772--158e90dcea714f08173bea973703c5f6.csv

+ 1 - 0
extracted_data/non-UNFCCC/Republic_of_Korea/KOR_INV2021_2021_IPCC1996_KOR_INV.nc

@@ -0,0 +1 @@
+../../../.git/annex/objects/Gv/gj/MD5E-s144830--2be659f487186e5d2bba86eb0fa1b973.nc/MD5E-s144830--2be659f487186e5d2bba86eb0fa1b973.nc

+ 25 - 0
extracted_data/non-UNFCCC/Republic_of_Korea/KOR_INV2021_2021_IPCC1996_KOR_INV.yaml

@@ -0,0 +1,25 @@
+attrs:
+  references: http://www.gir.go.kr/home/file/readDownloadFile.do?fileId=5240&fileSeq=1
+  rights: ''
+  contact: mail@johannes-guetschow.de
+  title: 'Republic of Korea: National Greenhouse Gas Inventory Report 2021'
+  comment: Read fom xlsx file by Johannes Gütschow
+  institution: Republic of Korea, Ministry of Environment, Greenhouse Gas Inventory
+    and Research Center
+  cat: category (IPCC1996_KOR_INV)
+  area: area (ISO3)
+  scen: scenario (PRIMAP)
+time_format: '%Y'
+dimensions:
+  '*':
+  - source
+  - scenario (PRIMAP)
+  - provenance
+  - area (ISO3)
+  - entity
+  - unit
+  - category (IPCC1996_KOR_INV)
+additional_coordinates:
+  orig_cat_name: category (IPCC1996_KOR_INV)
+  cat_name_translation: category (IPCC1996_KOR_INV)
+data_file: KOR_INV2021_2021_IPCC1996_KOR_INV.csv

+ 3 - 0
extracted_data/non-UNFCCC/folder_mapping.json

@@ -0,0 +1,3 @@
+{
+    "KOR": "Republic_of_Korea"
+}