Computes more physical Inversion Flowlines from geometrical Centerlines

This interpolates the centerlines on a regular spacing (i.e. not the grid’s (i, j) indices. Cuts out the tail of the tributaries to make more realistic junctions. Also checks for low and negative slopes and corrects them by interpolation.

gdir : oggm.GlacierDirectory

where to write the data


Files writen to the glacier directory:
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.