-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
r3.out.netcdf: Use current major version in history attribute #2342
Conversation
4c5697c
to
b358313
Compare
This is ready for review and would be good to get merged before v8.3 because it removes some outdated references to v7 in the code. The question is, is removing the GRASS GIS version number from the metadata desired? |
As it is actually |
It now uses I did not update the documentation, so the PR is removing the version number from there right now. I'm not sure how to make it simple to maintain while keeping it absolutely precise. I could also use |
6d8702f
to
7babe1f
Compare
You will need to clang-format this. |
r3.out.netcdf creates a netCDF file with attribute history which contains software. This drops the software version information.
e16e4c0
to
747fb1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
…2342) r3.out.netcdf creates a netCDF file with attribute history which contains software. This removes the hard-coded software version information and uses the current major version instead for the history text. It uses fairly general macros to encapsulate stringification to avoid complex code needed to use snprintf. The documentation contains the output, so the version should be there, but I removed it from the examples to avoid the need for updates (making the documentation little less precise).
…2342) r3.out.netcdf creates a netCDF file with attribute history which contains software. This removes the hard-coded software version information and uses the current major version instead for the history text. It uses fairly general macros to encapsulate stringification to avoid complex code needed to use snprintf. The documentation contains the output, so the version should be there, but I removed it from the examples to avoid the need for updates (making the documentation little less precise).
r3.out.netcdf creates a netCDF file with attribute history which contains software. This removes the hard-coded software version information and uses the current major version instead for the history text. It uses fairly general macros to encapsulate stringification to avoid complex code needed to use snprintf.
The documentation contains the output, so the version should be there, but I removed it from the examples to avoid the need for updates (making the documentation little less precise).