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.
where to write the data
- Files written 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.