Skip to content

Commit cf08a73

Browse files
committed
re-do deletion
1 parent fa26353 commit cf08a73

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

pvlib/atmosphere.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,6 @@ def tdew_from_rh(temp_air, relative_humidity, coeff=(6.112, 17.62, 243.12)):
413413
return dewpoint
414414

415415

416-
first_solar_spectral_correction = deprecated(
417-
since='0.10.0',
418-
alternative='pvlib.spectrum.spectral_factor_firstsolar'
419-
)(pvlib.spectrum.spectral_factor_firstsolar)
420-
421-
422416
def bird_hulstrom80_aod_bb(aod380, aod500):
423417
"""
424418
Approximate broadband aerosol optical depth.

tests/test_atmosphere.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
from pvlib import atmosphere
1111

12-
from pvlib._deprecation import pvlibDeprecationWarning
13-
1412

1513
def test_pres2alt():
1614
out = atmosphere.pres2alt(np.array([10000, 90000, 101325]))
@@ -235,12 +233,6 @@ def test_tdew_from_rh():
235233
assert np.isclose(dewpoint_float, dewpoint.iloc[0])
236234

237235

238-
def test_first_solar_spectral_correction_deprecated():
239-
with pytest.warns(pvlibDeprecationWarning,
240-
match='Use pvlib.spectrum.spectral_factor_firstsolar'):
241-
atmosphere.first_solar_spectral_correction(1, 1, 'cdte')
242-
243-
244236
def test_kasten96_lt():
245237
"""Test Linke turbidity factor calculated from AOD, Pwat and AM"""
246238
amp = np.array([1, 3, 5])

0 commit comments

Comments
 (0)