-
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
Remove the use of average_* variables and use time_bnds variables instead #278
Conversation
FYI @ceblanton |
tested on GFDL work-station, using a NetCDF file from fre-python-tool's time-averager. exact function call to create averaged file: compared against output of old stored the header info from
this is the difference in metadata desired and described in issue 273 and issue 274. so, YAY! numerical results bitwise identical as well, can be seen by |
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.
all looks good to me
Let's confirm that timavg.csh chokes as we think it does and should if the time_bounds are missing. if timavg.csh hard fails when run on old/uncompliant history files (that don't have time_bounds) no one will end up with incorrect output, at least. |
This is what I get when I use a file that does not have the time_bounds:
|
Thanks for checking that. I'll merge and deploy into fre-nctools/test at GFDL now. |
Fixes #273
Fixes #274
I tried this using output from the old diag manager (which includes the average_* variables) and this updated reproduces the master branch.
I tried this using output from the new diag manager (which does not have the average_* variables). This update reproduces the output from the old diag manager.