oggm.tasks.compute_downstream_bedshape

oggm.tasks.compute_downstream_bedshape#

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

The bedshape obtained by fitting a parabola to the line’s normals. Further a trapezoidal shape is fitted to match the cross section area of the valley. Which downstream shape (parabola or trapezoidal) is used by the later call to init_present_day_glacier can be selected with cfg.PARAMS[‘downstream_line_shape’].

Also computes the downstream’s altitude.

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.