oggm.tasks.filter_inversion_output(gdir)[source]

Filters the last few grid points after the physically-based inversion.

For various reasons (but mostly: the equilibrium assumption), the last few grid points on a glacier flowline are often noisy and create unphysical depressions. Here we try to correct for that. It is not volume conserving, but area conserving.

Parameters: gdir : oggm.GlacierDirectory the glacier directory to process

Notes

Files writen to the glacier directory:
inversion_output.pkl
List of dicts containing the output data from the inversion.