oggm.tasks.filter_inversion_output

oggm.tasks.filter_inversion_output(gdir)[source]

Filters the last few grid point whilst conserving total volume.

The last few grid points sometimes are noisy or can have a negative slope. This function filters them while conserving the total volume.

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.