oggm.tasks.terminus_width_correction(gdir, new_width=None)[source]

Sets a new value for the terminus width.

This can be useful for e.g. tidewater glaciers where we know the width and don’t like the OGGM one.

This task preserves the glacier area but will change the fit of the altitude-area distribution slightly.

Parameters: gdir : oggm.GlacierDirectory new_width : float the new width of the terminus (in meters)

Notes

Files writen to the glacier directory:
inversion_flowlines.pkl
A “better” version of the Centerlines, now on a regular spacing i.e., not on the gridded (i, j) indices. The tails of the tributaries are cut out to make more realistic junctions. They are now “1.5D” i.e., with a width.