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 minimas 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: - gdir :
oggm.GlacierDirectory
where to write the data
Notes
- Files writen to the glacier directory:
- downstream_line.pkl
- A dictionary containing the downsteam line geometry as well as the bed shape computed from a parabolic fit.
- gdir :