Skip to content

Commit

Permalink
remove Ztemp
Browse files Browse the repository at this point in the history
  • Loading branch information
wholmgren committed Mar 12, 2015
1 parent 14d9a0f commit 6d029aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pvlib/clearsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def disc(GHI, zenith, times, pressure=101325):
True (not refraction - corrected) solar zenith
angles in decimal degrees.
times : Series or DatetimeIndex
times : DatetimeIndex
pressure : float or Series
Site pressure in Pascal.
Expand All @@ -317,7 +317,6 @@ def disc(GHI, zenith, times, pressure=101325):
* ``Kt_gen_DISC``: Ratio of global to extraterrestrial
irradiance on a horizontal plane.
* ``AM``: Airmass
* ``Ztemp``: Zenith
References
----------
Expand Down Expand Up @@ -384,9 +383,7 @@ def disc(GHI, zenith, times, pressure=101325):
DNI[DNI < 0] = np.NaN

DFOut = pd.DataFrame({'DNI_gen_DISC':DNI})

DFOut['Kt_gen_DISC'] = Kt
DFOut['AM'] = AM
DFOut['Ztemp'] = Ztemp

return DFOut

0 comments on commit 6d029aa

Please sign in to comment.