Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The ObsProc upgraded from version 1.1 to version 1.2, in which the high-resolution radiosonde observations are included.
The radiosonde data from ObsProcv1.2 stored in GSI diagnostic files, in some cases, have multiple observations in the same location/time, and these observations often contain bad data (e.g., temperature > 500K or temperature < 50K).
These duplicate observations and bad data caused WDQMS processing to fail. This PR improves the handling of these obscure cases.
Example of duplicate data with bad values for temperature:
Resolves issues described in this PR
Notes: No GitHub issue opened because I do not have permission to open an issue in this repository
Type of change
Change characteristics
How has this been tested?
Using stand-alone WDQMS processing with input from current operational diagnostic files (from ObsProcv1.2)
Cycled tested:
2022050800Z - 2024052206Z using diagnostics files from NCO parallele run for ObsProc1.2 upgrade
2024052212Z -2024052818Z using diagnostic files from Operational GFS (with ObsProc1.2)
All three required output files (TEMP, MARINE, and SYNOP) were generated for each cycle with valid header and content.
Checklist