Skip to content
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

Temporal aggregator #116

Merged
merged 12 commits into from
Jun 1, 2021
Merged

Temporal aggregator #116

merged 12 commits into from
Jun 1, 2021

Conversation

MRossol
Copy link
Collaborator

@MRossol MRossol commented Jun 1, 2021

Code to temporally aggregate time-series data. Needed for the Hybrid Stats project.

Inputs are frequency for aggregation and method, defaults are 1d and mean

@MRossol MRossol added the feature New feature or request label Jun 1, 2021
@MRossol MRossol requested a review from grantbuster June 1, 2021 20:34
@codecov-commenter
Copy link

Codecov Report

Merging #116 (7524a41) into main (c57e982) will decrease coverage by 1.24%.
The diff coverage is 60.39%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
- Coverage   80.00%   78.75%   -1.25%     
==========================================
  Files          91       93       +2     
  Lines        9306     9128     -178     
==========================================
- Hits         7445     7189     -256     
- Misses       1861     1939      +78     
Flag Coverage Δ
unittests 78.75% <60.39%> (-1.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
reVX/hybrid_stats/temporal_agg.py 52.17% <52.17%> (ø)
tests/test_temporal_agg.py 92.50% <92.50%> (ø)
reVX/hybrid_stats/__init__.py 100.00% <100.00%> (ø)
reVX/handlers/geotiff.py 61.11% <0.00%> (-4.39%) ⬇️
reVX/wind_setbacks/wind_setbacks_cli.py 46.87% <0.00%> (-2.13%) ⬇️
reVX/plexos/plexos_plants.py 66.84% <0.00%> (-1.85%) ⬇️
reVX/offshore/assembly_areas_cli.py 65.00% <0.00%> (-1.67%) ⬇️
reVX/offshore/dist_to_ports_cli.py 64.28% <0.00%> (-1.63%) ⬇️
reVX/offshore/offshore_inputs_cli.py 66.66% <0.00%> (-1.52%) ⬇️
reVX/utilities/forecasts.py 76.27% <0.00%> (-1.51%) ⬇️
... and 61 more

@MRossol MRossol merged commit 3fe2bfd into main Jun 1, 2021
@MRossol MRossol deleted the temporal_aggregator branch June 1, 2021 21:29
github-actions bot pushed a commit that referenced this pull request Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants