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

Change gbyte to g2_gbytec in cnvgrib #139

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Conversation

kgerheiser
Copy link
Contributor

gbyte comes from w3emc and operates on words, while g2_gbytec operates on individual bytes and is how cnvgrib passes arguments to the function. gbytec originally came from g2, but the name was changed to g2_gbytec, and w3emc happened to have the same function name, so no error was generated about a missing symbol. This function is only called when using an ensemble template, so it was never noticed.

Fix #138

gbyte comes from w3emc and operates on words, while g2_gbytec operates on individual bytes and is how cnvgrib passes arguments to the function. gbytec originally came from g2, but the name was changed to g2_gbytec, and w3emc happened to have the same function name, so no error was generated about a missing symbol. This function is only called when using an ensemble template, so it was never noticed.
@kgerheiser kgerheiser merged commit a8581fd into develop Mar 22, 2022
@kgerheiser kgerheiser deleted the bugfix/cnvgrib-gbyte branch March 22, 2022 21:04
@edwardhartnett
Copy link
Contributor

Awesome catch!

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.

cnvgrib should use g2_gbytec
3 participants