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 open error of NetCDF #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

tenomoto
Copy link

Calls to utScan() from compare_units() in src/gasdf.c cause errors due to an incorrect truncation.
I experienced errors with udunits2 and segmentation faults with udunits.

For example, the length of "hours since" is 11 and that of temp_str (starting from " since" with a leading white space is 6.
trunc_units should be terminated at the white space between "hours" and "since", which is 5.
Therefore adding 1 add an extra white space to trunc_units.

In addition, I edited configure to remove version string from png and respect CPPFLAGS and LDFLAGS in finding wgrib2.

@j-m-adams
Copy link
Owner

Thank you, tenomoto, for your comments. I have just committed some changes for version 2.2.3. Please check if your issues are still relevant.

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