Commit fd24c71
Pyephem args missmatch (#381)
* fix for issue #343
Now, passed 'offset' parameter are used instead of it's default value.
* test for issue #343
* solar_position_method passed to basic_chain wasn't used causing
execution of solarposition.get_solarposition with default 'nrel_numpy'
value in all cases.
* Update modelchain.py
doc string fixes for modelchain.basic_chain function
* Update v0.5.1.rst
* Update v0.5.1.rst
* Update v0.5.1.rst
* altitude arg was missing.
Consequentially, pressure was passed to altitude and
temperature was passed to pressure.
* Test for get_solarposition with method='pyephem'
Should prevent args mismatch described in #374
This function is basically a copy of test_get_solarposition_no_kwargs modified to call get_solarposition with method='pyephem'
* Update v0.5.1.rst
* Now we pass keyword arguments instead of positional to be safe and consistent.
* decorate test_get_solarposition_method_pyephem with @requires_ephem1 parent 487e0e8 commit fd24c71
File tree
3 files changed
+19
-2
lines changed- docs/sphinx/source/whatsnew
- pvlib
- test
3 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
357 | 370 | | |
358 | 371 | | |
359 | 372 | | |
| |||
0 commit comments