-
Notifications
You must be signed in to change notification settings - Fork 160
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
Bugfix in EnKF assim of conventional q obs #545
Bugfix in EnKF assim of conventional q obs #545
Conversation
@ClaraDraper-NOAA , who do you recommend as reviewers for this PR? |
perhaps @jswhit and @CoryMartin-NOAA? |
@RussTreadon-NOAA I'll take the lead on this one |
Thank you @CoryMartin-NOAA . |
This looks good to me - it's an important bug fix that should be merged ASAP |
While I'm not supposed to act as a peer reviewer, it's important to get this bug fix into |
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.
Change is straightforward and fixes a bug.
Thanks all. If you run any tests on the impact of this bug, can you please share the results with me? I've also noticed an inconsistency in the way that the EnKF and Var are treating updates to q from T obs. I'll look into whether this has much impact soon. |
I plan to setup regression tests soon to see if the results change there. |
The results are in:
Unsurprisingly, this alters the results of the EnKF regression test. @RussTreadon-NOAA what is our process for updating this? Do I need to first make sure the changes are expected and then pass the updated files to you somehow? |
@CoryMartin-NOAA , GSI ctests currently do not have reference tests results against which PR results are compared. Instead, we are still using the old GSI ctest approach of running a control (usually I checked
This is an accurate message. The change to Comparison of the update and control
Based on what I see the differences look acceptable. |
Given the results of the regression tests have acceptable and expected differences, I am approving this bugfix. If no objections from the other code managers, we can merge this in soon. |
I'm fine with merging. I don't think this one routine change will cause many, if any, conflicts with existing PRs. |
**Description** Added code to divide hx_modens by qsat, for consistency with treatment of q as q/qsat. Fixes issue NOAA-EMC#544
Description
Added code to divide hx_modens by qsat, for consistency with treatment of q as q/qsat.
Fixes issue #544
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I created a test case, in which I assimilated a single sonde flight. Without this bugfix, assimilating conventional q obs from the sonde with the EnKF results in insignificant q increments. With the fix, the q increments match what I'd expect (based on approximating the increments offline, from the diag file and ensemble background). I also ran the enkf assimilation of all standard obs (sats and conventional), with and without the bugfix to test the magnitude of it's impact. The impact is substantial over land (where conventional obs are present). Details:
https://drive.google.com/file/d/19TRrygaR5g2iJ2xMmthfHzxrCCf61TeR/view?usp=sharing
Checklist
The tests will not pass, since the output from assimilating conventional q has been changed.