@@ -1984,7 +1984,7 @@ def dirint(ghi, solar_zenith, times, pressure=101325., use_delta_kt_prime=True,
19841984 SERI/TR-215-3087, Golden, CO: Solar Energy Research Institute, 1987.
19851985 """
19861986 scalar_input = np .isscalar (solar_zenith )
1987-
1987+
19881988 disc_out = disc (ghi , solar_zenith , times , pressure = pressure ,
19891989 min_cos_zenith = min_cos_zenith , max_zenith = max_zenith )
19901990 airmass = disc_out ['airmass' ]
@@ -1999,7 +1999,6 @@ def dirint(ghi, solar_zenith, times, pressure=101325., use_delta_kt_prime=True,
19991999 dirint_coeffs = _dirint_coeffs (times , kt_prime , solar_zenith , w ,
20002000 delta_kt_prime )
20012001
2002-
20032002 # Perez eqn 5
20042003 dni = disc_out ['dni' ] * dirint_coeffs
20052004
@@ -2164,7 +2163,6 @@ def _dirint_bins(times, kt_prime, zenith, w, delta_kt_prime):
21642163 return kt_prime_bin , zenith_bin , w_bin , delta_kt_prime_bin
21652164
21662165
2167-
21682166def dirindex (ghi , ghi_clear , dni_clear , zenith , times , pressure = 101325. ,
21692167 use_delta_kt_prime = True , temp_dew = None , min_cos_zenith = 0.065 ,
21702168 max_zenith = 87 ):
0 commit comments