Skip to content

Commit 7b7f667

Browse files
committed
deprecate get_orientation
1 parent 442ee6a commit 7b7f667

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pvlib/modelchain.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
from pvlib.pvsystem import _DC_MODEL_PARAMS
1919
from pvlib.tools import _build_kwargs
2020

21+
from pvlib._deprecation import deprecated
22+
2123
# keys that are used to detect input data and assign data to appropriate
2224
# ModelChain attribute
2325
# for ModelChain.weather
@@ -59,6 +61,13 @@
5961
)
6062

6163

64+
@deprecated(
65+
since="0.13",
66+
removal="0.14",
67+
name="pvlib.modelchain.get_orientation",
68+
alternative=None,
69+
addendum=None,
70+
)
6271
def get_orientation(strategy, **kwargs):
6372
"""
6473
Determine a PV system's surface tilt and surface azimuth

0 commit comments

Comments
 (0)