-
Notifications
You must be signed in to change notification settings - Fork 8
Adapt probtest workflow to LETKF outputs #83
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
base: main
Are you sure you want to change the base?
Conversation
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.
Thanks a lot for this PR! :)
I have a broader question regarding the logic we are trying to implement for fof_compare, please have a look at https://github.com/MeteoSwiss/probtest/pull/83/changes#r2676392953 before looking at my other comments. Maybe we can discuss, I am not sure I am remembering what we decided correctly, and I might be confused here...
| (ds_obs1_sorted, ds_obs2_sorted), | ||
| ]: | ||
| t, e = compare_var_and_attr_ds(ds1, ds2, nl, output, location) | ||
| t, e = compare_var_and_attr_ds(ds1, ds2, nl, output, location, tol) |
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.
I have a question here. What is the difference between this code block and what happens in check_multiple_solutions_from_dict(). Can't we reuse this function here?
The main difference with the current PR is that tol=0 in check_multiple_solutions_from_dict(), and this made me think about the fof_compare implementation: don't we want more or less the same check happening in buildbot than when running fof_compare? So tolerances for veri_data, not the rest? Or am I confused here, this could very well be because we might have discussed multiple options... But I somehow expected the tolerance variable to be used for check_variable and veri_data, so that basically check_multiple_solutions_from_dict() could be uses as it, and then this line used
probtest/util/dataframe_ops.py
Line 379 in 43344d3
| out, err, tol = check_variable(diff_df, df_tol) |
Please let me know if that doesn't make any sense in your opinion...
This merge request aims to adapt the protest workflow to LETKF outputs.