Skip to content

Commit a1dbbb3

Browse files
committed
0.12->0.13 irradiance.py, test_irradiance.py
1 parent ad556e1 commit a1dbbb3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pvlib/irradiance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ def _dirint_bins(times, kt_prime, zenith, w, delta_kt_prime):
21552155
since='0.11.2',
21562156
old_param_name='dni_clearsky',
21572157
new_param_name='dni_clear',
2158-
removal="0.12.0")
2158+
removal="0.13.0")
21592159
def dirindex(ghi, ghi_clearsky, dni_clear, zenith, times, pressure=101325.,
21602160
use_delta_kt_prime=True, temp_dew=None, min_cos_zenith=0.065,
21612161
max_zenith=87):
@@ -3620,7 +3620,7 @@ def _get_dirint_coeffs():
36203620
since='0.11.2',
36213621
old_param_name='clearsky_dni',
36223622
new_param_name='dni_clear',
3623-
removal="0.12.0")
3623+
removal="0.13.0")
36243624
def dni(ghi, dhi, zenith, dni_clear=None, clearsky_tolerance=1.1,
36253625
zenith_threshold_for_zero_dni=88.0,
36263626
zenith_threshold_for_clearsky_limit=80.0):

pvlib/tests/test_irradiance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ def test_dirindex_min_cos_zenith_max_zenith():
11261126
assert_series_equal(out, expected)
11271127

11281128

1129-
@fail_on_pvlib_version("0.12")
1129+
@fail_on_pvlib_version("0.13")
11301130
def test_dirindex_dni_clearsky_deprecation():
11311131
times = pd.DatetimeIndex(['2014-06-24T12-0700', '2014-06-24T18-0700'])
11321132
ghi = pd.Series([0, 1], index=times)
@@ -1157,7 +1157,7 @@ def test_dni():
11571157
146.190220008, 573.685662283]))
11581158

11591159

1160-
@fail_on_pvlib_version("0.12")
1160+
@fail_on_pvlib_version("0.13")
11611161
def test_dni_dni_clearsky_deprecation():
11621162
ghi = pd.Series([90, 100, 100, 100, 100])
11631163
dhi = pd.Series([100, 90, 50, 50, 50])

0 commit comments

Comments
 (0)