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

Data shift algorithm #142

Merged
merged 28 commits into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
10d289f
Add in pvanalytics update (#1)
kperrynrel May 25, 2022
eeaa419
Merge branch 'pvlib:master' into data_shift_algorithm
kperrynrel May 25, 2022
841e15b
Merge branch 'pvlib:master' into data_shift_algorithm
kperrynrel May 25, 2022
24b3711
added back in all of the data shift files.
May 25, 2022
4b847e7
Debug pep8 fixes.
May 25, 2022
7894478
Added data_dir path to conftest.
May 25, 2022
b6cb13b
pep8 fix.
May 25, 2022
329755f
renamed pytest fixture.
May 25, 2022
49f22e0
added unit test for when ruptures is not available--up test coverage.
May 25, 2022
503e626
retry to debug the ruptures package load
May 25, 2022
f2cb363
fixed my ruptures delete and re-impoort test
May 25, 2022
3838787
added import error test for ruptures
May 25, 2022
cec5062
more ruptures package unload-reload unit tests
May 25, 2022
5200422
Update 0.1.2.rst
kperrynrel May 26, 2022
1f6c786
updates based on @kanderso-nrel's review
May 26, 2022
b022381
renamed variables in the test file for data shifts from time_series t…
May 26, 2022
060a2c1
updated the longest segment output to tuple + updated warning in docs…
May 26, 2022
b71263f
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
7fc94b1
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
b2e5642
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
d747fc8
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
140a5d6
Update docs/whatsnew/0.1.2.rst
kperrynrel Jun 24, 2022
8e0aa88
Updated PVSC citation.:
Jun 24, 2022
a60ce2d
Cleaned up any existing pep8 errors
Jun 24, 2022
8edede4
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
a39cf42
Update pvanalytics/quality/data_shifts.py
kperrynrel Jun 24, 2022
4a54cc5
Update the docstring
Jun 24, 2022
00a1f7a
updated the docstring
Jun 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ API Reference
Quality
=======

Data Shifts
-----------

Functions for identifying shifts in data values in time series
and for identifying periods with data shifts. For functions
that identify shifts in time, see ``quality.time``

.. autosummary::
:toctree: generated/

quality.data_shifts.detect_data_shifts
quality.data_shifts.get_longest_shift_segment_dates

Irradiance
----------

Expand Down
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ library status.
- :py:mod:`quality` contains submodules for different kinds of data quality
checks.

- :py:mod:`quality.data_shifts` contains quality checks for detecting and
isolating data shifts in PV time series data.
- :py:mod:`quality.irradiance` contains quality checks for irradiance
measurements.
- :py:mod:`quality.weather` contains quality checks for weather data (e.g.
Expand Down
4 changes: 3 additions & 1 deletion docs/whatsnew/0.1.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

Enhancements
~~~~~~~~~~~~

* Detect data shifts in daily summed time series with
:py:func:`pvanalytics.quality.data_shifts.detect_data_shifts`
and :py:func:`pvanalytics.quality.data_shifts.get_longest_shift_segment_dates`. (:pull:`142`)

Bug Fixes
~~~~~~~~~
Expand Down
Loading