-
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
Error in processing VAD winds. #617
Conversation
…FV3 DA (FV3LAMDA)
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'm good with the changes pending one very minor comment.
WCOSS2 ctests
The
The wall times for the updat (
This is not a fatal fail. Check the
While the number of kept observations decreases in updat, the number of assimilated observations is the same as contrl. This is consistent with the explanation of the bug and it's fix in this PR. |
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.
Looks good.
Hera ctests Regression tests were run on Hera earlier. The results appear to be essentially identical to those Russ ran on WCOSS. Even the same test failed for timing reasons. Also, I checked the nkeep values on Hera and they are again identical as would be expected. |
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.
Two peer reviewers have looked over changes and approved. WCOSS2 (Cactus) and Hera ctests pass with expected results.
Approve.
It was noted that a large number of observations were being eliminated by the setupw routine because there was no observation type. This observation type check was clearly added because of previous problems with this data.
It was found that there was an issue in the read_prepbufr routine because code for vad winds was added in the wrong location. This resulted in many lines containing only zeros to the output file.
The code for processing the vad was moved before the determination of the output line to fix the issue. It was necessary to move a few more lines to make everything work properly. Also one of the checks (there were multiple checks) for a zero observation type was removed from setupw. A check remains, but this condition should not occur unless another error is introduced.
This change results in the removal of many unrealistic observations from the output uv file from prepbufr (when vad winds are used). Because of the existing observation type check analysis results are unchanged.
NOTE: An additional change was made to allow the multiscale ensemble regional test I was using to work (both for the control and modified code). In constants.f90 and gsi_rfv3io_mod.f90 a change was made to allow longer file names to be used for the input ensemble files.
These changes address fixes #615
These changes have been tested using the regression tests and a single regional case that is using vad winds. All tests are passed with the only differences being in the output number of wind observation after distribution (the processors containing point 0,0 contained a lot of extra observations from the bug) and the output from the removal of the data by the observation type check.
Note because of the removal of many unrealistic observations in the processing, there appears to be a noticeable reduction in run time when vad winds are used.
Checklist
DUE DATE for this PR is 10/12/2023. If this PR is not merged into
develop
by this date, the PR will be closed and returned to the developer.