Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions docs/sphinx/source/whatsnew/v0.4.5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Bug fixes
* Added lower accuracy formulas for equation of time, declination, hour angle
and solar zenith.
* Remove all instances of .ix (:issue:`322`)
* Update docstring in `pvlib.spa.solar_position` - change units of pressure to
millibars. *NOTE*: units of pressure in `pvlib.solar_position.spa_python` and
`pvlib.solar_position.spa_c` are still Pascals. This update should have no
effect on most users, since it only applies to the low-level `spa.py` module.
(:issue:`327`)


Enhancements
Expand Down
2 changes: 1 addition & 1 deletion pvlib/spa.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def solar_position(unixtime, lat, lon, elev, pressure, temp, delta_t,
elev : float
Elevation of location in meters
pressure : int or float
avg. yearly pressure at location in Pascals;
avg. yearly pressure at location in millibars;
used for atmospheric correction
temp : int or float
avg. yearly temperature at location in
Expand Down