Corrects for NaNs and inconsistencies in the geometrical widths.
Interpolates missing values, ensures consistency of the surface-area distribution AND with the geometrical area of the glacier polygon, avoiding errors due to gridded representation.
Updates the ‘inversion_flowlines’ save file.
gdir : oggm.GlacierDirectory
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.