From 48bd6aa2021342e6ea70afda93573a520e056b50 Mon Sep 17 00:00:00 2001 From: elpamart Date: Wed, 9 Aug 2023 17:52:35 +0200 Subject: [PATCH] add checksums --- data/h3_data_importer/data_checksums/natural_crop_conversion | 1 + data/preprocessing/natural_crop_conversion/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 data/h3_data_importer/data_checksums/natural_crop_conversion diff --git a/data/h3_data_importer/data_checksums/natural_crop_conversion b/data/h3_data_importer/data_checksums/natural_crop_conversion new file mode 100644 index 000000000..cdbca4e50 --- /dev/null +++ b/data/h3_data_importer/data_checksums/natural_crop_conversion @@ -0,0 +1 @@ +3be9066179d95ea0d9809d64ef56562ed07dc6393cb478a6add2ff4429310e4a natural_crop_conversion_by_human_lu_2022_10km.tif diff --git a/data/preprocessing/natural_crop_conversion/Makefile b/data/preprocessing/natural_crop_conversion/Makefile index 24dff714a..e98aa469e 100644 --- a/data/preprocessing/natural_crop_conversion/Makefile +++ b/data/preprocessing/natural_crop_conversion/Makefile @@ -1,5 +1,5 @@ # Variables -data_dir=data +data_dir=./data/ resampling_resolution="0.083333" checksums_dir=../../../h3_data_importer/data_checksums @@ -9,6 +9,7 @@ checksums_dir=../../../h3_data_importer/data_checksums all: download-natural-crop-conversion resample_natural_crop_conversion upload_results write_checksum download-natural-crop-conversion: + mkdir -p $(data_dir) gsutil -m cp \ "gs://landgriffon-gee-bucket/deforestation/natural_crop_conversion_by_human_lu_2022_1000m.tif" \ $(data_dir)