prepare_for_inversion(gdir, add_debug_var=False, invert_with_rectangular=True, invert_all_rectangular=False)¶
Prepares the data needed for the inversion.
Mostly the mass flux and slope angle, the rest (width, height) was already computed. It is then stored in a list of dicts in order to be faster.
the glacier directory to process
- Files writen to the glacier directory:
List of dicts containing the data needed for the inversion.