-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distribute2d: introduce only_allow_retreating flag #1719
Conversation
Hi, now that I see it, you can put these changes before the rolling_mean_smoothing, as some smoothing will make the animations look nicer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pat-schmitt feel free to merge when ready!
oggm/sandbox/distribute_2d.py
Outdated
mask], | ||
dim='time') | ||
if mask.any(): | ||
# for each increasing time-step use the future time-step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here it should read 'past time-step' and not 'future time-step'
Thanks @afisc! |
Small addition of an option to not allow sudden glacier (re-)growth in the
distribute_thickness_from_simulation
workflow. This allows for smoother animations, but keep in mind that this can change the area/thickness evolution of the glacier.whats-new.rst