Host and retrieve land cover data on/from Zenodo#16
Merged
koen-vg merged 2 commits intoJun 30, 2026
Merged
Conversation
The only CDS/ECMWF dependency was the satellite-land-cover download. The 2016+ C3S land-cover maps (baseline_year 2020) are CC-BY-4.0, so we now mirror the extracted lccs_class to Zenodo and fetch it with curl, removing the per-user Copernicus credential from all builds. - download_land_cover becomes a curl rule pulling the lccs_class file from the Zenodo record pinned by data.land_cover.zenodo_record (10.5281/ zenodo.21085632); extract_land_cover_class and the 2.2GB zip step are gone. - credentials gate now requires only usda (schema, secrets.py, secrets.yaml.example, solve_namespace validation stub, CI stubs). - add tools/zenodo_publish.py (reusable Zenodo REST publisher) and tools/mirror_land_cover.py (CDS download -> extract -> publish, with --no-publish review drafts and --publish-record finalize). The former download/extract scripts are kept as the library functions these import. - docs: data_sources.rst (CC-BY-4.0, Zenodo retrieval, redistributing- datasets section), introduction.rst, development.rst.
Drop references to the old Copernicus API-key requirement from config and docstring comments so they describe only the current Zenodo-mirror flow. The ecmwf-datastores-client is now used solely by tools/mirror_land_cover.py (run under the dev env), so move it out of the default build dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves ESA land cover data to Zenodo; avoids the need for new users to set up their own Copernicus API key.