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

Update for g2_gribend.c #479

Closed
wants to merge 0 commits into from

Conversation

EricEngle-NOAA
Copy link
Contributor

This commit fixes a rare condition in which the last 4 bytes of a packed section 7 could equal "7777" which is the GRIB end of message terminating string and triggers an erroneous end of message status.

The added logic checks for "7777" at the end of cgrib under the condition that we have a valid GRIB message through seciton 7.

This commit references #438

@EricEngle-NOAA
Copy link
Contributor Author

Well that did go so well. Reworking...

@EricEngle-NOAA
Copy link
Contributor Author

EricEngle-NOAA commented Jan 31, 2024

@edwardhartnett I have come to the conclusion that this we will need more complex code changes to check for this. Let's delete this PR and table to fix for 1.10. Apologies for not making this a draft PR first.

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.

1 participant