oggm.tasks.compute_downstream_line#

oggm.tasks.compute_downstream_line(gdir)[source]#

Computes the Flowline along the unglaciated downstream topography

The idea is simple: starting from the glacier tail, compute all the routes to all local minima found at the domain edge. The cheapest is “The One”.

The rest of the job (merging centerlines + downstream into one single glacier is realized by init_present_time_glacier()).

Parameters
gdiroggm.GlacierDirectory

where to write the data

Notes

Files written to the glacier directory:
downstream_line.pkl

A dictionary containing the downstream line geometry as well as the bed shape computed from a parabolic fit.