Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Testing
CF allows to set bounds attribute. MET override the time data (for accumulation) from the associated bounds variable (by "bounds" attribute) instead of the time variable.
Found the 1 second off (valid time: 20190601_145959 should be valid time: 20190601_150000) by the precision error during testing. It's fixed
The test input file is located at dakota:/d1/projects/MET/MET_test_data/unit_test/model_data/nccf/gpm_2019060103_2019060203.nc
The command to test:
Do these changes include sufficient documentation and testing updates? [No]
Will this PR result in changes to the test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
The bug was fixed, so time of hh:59:59 or hh:00:01 will be fixed to hh:00:00 or (hh+1):00:01. I'm not sure if unit tests have this case.
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s), Project(s), and Milestone
Command to test:
Before:
After (valid time, init time, & accum time are changed)