Skip to content

Commit bbe9d4f

Browse files
committed
Revert "add deprecation warning"
This reverts commit 57288e7.
1 parent 5879282 commit bbe9d4f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

pvlib/clearsky.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
from scipy.linalg import hankel
1313
import h5py
1414

15-
from pvlib import atmosphere, tools, renamed_kwarg_warning
15+
from pvlib import atmosphere, tools
1616
from pvlib.tools import _degrees_to_index
1717

18-
renamed_kwarg_warning('11.2', 'clearsky_ghi', 'ghi_clear', removal="12.0")
19-
renamed_kwarg_warning('11.2', 'clearsky', 'ghi_clear', removal="12.0")
2018

2119
def ineichen(apparent_zenith, airmass_absolute, linke_turbidity,
2220
altitude=0, dni_extra=1364., perez_enhancement=False):

pvlib/irradiance.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
from pvlib import atmosphere, solarposition, tools
1717
import pvlib # used to avoid dni name collision in complete_irradiance
1818

19-
from pvlib._deprecation import pvlibDeprecationWarning, renamed_kwarg_warning
19+
from pvlib._deprecation import pvlibDeprecationWarning
2020
import warnings
2121

22-
renamed_kwarg_warning('11.2', 'clearsky_ghi', 'ghi_clear', removal="12.0")
23-
renamed_kwarg_warning('11.2', 'ghi_clearsky', 'ghi_clear', removal="12.0")
2422

2523
# Deprecation warning based on https://peps.python.org/pep-0562/
2624
def __getattr__(attr):

0 commit comments

Comments
 (0)