OGGM / tutorials

Notebook tutorials for the Open Global Glacier Model (OGGM)
https://tutorials.oggm.org
BSD 3-Clause "New" or "Revised" License
17 stars 18 forks source link

Add merge_gridded_data to tutorials #118

Open pat-schmitt opened 6 months ago

pat-schmitt commented 6 months ago

Add an explanation of merge_gridded_data somewhere in the tutorials, I am not sure at the moment at which place.

Adapt distribute_flowline tutorial:

bearecinos commented 4 months ago

Hey @pat-schmitt I found another issue with the tutorials ... in distribute_thickness_from_simulation you assume that add_smoothed_glacier_topo and assign_points_to_band have been run before that task but the tutorials do not reflect that.

 # This is to add a new topography to the file (smoothed differently)
workflow.execute_entity_task(distribute_2d.add_smoothed_glacier_topo, gdirs)
# This is to get the bed map at the start of the simulation
workflow.execute_entity_task(tasks.distribute_thickness_per_altitude, gdirs)
# This is to prepare the glacier directory for the interpolation (needs to be done only once)
workflow.execute_entity_task(distribute_2d.assign_points_to_band, gdirs);

Maybe modify the order above in the notebook. Took me a bit to work it out.