Skip to content

Commit c3996cd

Browse files
committed
Change default of parameter curve_name to 'all'
1 parent 6551039 commit c3996cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

windpowerlib/wake_losses.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ def reduce_wind_speed(wind_speed, wind_efficiency_curve_name='dena_mean'):
5656
return reduced_wind_speed
5757

5858

59-
def get_wind_efficiency_curve(curve_name='dena_mean'):
59+
def get_wind_efficiency_curve(curve_name='all'):
6060
r"""
6161
Reads wind efficiency curve(s) specified in `curve_name`.
6262
6363
Parameters
6464
----------
6565
curve_name : str or list
66-
Specifies the curve. Default: 'dena_mean'. Use 'all' to get all curves
67-
in a MultiIndex DataFrame.
66+
Specifies the curve. Use 'all' to get all curves in a MultiIndex
67+
DataFrame or one of the curve names to retrieve a single curve.
68+
Default: 'all'.
6869
6970
Returns
7071
-------

0 commit comments

Comments
 (0)