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

Fix level bugs, part 2Ref #180 #181

Merged

Conversation

EdwardSafford-NOAA
Copy link
Contributor

This PR fixes (fingers crossed) the level bug in mon_data_space.py. These recent bugs all stem from the inconsistent logic in the legacy control files (which describe the structure of the binary station and data files). Initially I had (naïvely) assumed that if any of the three defined dimensions (xdef, ydef, zdef) were 1 then it could be ignored. That is not true, since we want to iterate on Level, and that can legitimately be dimension 1 (surface pressure, most ozone time series). This release corrects that and adds more in-line notes so I'll have a better/faster handle on this if/when I need to revisit it.

Testing has been done with the oznTime plots (from which I encountered the problem, as well as conventional, radiance, and minmon plots to try to test all cases.

Resolves #180 .

Fix level bug, part 2.
Copy link
Collaborator

@CoryMartin-NOAA CoryMartin-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks!

@CoryMartin-NOAA CoryMartin-NOAA merged commit 455c377 into JCSDA-internal:develop Mar 8, 2024
5 checks passed
@EdwardSafford-NOAA EdwardSafford-NOAA deleted the bug/level-180 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.

mon_data_space.py doesn't handle single levels correctly[Bug]
2 participants