RGI7 is the next version of the Randolph Glacier Inventory. See https://www.glims.org/rgi_user_guide for a full documentation.
Unlike previous versions of the RGI, RGI7 is subset of the GLIMS database. This repository contains the scripts that generate RGI7 out of GLIMS.
RGI7 is now published. Current work focusses on RGI7.1
Contributions and feedback welcome.
The preprocessing workflow downloads the GLIMS database into regional blocks, converts the GLIMS geometries to the RGI format, and prepares the outlines for the regional selection scripts.
Notebooks in the workflow/preprocessing folder:
- Step 1: Modify the RGI6 regions files for RGI7: small updates to the RGI6 region files
- Step 2: GLIMS region files download: Level 0 files: download ALL outlines from the GLIMS servers, per region
- Step 3: Convert GLIMS polygons to RGI polygons: Level 1 files: convert the polygons from the GLIMS to the RGI format
- Step 4: Select glaciers within region shapes and basic attributes: Level 2 files: a simple overlay to select only the relevant outlines for each region.
Regional notebooks scripts are in the workflow folder.
The RGI7 alpha files are available in https://cluster.klima.uni-bremen.de/~fmaussion/misc/rgi7_data/l3_rgi7a_tar.
They were reviewed by the community in 2023.
The postprocessing workflow cleans the files and adds attributes not available in the GLIMS database. The structure here is always the same for all regions, hence we wrote a template script and used papermill to apply it to all regions.
Notebooks in the workflow/postprocessing folder:
- Alpha to beta: compute glacier center point, assign subregions, assign RGI attributes names and types with rgi7_attributes_metadata.json, assign an RGI ID, assign UTM zone, add links to RGI6 (this includes a bug), extract the submission id information, compute the interesects, create the merged glacier complex product, and write everything out.
- beta0 to beta1: add the hypsometry data
- beta1 to beta2: add the centerline product
- recompute_links_after_release: fix the bug mentioned earlier.
The scripts for RGI7.1 are bein added in the v7.1 folder. The 7.1 workflow starts from RGI7.0's official files and makes its way from there.
Code: BSD3
Data (RGI): CC BY 4.0
