You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the fixed-geometry-spinup the volume in the past can become negative. Probably, this is only a problem for small glaciers but can be easily overseen when aggregating the results of multiple glaciers.
Unfortunately I think that for mass-conservation it is necessary to keep it like that (especially for hydro, yes).
This is unfortunate, but I don't think there is a better solution. For non-hydro applications it's probably best to not have negative volumes, maybe people should be informed to clip the data beforehand
When using the fixed-geometry-spinup the volume in the past can become negative. Probably, this is only a problem for small glaciers but can be easily overseen when aggregating the results of multiple glaciers.
I would suggest clipping the value of the volume to zero after the calculation here https://github.com/OGGM/oggm/blob/master/oggm/core/flowline.py#L1266. Not sure if this leads to unwanted site-effects with
run_with_hydro
, but I don't think so.I created the figure with:
The text was updated successfully, but these errors were encountered: