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
3 changes: 2 additions & 1 deletion docs/sphinx/source/whatsnew/v0.4.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Enhancements

API Changes
~~~~~~~~~~~

* Removed parameter w from _calc_d (:issue:`344`)

Documentation
~~~~~~~~~~~~~
Expand All @@ -29,3 +29,4 @@ Contributors

* Will Holmgren
* Uwe Krien
* Alaina Kafkes
4 changes: 2 additions & 2 deletions pvlib/clearsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def simplified_solis(apparent_elevation, aod700=0.1, precipitable_water=1.,
g = _calc_g(w, aod700)

taud = _calc_taud(w, aod700, p)
d = _calc_d(w, aod700, p)
d = _calc_d(aod700, p)

# this prevents the creation of nans at night instead of 0s
# it's also friendly to scalar and series inputs
Expand Down Expand Up @@ -525,7 +525,7 @@ def _calc_taud(w, aod700, p):
return taud


def _calc_d(w, aod700, p):
def _calc_d(aod700, p):
"""Calculate the d coefficient."""

p0 = 101325.
Expand Down