Skip to content

Commit

Permalink
Download Copernicus Land Cover 2019, 100m
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Nov 11, 2024
1 parent 939d92c commit 210454e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions workflow/nature-ecosystems/land-cover.smk
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,38 @@ rule unzip_glob_cover_2009:
"""
unzip {input.zip_file} -d {output.unzip_dir}
"""

rule download_copernicus_global_dynamic_land_cover:
"""Copernicus Global Land Service: Land Cover 100m
Near real time epoch 2019 from the Collection 3 of annual, global 100m land cover maps.
Other available epochs: 2015 2016 2017 2018
Produced by the global component of the Copernicus Land Service, derived from PROBA-V satellite observations and ancillary datasets.
The maps include:
- a main discrete classification with 23 classes aligned with UN-FAO's Land Cover Classification System,
- a set of versatile cover fractions: percentage (%) of ground cover for the 10 main classes
- a forest type layer
- quality layers on input data density and on the confidence of the detected land cover change
Marcel Buchhorn, Bruno Smets, Luc Bertels, Bert De Roo, Myroslava Lesiv,
Nandin-Erdene Tsendbazar, Martin Herold, & Steffen Fritz. (2020). Copernicus
Global Land Service: Land Cover 100m: collection 3: epoch 2019: Globe
(V3.0.1) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.3939050
"""
output:
links="{OUTPUT_DIR}/input/land_cover/copernicus_global_dynamic_land_cover/links.txt",
crop_tif="{OUTPUT_DIR}/input/land_cover/copernicus_global_dynamic_land_cover/PROBAV_LC100_global_v3.0.1_2019-nrt_Crops-CoverFraction-layer_EPSG-4326.tif",
tree_tif="{OUTPUT_DIR}/input/land_cover/copernicus_global_dynamic_land_cover/PROBAV_LC100_global_v3.0.1_2019-nrt_Tree-CoverFraction-layer_EPSG-4326.tif",
built_tif="{OUTPUT_DIR}/input/land_cover/copernicus_global_dynamic_land_cover/PROBAV_LC100_global_v3.0.1_2019-nrt_BuiltUp-CoverFraction-layer_EPSG-4326.tif",
shell:
"""
pushd $(dirname {output.links})
zenodo_get -w links.txt --record=3939050
wget -nc -i links.txt
md5sum -c md5sums.txt
popd
"""

0 comments on commit 210454e

Please sign in to comment.