Closed diodon closed 4 years ago
Merging #99 into master will not change coverage by
%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #99 +/- ##
=======================================
Coverage 54.78% 54.78%
=======================================
Files 9 9
Lines 1150 1150
Branches 167 167
=======================================
Hits 630 630
Misses 493 493
Partials 27 27
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update fef2508...fef2508. Read the comment docs.
The code does not shift the TIME according to seconds_to_middle. However, the portions of the code that do this are commented in case we want to go back and use this approach
@ocehugo If you have a bit of time today, please take a quick look at this & merge unless you find anything really broken. You only really need to look at the last 9 commits (starting with https://github.com/aodn/python-aodntools/pull/99/commits/bd151bce480eec61bb0b76f16b5f4cd103b7fd4a), as the rest were done by @diodon and reviewed by me.
Note the Travis tests are failing due to https://github.com/aodn/issues/issues/692, but a fix is almost ready.
@mhidas - I'm leaving to you to merge of just a single thing - there a change on the time resampling (forward shifting instead of backward) that I assumed was further checked?
Thanks @ocehugo. I will update that commit, fix the merge conflicts (due to version numbers changing after the other PR was merged) and merge.
This code aggregates the flattened velocity variables binned into one hour time intervals. It checks for the presence of seconds_to_middle_of_measurement and lags forward the timestamp. Here is a sample file aggregating 20 deployments from NRSDAR