Skip to content

Fix centering of hourly interval - #153

Merged
leonardolaiolo merged 3 commits into
masterfrom
fix_hourly_interval
May 16, 2022
Merged

Fix centering of hourly interval#153
leonardolaiolo merged 3 commits into
masterfrom
fix_hourly_interval

Conversation

@mhidas

@mhidasmhidas commented Apr 28, 2022

Copy link
Copy Markdown
Contributor

The averaging intervals for the hourly product were not actually centered on the hour (as specified) due to an issue with specifying units in pandas.Timedelta (see #99 (comment))

(Still need to check whether the same fix need to be applied to the velocity_hourly product - but if so this will be done in a separate PR)

@codecov

codecovBot commented Apr 28, 2022

Copy link
Copy Markdown

Codecov Report

Merging #153 (96f8040) into master (ab01d2a) will not change coverage.
The diff coverage is 100.00%.

@@ Coverage Diff @@## master #153 +/- ##
=======================================
Coverage 70.52% 70.52% =======================================
Files 12 12 Lines 1133 1133 Branches 153 153 =======================================
Hits 799 799 Misses 317 317 Partials 17 17 
Impacted FilesCoverage Δ
aodntools/timeseries_products/hourly_timeseries.py98.19% <100.00%> (ø)

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 ab01d2a...96f8040. Read the comment docs.

@mhidas
mhidasforce-pushed the fix_hourly_interval branch from d1628ff to 3980c1cCompareMay 5, 2022 01:46
@mhidas
mhidasforce-pushed the fix_hourly_interval branch from 3980c1c to 96f8040CompareMay 13, 2022 05:43
@mhidas
mhidas marked this pull request as ready for review May 13, 2022 05:44
@leonardolaiolo
leonardolaiolo merged commit 238f3ce into masterMay 16, 2022
@leonardolaiolo
leonardolaiolo deleted the fix_hourly_interval branch May 16, 2022 00:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mhidas@leonardolaiolo