Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
677de4c
First cut porting pvlib_detect_shadows from matlab
wfvining Feb 11, 2021
2fcfb9e
Add test module for features.shading
wfvining Mar 1, 2021
5facb77
Correct order of masks passed to binary hit/miss filter
wfvining Mar 1, 2021
df75c49
Filter blobs by height (e.g. days) rather than width
wfvining Mar 1, 2021
a532ea6
Clean up variable naming and comments in shading.fixed()
wfvining Mar 1, 2021
370fc06
Tweak shading._filter_bars()
wfvining Mar 1, 2021
25144fb
Apply _filter_bars() to the raw shadow image
wfvining Mar 10, 2021
e94b2f8
Make min_gradient a parameter to shading.fixed()
wfvining Mar 10, 2021
54ac08e
Use morphology.remove_small_objects in initial shadow detection
wfvining Mar 10, 2021
36f3f60
Make the minimum duration of cloudy times a parameter
wfvining Mar 10, 2021
f482827
Return shadows as a series and an image
wfvining Mar 24, 2021
7ea77fb
Fix errors in test_shading.test_fixed_same_index
wfvining Mar 24, 2021
574afa0
Test that a fake shadow at the same time every day is detected
wfvining Mar 24, 2021
1040f85
Fix grammar in comment
wfvining Mar 24, 2021
a130e78
Add scikit-image to dependencies
wfvining Mar 24, 2021
d88e19c
Use a 3x3 mask in shading._smooth()
wfvining Mar 30, 2021
ef32bec
Remove extra calls to _to_image() in shading._prepare_images()
wfvining Mar 30, 2021
1dd87da
Docstring and comment updates
wfvining Mar 30, 2021
b35d37b
Raise a ValueError for data with invalid intervals
wfvining Mar 30, 2021
8522144
Apply docstring edits from code review
wfvining Mar 30, 2021
15c448a
Rename `window` to `duration` in shading._detect_clouds()
wfvining Mar 30, 2021
f1d1bc4
Bump minimum pandas version to 0.24.0
wfvining Apr 6, 2021
10e6954
Add parameter descriptions to shading._prepare_images()
wfvining Apr 6, 2021
556443f
Specify output array for image operations in _filter_bars()
wfvining Apr 15, 2021
6485079
Remove unused shading._width() function
wfvining Apr 15, 2021
4b0d2e3
Pass output array to _fill_gaps() and _remove_spikes()
wfvining Apr 22, 2021
847c8e1
Merge branch 'master' into shadows
wfvining May 13, 2021
469a4a1
debugging
cwhanse May 28, 2021
3ab7488
Merge branch 'shadows' of https://github.com/pvlib/pvanalytics into s…
cwhanse May 28, 2021
1788e43
Tidy up doc string
wfvining May 28, 2021
ac18e80
Add shading to api.rst and whatsnew
wfvining May 28, 2021
e97a3bf
Docstring edits
wfvining Jun 3, 2021
8b2b17d
Add features.shading to package overview in index.rst
wfvining Jun 3, 2021
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
10 changes: 10 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,16 @@ Functions that return a Boolean mask indicating day and night.

features.daytime.power_or_irradiance

Shading
-------

Functions for labeling shadows.

.. autosummary::
:toctree: generated/

features.shading.fixed

System
======

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ library status.
functions in the :py:mod:`system` module in that we are identifying
features of data rather than properties of the system that produced the
data.
- :py:mod:`features.shading` functions for identifying shadows.

- :py:mod:`system` identification of PV system characteristics from data
(e.g. nameplate power, tilt, azimuth)
Expand Down
3 changes: 3 additions & 0 deletions docs/whatsnew/0.1.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Enhancements
:py:func:`pvanalytics.metrics.variability_index`. (:issue:`60`, :pull:`106`)
* Internal refactor of `pvanalytics.metrics.performance_ratio_nrel` to support
other performance ratio formulas. (:pull:`109`)
* Detect shadows from fixed objects in GHI data using
:py:func:`pvanalytics.features.shading.fixed`. (:issue:`24`, :pull:`101`)

Bug Fixes
~~~~~~~~~
Expand All @@ -22,3 +24,4 @@ Contributors

* Kevin Anderson (:ghuser:`kanderso-nrel`)
* Cliff Hansen (:ghuser:`cwhanse`)
* Will Vining (:ghuser:`wfvining`)
1 change: 1 addition & 0 deletions pvanalytics/features/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from pvanalytics.features import clearsky # noqa: F401
from pvanalytics.features import clipping # noqa: F401
from pvanalytics.features import shading # noqa: F401
Loading