Skip to content

Commit 928ae33

Browse files
Omesh37cwhanse
andauthored
Update pvlib/irradiance.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
1 parent c1e95ba commit 928ae33

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pvlib/irradiance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,8 +1984,6 @@ 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

1987-
if use_delta_kt_prime and len(times) < 2:
1988-
raise ValueError('The DIRINT model requires at least two times')
19891987

19901988
disc_out = disc(ghi, solar_zenith, times, pressure=pressure,
19911989
min_cos_zenith=min_cos_zenith, max_zenith=max_zenith)

0 commit comments

Comments
 (0)