- oggm.tasks.apparent_mb_from_linear_mb(gdir, mb_gradient=3.0, ela_h=None)¶
Compute apparent mb from a linear mass balance assumption (for testing).
This is for testing currently, but could be used as alternative method for the inversion quite easily.
the glacier directory to process
- 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.
When using a linear mass balance for the inversion, this dict stores the optimal ela_h and grad.