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 for special accumulation case where MASSDEN 0h field ends in '_1' #247

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

cshartsough
Copy link
Collaborator

The MASSDEN field (measuring dust) has two variables, one for coarse and one for fine. For the initial hour, one field ends with '_avg' and one with '_avg_1'. For later hours they end in '_avg1h' and '_avg1h_1'.

The pygraf code recognizes the '_avg' and renames the field as needed, but doesn't recognize the '_avg_1' field as needing to be renamed. The error causes the graphics code to completely crash on hour=001.

This change treats the initlal-hour '_avg_1' field separately from the other code logic, and does the necessary renaming.

Tested in the RRFS_B realtime runs for twelve hours, seems to work as desired.

Passed pylint. Will do pytest on PR submission.

christinaholtNOAA and others added 6 commits November 14, 2024 08:34
Craig added changes that Christina made for new micromamba syntax in graphics_tests here as well.
more changes to hrrr_maps_tests from graphics_tests, missed in last commit
another change from the graphics_tests side that needed to be brought over to hrrr_maps_tests.
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.

2 participants