From b860ba322615bf8ce370205086aab20ccbaf86f4 Mon Sep 17 00:00:00 2001 From: Kuru S Date: Mon, 15 Jul 2024 19:24:23 +0000 Subject: [PATCH] oecd_landcover_pr added --- statvar_imports/oecd_data/landcover/README.md | 2 +- .../oced_landcover_metadata.csv | 0 .../LandCover_MetroPolitianCities - pvmap.csv | 15 +++++++++++++ .../landcover/pvmap/Land_Cover - pvmap.csv | 22 +++++++++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) rename statvar_imports/oecd_data/landcover/{testdata/sample_input => }/oced_landcover_metadata.csv (100%) create mode 100644 statvar_imports/oecd_data/landcover/pvmap/LandCover_MetroPolitianCities - pvmap.csv create mode 100644 statvar_imports/oecd_data/landcover/pvmap/Land_Cover - pvmap.csv diff --git a/statvar_imports/oecd_data/landcover/README.md b/statvar_imports/oecd_data/landcover/README.md index da69311683..9cd47529ab 100644 --- a/statvar_imports/oecd_data/landcover/README.md +++ b/statvar_imports/oecd_data/landcover/README.md @@ -15,7 +15,7 @@ Prerequisite: The below command must be run from a folder that contains stat_var_processor.py script file. -python3 stat_var_processor.py --existing_statvar_mcf=stat_vars.mcf --input_data='/data/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_data.csv' --pv_map='/data/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_pvmap.csv' --config='/data/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_metadata.csv' --output_path="/data/statvar_imports/oecd_data/landcover/testdata/sample_output/oecd_landcover" +python3 stat_var_processor.py --existing_statvar_mcf=stat_vars.mcf --input_data='/data/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_data.csv' --pv_map='/data/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_pvmap.csv' --config='/data/statvar_imports/oecd_data/landcover/oced_landcover_metadata.csv' --output_path="/data/statvar_imports/oecd_data/landcover/testdata/sample_output/oecd_landcover" diff --git a/statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_metadata.csv b/statvar_imports/oecd_data/landcover/oced_landcover_metadata.csv similarity index 100% rename from statvar_imports/oecd_data/landcover/testdata/sample_input/oced_landcover_metadata.csv rename to statvar_imports/oecd_data/landcover/oced_landcover_metadata.csv diff --git a/statvar_imports/oecd_data/landcover/pvmap/LandCover_MetroPolitianCities - pvmap.csv b/statvar_imports/oecd_data/landcover/pvmap/LandCover_MetroPolitianCities - pvmap.csv new file mode 100644 index 0000000000..571421a3f1 --- /dev/null +++ b/statvar_imports/oecd_data/landcover/pvmap/LandCover_MetroPolitianCities - pvmap.csv @@ -0,0 +1,15 @@ +key,p1,v1,p2,v2,p3,v3 +Place,observationAbout,{Data},populationType,LandCover,measuredProperty,landArea +Tree cover,landCoverType,TreeCover,,,, +Grassland,landCoverType,GrassLand,,,, +Sparse vegetation,landCoverType,SparseVegetation,,,, +Cropland,landCoverType,Cropland,,,, +Artificial surfaces,landCoverType,ArtificialSurfaces,,,, +Inland water,landCoverType,InlandWater,,,, +Shrubland,landCoverType,Shrubland,,,, +Bare area,landCoverType,BareArea,,,, +Wetland,landCoverType,Wetland,,,, +Year,observationDate,{Number},,,, +Value,value,{Number},,,, +Percentage,unit,Percent,measurementDenominator,landArea,, +Square kilometres,unit,SquareKilometer,#Multiply,1000,, \ No newline at end of file diff --git a/statvar_imports/oecd_data/landcover/pvmap/Land_Cover - pvmap.csv b/statvar_imports/oecd_data/landcover/pvmap/Land_Cover - pvmap.csv new file mode 100644 index 0000000000..94b095a778 --- /dev/null +++ b/statvar_imports/oecd_data/landcover/pvmap/Land_Cover - pvmap.csv @@ -0,0 +1,22 @@ +key,p1,v1,p2,v2,p3,v3 +COU,observationAbout,country/{Data},populationType,LandCover,measuredProperty,landArea +Square kilometers (000's),unit,SquareKilometer,#Multiply,1000,, +Percent of total country area,measurementDenominator,landArea,unit,Percent,, +Tree cover,landCoverType,TreeCover,,,, +Grassland,landCoverType,GrassLand,,,, +Sparse vegetation,landCoverType,SparseVegetation,,,, +Cropland,landCoverType,Cropland,,,, +Artificial surfaces,landCoverType,ArtificialSurfaces,,,, +Inland water,landCoverType,InlandWater,,,, +Shrubland,landCoverType,Shrubland,,,, +Bare area,landCoverType,BareArea,,,, +Wetland,landCoverType,Wetland,,,, +Year,observationDate,{Number},,,, +Value,value,{Number},,,, +G20,#ignore,ignore values,,,, +BRIICS,#ignore,ignore values,,,, +EU28,#ignore,ignore values,,,, +OECD,#ignore,ignore values,,,, +OECDE,#ignore,ignore values,,,, +OECDAO,#ignore,ignore values,,,, +OECDAM,#ignore,ignore values,,,, \ No newline at end of file