Skip to content

Commit e24c5eb

Browse files
authored
Add rgi7 to prepro (#1736)
* Add rgi7 to prepro * whats new
1 parent 11e64ed commit e24c5eb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/whats-new.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Enhancements
6666
instead of glacier-per-glacier values. This is useful to trick
6767
RGI7 into being calibrated or other things (:pull:`1692`).
6868
By `Fabien Maussion <https://github.com/fmaussion>`_
69+
- Added the rgi7g_to_complex task which adds a mask of glacier
70+
entities in the glacier complex glacier dirs (:pull:`1736`).
71+
By `Fabien Maussion <https://github.com/fmaussion>`_
6972

7073
Bug fixes
7174
~~~~~~~~~

oggm/cli/prepro_levels.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,9 @@ def _time_log():
484484
if add_glathida:
485485
from oggm.shop.glathida import glathida_to_gdir
486486
workflow.execute_entity_task(glathida_to_gdir, gdirs)
487+
if rgi_version == '70C':
488+
# Some additional data for the 70C glaciers
489+
workflow.execute_entity_task(tasks.rgi7g_to_complex, gdirs)
487490

488491
if bin_variables and gdirs_band:
489492
workflow.execute_entity_task(tasks.elevation_band_flowline,

0 commit comments

Comments
 (0)