From 90ae582c8c39c47d578e93e48c04b113793cf63f Mon Sep 17 00:00:00 2001 From: maazingly Date: Mon, 3 Apr 2023 17:24:21 +0530 Subject: [PATCH 1/4] [Addition] IPCC_ClimateZoneMap_Vector Dataset --- .dvc/.gitignore | 3 +++ .dvc/config | 0 .dvcignore | 3 +++ IPCC_ClimateZoneMap_Vector.geojson.dvc | 4 ++++ IPCC_ClimateZoneMap_Vector.yaml.dvc | 4 ++++ 5 files changed, 14 insertions(+) create mode 100644 .dvc/.gitignore create mode 100644 .dvc/config create mode 100644 .dvcignore create mode 100644 IPCC_ClimateZoneMap_Vector.geojson.dvc create mode 100644 IPCC_ClimateZoneMap_Vector.yaml.dvc diff --git a/.dvc/.gitignore b/.dvc/.gitignore new file mode 100644 index 000000000..528f30c71 --- /dev/null +++ b/.dvc/.gitignore @@ -0,0 +1,3 @@ +/config.local +/tmp +/cache diff --git a/.dvc/config b/.dvc/config new file mode 100644 index 000000000..e69de29bb diff --git a/.dvcignore b/.dvcignore new file mode 100644 index 000000000..519730552 --- /dev/null +++ b/.dvcignore @@ -0,0 +1,3 @@ +# Add patterns of files dvc should ignore, which could improve +# the performance. Learn more at +# https://dvc.org/doc/user-guide/dvcignore diff --git a/IPCC_ClimateZoneMap_Vector.geojson.dvc b/IPCC_ClimateZoneMap_Vector.geojson.dvc new file mode 100644 index 000000000..43f750406 --- /dev/null +++ b/IPCC_ClimateZoneMap_Vector.geojson.dvc @@ -0,0 +1,4 @@ +outs: +- md5: 6f436ab4aa7ce7219a1603b4fa83687c + size: 13400448 + path: IPCC_ClimateZoneMap_Vector.geojson diff --git a/IPCC_ClimateZoneMap_Vector.yaml.dvc b/IPCC_ClimateZoneMap_Vector.yaml.dvc new file mode 100644 index 000000000..05e648b54 --- /dev/null +++ b/IPCC_ClimateZoneMap_Vector.yaml.dvc @@ -0,0 +1,4 @@ +outs: +- md5: 9f612a1e68d119851aea23dd56c78cab + size: 2918 + path: IPCC_ClimateZoneMap_Vector.yaml From bf17ceefdb9d71645f91088be52b380584d297d4 Mon Sep 17 00:00:00 2001 From: maazingly Date: Mon, 3 Apr 2023 17:27:50 +0530 Subject: [PATCH 2/4] Configuration Updates --- .dvc/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.dvc/config b/.dvc/config index e69de29bb..9564db38e 100644 --- a/.dvc/config +++ b/.dvc/config @@ -0,0 +1,4 @@ +[core] + remote = myremote +['remote "myremote"'] + url = gdrive://1RP6EcjyBWWDixiy0vIG35ceB6JnCK6NM From 81e945f2bf32db35770e86edad39b06952d23544 Mon Sep 17 00:00:00 2001 From: maazingly Date: Mon, 3 Apr 2023 17:39:38 +0530 Subject: [PATCH 3/4] Added Dataset Signed-off-by: maazingly --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..4a3e7b845 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/IPCC_ClimateZoneMap_Vector.geojson +/IPCC_ClimateZoneMap_Vector.yaml From 3e95d326c0119d17824e9f97ab1c54c84d7d3317 Mon Sep 17 00:00:00 2001 From: maazingly Date: Mon, 3 Apr 2023 17:54:52 +0530 Subject: [PATCH 4/4] [Addition] YAML File --- .gitignore | 1 - IPCC_ClimateZoneMap_Vector.yaml | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 IPCC_ClimateZoneMap_Vector.yaml diff --git a/.gitignore b/.gitignore index 4a3e7b845..761c66b3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /IPCC_ClimateZoneMap_Vector.geojson -/IPCC_ClimateZoneMap_Vector.yaml diff --git a/IPCC_ClimateZoneMap_Vector.yaml b/IPCC_ClimateZoneMap_Vector.yaml new file mode 100644 index 000000000..8c611f3b7 --- /dev/null +++ b/IPCC_ClimateZoneMap_Vector.yaml @@ -0,0 +1,51 @@ +IPCC Climate Zone Map + +Description: +The Climatic Zone layer is defined based on the classification of IPCC (IPCC, 2006). The zones are defined by a set of rules based on: + +- Annual mean daily temperature, +- Total annual precipitation, +- Total annual potential evapo-transpiration (PET) and elevation. +The classification presented as Figure 3A.5.1 Classification scheme for default climate regions” (IPCC, 2006) could not be accessed in electronic form and generated from an independently developed set of base data layers. Climatic information on temperature and precipitation was provided by the 5 arc min. dataset Version 1.4 from the WorldClim project (Hijmans et al., 2005). PET was computed according to the temperature-based formula investigated by Oudin et al. (2005) and used by Kay & Davis (2008). The computation of the extraterrestrial radiation was based on Duffie & Beckman (1991) and Allen et al. (1994). The formulas were supplemented by the information provided by the “Solar Radiation Basis” Web-page of the University of Oregon: http://solardat.uoregon.edu/SolarRadiationBasics.html. + +FLINT +This dataset has been checked/pre-processed and is suitable for use in FLINT. Please adhere to individual dataset licence conditions and citations. Processed data can be accessed here: Land Sector Datasets https://datasets.mojaglobal.workers.dev/ + +Format +Extent: Global coverage +Resolution: Raster 0.05-degree resolution (this can be resampled to any resolution) +File type: geotiff (.tif) and geojson (.json) +Cordinate system: EPSG:4326 (WGS84) +Year: 2006 +Size: 24MB + +Original source: +Downloaded from: https://esdac.jrc.ec.europa.eu/projects/RenewableEnergy/ Accessed 20/12/2020. +Raster .rst 0.0833333333333333 degree pixels + +Licence: +Creative Commons Attribution 4.0 International License + +Citation: +Intergovernmental Panel on Climate Change, (IPCC), (2006)., 2006 IPCC Guidelines for National Greenhouse Gas Inventories Volume 4: Agriculture, Forestry and Other Land Use. Available at: https://www.ipcc-nggip.iges.or.jp/public/2006gl/vol4.html + +Metadata: +More information: https://esdac.jrc.ec.europa.eu/projects/RenewableEnergy/ Value Class_name +1 Warm Temperate Moist +2 Warm Temperate Dry +3 Cool Temperate Moist +4 Cool Temperate Dry +5 Polar Moist +6 Polar Dry +7 Boreal Moist +8 Boreal Dry +9 Tropical Montane + +Processing: +Dataset converted to tiff, projection WGS84, and converted to vector (note Value and Class_name table above to matach codes. Code is provided below. + +# Convert from .rst to tif and apply WGS84 and resample to 0.005 +gdalwarp -t_srs EPSG:4326 -dstnodata 255.0 -tr 0.05 0.05 -r near -te -180.0 -90.0 180.0 90.0 -te_srs EPSG:4326 -of GTiff "C:/Data/CLIMATE_ZONE.rst" "C:/Data/IPCC_ClimateZoneMap.tif" + +# Convert to polygon +python3 -m gdal_polygonize C:/Data/tiff/IPCC_ClimateZoneMap.tif C:/Data/tiff/IPCC_ClimateZoneMap.geojson -b 1 -f "GeoJSON" IPCC_ClimateZoneMap CLASS_NAME \ No newline at end of file