Commit 308c6d2
Code and example for classifying snow effects (#209)
* initial load of snow mode detection
* lint
* fix file opens
* add README
* formatting
* fix import
* fix file name
* fix up horizon code, add test
* fix horizon file name
* update mask function
* linting
* work toward vectorizing categorize
* lint, use mode None instead of -1
* use None in test
* use dtype object to have both int and None
* handle mixed types
* add tests
* handle equals
* Fixed the horizon masking section
* Linting
* Added argument to test_categorize() to reflect changes made to categorize()
* last lint i promise!
* remove old categorize
* Fixed failing test
* fix offline
* 0 not None
* edit definitions of mode
* use pvlib function, punctuation
* lint, add note at head
* lint
* api, whatsnew
* implemented mode -1
* fixed import error that failed readthedocs
* linting (W291 flags on snow.py)
* more mode -1 changes
* linting
* Fixing readthedocs rendering
* fixed failing test
* Apply suggestions from code review
* doc build
* spaces
* maybe its this extra line?
* docstring edits
* addressed Kevin's comments
* Fixed import statements
* Uncomment directory definition
* Removed unused import statement
* Shorted line length to 79 characters
* Update pvanalytics/features/snow.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvanalytics/features/snow.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvanalytics/features/snow.py
Co-authored-by: Kevin Anderson <[email protected]>
* Update pvanalytics/features/snow.py
Co-authored-by: Kevin Anderson <[email protected]>
* Madking changes recommended by Kevin
* Linting
* changed name of hidden function in test
* Linting again
* put Bug fixes back in whatsnew
* doc improvements
* save the file first
* adjust colors
* figure nidges
* figure nidges
* Update docs/examples/snow-detection/snow-mode.py
* small edits
* Apply suggestions from code review
Suggestions from review
Co-authored-by: Kevin Anderson <[email protected]>
* overhaul example, remove horizon
* edits, I forget what
* major edits to example
* yet more edits
* lint
* Update docs/api.rst
* review comments
---------
Co-authored-by: eccoope <[email protected]>
Co-authored-by: Emma Cooper <[email protected]>
Co-authored-by: Kevin Anderson <[email protected]>1 parent 0b40e0c commit 308c6d2
File tree
9 files changed
+1514
-5
lines changed- docs
- examples/snow-detection
- whatsnew
- pvanalytics
- data
- features
- tests/features
9 files changed
+1514
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments