Skip to content

Commit f1b77b8

Browse files
committed
Remove pvlib.atmosphere.first_solar_spectral_correction
1 parent 048b70f commit f1b77b8

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

docs/sphinx/source/reference/airmass_atmospheric.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Airmass and atmospheric models
1212
atmosphere.pres2alt
1313
atmosphere.alt2pres
1414
atmosphere.gueymard94_pw
15-
atmosphere.first_solar_spectral_correction
1615
atmosphere.bird_hulstrom80_aod_bb
1716
atmosphere.kasten96_lt
1817
atmosphere.angstrom_aod_at_lambda

pvlib/atmosphere.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,6 @@ def gueymard94_pw(temp_air, relative_humidity):
336336
return pw
337337

338338

339-
first_solar_spectral_correction = deprecated(
340-
since='0.10.0',
341-
alternative='pvlib.spectrum.spectral_factor_firstsolar'
342-
)(pvlib.spectrum.spectral_factor_firstsolar)
343-
344-
345339
def bird_hulstrom80_aod_bb(aod380, aod500):
346340
"""
347341
Approximate broadband aerosol optical depth.

pvlib/tests/test_atmosphere.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ def test_gueymard94_pw():
8888
assert_allclose(pws, expected, atol=0.01)
8989

9090

91-
def test_first_solar_spectral_correction_deprecated():
92-
with pytest.warns(pvlibDeprecationWarning,
93-
match='Use pvlib.spectrum.spectral_factor_firstsolar'):
94-
atmosphere.first_solar_spectral_correction(1, 1, 'cdte')
95-
96-
9791
def test_kasten96_lt():
9892
"""Test Linke turbidity factor calculated from AOD, Pwat and AM"""
9993
amp = np.array([1, 3, 5])

0 commit comments

Comments
 (0)