Commit 1869d87
Add getter/parser for PVGIS hourly-radiation (#1186)
* Add pvgis.get_pvgis_hourly function
* Update documentation
* Add parser for pvgis_hourly csv and basic
* Update variable map and documentation
* Update whatsnew, api.rst, and __init__
* Add read_pvgis_hourly
* Update input and output names
Change lat/lon to latitude/longitude and changed startyear/endyear to start/end. Also, changed meta to metadata
* Add cams.get_cams_radiation function
* Revert "Add cams.get_cams_radiation function"
This reverts commit d7deb80.
* Add requests-mock to CI files
* Revert "Add requests-mock to CI files"
This reverts commit b416f62.
* Add tests and test files
* Fix stickler
* Parametrize read_pvgis_hourly tests
* Add test for metadata assertion
* Add test documentation
* Fixed minor documentation issues
* Remove basic parser and add bad extension test
* Add TypeError test and minor doc fixes
* Fix stickler
* Fix stickler again
* Add tests for get_pvgis_hourly
* Add tests for HTTPError message with json
* Fix documentation issues
* Update data columns data
* Change asterisk to dagger symbol in data table
* Update documentation
* Rename poa_sky_diffuse and minor doc fixes
* Update whatsnew description
* Refactor test_read_pvgis_hourly
Also add datetime like input for start and end
* Coverage for userhorizon, usehorizon, & optimal_surface_tilt
* Add inputs to params dict instead of if statements
It is more robust to always pass in the input arguments instead of relying on the PVGIS defaults (these could change and then the pvlib documentation would be wrong).
* Fix stickler
* Doc. update & refactoring of start/end
* Reorder inputs & capitalize input descriptions
* Use .strip() instead of replace('\r\n','')
Also remove instances of using inplace
* Update pvgis.py
* Raise ValueError for invalid outputformat
* Coverage for bad outputformat
* Minor doc fixes
* Change 'not relevant' to 'ignored'
* Have get function call read function, instead of individual parse functions
* Raise ValueError if no data section is detected
* Coverage for empty file passed to read_pvgis_hourly
* Add info box concerning databases and timestamps
* Update admonition
* Change admonition style to 'attention'
* Update admonition
* Admonition update
* Fix admonition
* Refactor start input
Co-authored-by: AdamRJensen <[email protected]>1 parent 5a14156 commit 1869d87
File tree
7 files changed
+673
-1
lines changed- docs/sphinx/source
- whatsnew
- pvlib
- data
- iotools
- tests/iotools
7 files changed
+673
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments