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 4 problems in mon_data_space and map-scatter plots #206

Conversation

EdwardSafford-NOAA
Copy link
Contributor

This PR fixes these problems:

  1. mon_data_space.py now adds empty lat and lon values for each level when the requested data file is not found. A value of 1 was used heretofore, which somehow worked. It does not work with code built on Rocky8 though, hence this change.
  2. emcpy_map_scatter.py now removes 'level' from the plot object -- emcpy doesn't recognize level and fails if it's in the plot object's configuration. How this ever worked is not clear to me, but it does with this change.
  3. dynamic_config.py now has a check on the data before it tries to sort the data. Without this check when there was no data an exception resulted.
  4. map_scatter.py now includes level when selecting the specific data for a plot. Without this change only plots with a single level worked; all others had a dimension mismatch and resulting exception in the color bar generation. This one was totally my fault -- I installed a similar fix in line_plot.py months ago and asked myself if I needed to change any other plots? Nah, don't think so. Ooops.

Close #205

@CoryMartin-NOAA CoryMartin-NOAA merged commit 008d04a into JCSDA-internal:develop Aug 5, 2024
5 checks passed
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.

[Bug] Fix several errors in map_scatter and associated data
2 participants