Skip to content

Conversation

@cghielmini
Copy link
Collaborator

This merge request aims to adapt the protest workflow to LETKF outputs.

Copy link

@clairemerker clairemerker left a 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)

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

out, err, tol = check_variable(diff_df, df_tol)
.
Please let me know if that doesn't make any sense in your opinion...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants