-
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
file suffix
functionality on model tasks to allow more sensitivity experiments across the oggm workflow
#1677
Comments
Yes, adding filesuffix to all tasks is not so much of a problem. But for sensitivity studies of the whole workflow we also need to think of how to store the calibrated parameters (dynamics and mass-balance). For mass-balance we can save different And for the dynamic parameters, we could add glen_a and fs as values to the inversions flowline object, and pass these values on to the final dynamic flowline objects (adding two new attributes). Then we can add an option to the run_tasks if we want to use the 'flowline-dynamic parameters' or use the values from params.cfg for the run. And the user is responsible for using the right mass-balance parameters together with the right dynamic parameters, or we add some tests to check that both use the same filesuffix and raise an error which can be suppressed if wanted. This would mean quite some changes in the oggm code base. |
I have some code to do that - I'll get back to this issue soon. |
related: #1678 |
Can we define a use case for this? I.e. a workflow that we could write as a tutorial, and address the problem at the same time (this would help the development). For example, I just wrote https://oggm.org/tutorials/master/notebooks/tutorials/massbalance_perturbation.html (still in construction) which originated after a specific experiment was asked for a project. Right now we just shuffle parameters without calibrating, which is fairly easier (although both should be possible). I really like the Perhaps a brainstorming while Im in Edinburgh could be useful. |
Link to issue with workflow tutorial with different climate data sets OGGM/tutorials#113
Seems like you can set a suffix for certain tasks but that functionality is not carry out in upper level tasks e.g.
we have a file suffix here:
mass_conservation_inversion(gdir, glen_a=None, fs=None, write=True,filesuffix='', water_level=None,t_lambda=None)
But that passing argument does not follow to theinversion_tasks(gdirs, glen_a=None, fs=None, filter_inversion_output=True,add_to_log_file=True)
. Maybe this can be done but is not clear from the docs or the code.The text was updated successfully, but these errors were encountered: