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
Copy link
Copy Markdown
Contributor

@mhidas mhidas commented Apr 28, 2022

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
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2022

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 Files Coverage Δ
aodntools/timeseries_products/hourly_timeseries.py 98.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 mhidas force-pushed the fix_hourly_interval branch from d1628ff to 3980c1c Compare May 5, 2022 01:46
@mhidas mhidas force-pushed the fix_hourly_interval branch from 3980c1c to 96f8040 Compare May 13, 2022 05:43
@mhidas mhidas marked this pull request as ready for review May 13, 2022 05:44
@mhidas mhidas requested a review from leonardolaiolo May 13, 2022 05:50
@leonardolaiolo leonardolaiolo merged commit 238f3ce into master May 16, 2022
@leonardolaiolo leonardolaiolo deleted the fix_hourly_interval branch May 16, 2022 00:53
Sign up for free to 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