oggm.tasks.initialize_flowlines

oggm.tasks.initialize_flowlines(gdir, **kwargs)

Transforms the geometrical Centerlines in the more “physical” InversionFlowlines.

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.

Parameters:

gdir : oggm.GlacierDirectory

Returns:

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.