-
Notifications
You must be signed in to change notification settings - Fork 28
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
Writing uniform provenance info in netdfs global attributes. #129
Conversation
@ceblanton |
Might it be better to include the full hostname? e.g. In almost every case it would make no difference, so I'm fine with the short name as is. |
What code does code_release_version = "19.0.1" refer to? fre-nctools tags are like v2.* |
@nikizadehgfdl, the No idea about the |
The code release version is to be set by the user compiling the code with autotools. I'm still working on the meaning of the grid-version, but there seems to be two types: B) check_mask app and the functions in tool_util.c use a variable named grid_vesion which can equal to one of three things. What it could mean may be given by this code :
and some logic is modified depending on which version it is. |
Thanks. My point was that where/which repo would I find the "19.0.1" tag? fre-nctools repo or fms repo? |
This PR creates print_provenance utility functions to uniformly (accross all NCTols apps using the functions) write as netcdf global attributes provenance and provenance related information.
A sample of the info is
The new functions are in /tools/libfrencutil/tool_util.c.
configure.ac was modified to place the git_hash info into the generated config.h file.
Numerous apps were modified to use the new functionality.