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

Add 7777 test #668

Merged
merged 7 commits into from
May 12, 2024
Merged

Conversation

AlexanderRichert-NOAA
Copy link
Contributor

@AlexanderRichert-NOAA AlexanderRichert-NOAA commented May 10, 2024

This PR adds a unit test for getgb2p() based on the newly added RRFS t12z awips file. This is the file that we have been having problems with processing with tocgrib2, including the 7777 issue.

Currently, on my personal machine, the test fails with a segfault. Not too surprisingly, the segfault goes away if I comment out the lines where the '7777' octets are added in getgb2rp2(), once again pointing to issues with the indexing for some messages.

Related to #666

AlexanderRichert-NOAA and others added 2 commits May 10, 2024 12:06
Commented out do-loop so test will pass CI and can be merged before further work.
Copy link
Contributor

@edwardhartnett edwardhartnett left a comment

Choose a reason for hiding this comment

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

Awesome test, thanks. I will make some changes so it doesn't fail and merge it, then I'll take a look...

@edwardhartnett edwardhartnett merged commit b980e8f into NOAA-EMC:develop May 12, 2024
54 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.

2 participants