Skip to content
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

Modify mon_data_space.py to differenciate between data file types #174

Merged

Conversation

EdwardSafford-NOAA
Copy link
Contributor

Modify mon_data_space.py to correctly handle single dimension data files in both fortran and perl binary formats.

Not all binary files are created equal. All of the legacy DA monitor data is created by Fortran executables except for MinMon, which are created by perl scripts using binary pack format. The two file types cannot both be read correctly by f.read_reals(). This fix adds an attribute to distinguish between data extracted from gsistat files (MinMon) and all others.

This fix has been tested with RadMon data, both global and regional, and MinMon data. All tests pass.

Completes #173

Modify 1-d read to handle both fortran and perl binary files.
@CoryMartin-NOAA CoryMartin-NOAA merged commit 2dec89f into JCSDA-internal:develop Jan 12, 2024
5 checks passed
@EdwardSafford-NOAA EdwardSafford-NOAA deleted the bug/nam-173 branch March 11, 2024 14:23
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