Skip to content

Commit d0230dc

Browse files
committed
Correct docstrings
1 parent 8c4b99c commit d0230dc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

windpowerlib/wind_turbine.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ def get_turbine_data_from_file(turbine_type, file_):
206206
----------
207207
turbine_type : string
208208
Specifies the turbine type of which data is fetched.
209-
Use :py:func:`~.get_turbine_types` to see a table of all wind turbines
210-
for which power (coefficient) curve data is provided.
211209
file_ : string
212210
Specifies the source of the turbine data.
213211
See the example below for how to use the example data.
@@ -318,7 +316,7 @@ def load_turbine_data_from_oedb():
318316
-------
319317
turbine_data : pd.DataFrame
320318
Contains turbine data of different turbine types like 'manufacturer',
321-
'turbine_type', nominal power ('installed_capacity_kw'), '
319+
'turbine_type', nominal power ('installed_capacity_kw').
322320
323321
"""
324322
# url of Open Energy Platform that contains the oedb
@@ -355,6 +353,14 @@ def get_turbine_types(print_out=True):
355353
not (False) in columns 'has_power_curve' and 'has_cp_curve'.
356354
Default: True.
357355
356+
Returns
357+
-------
358+
curves_df : pd.DataFrame
359+
Contains turbine types in column 'turbine_type', the manufacturer in
360+
column 'manufacturer' and information about whether a power
361+
(coefficient) curve exists (True) or not (False) in columns
362+
'has_power_curve' and 'has_cp_curve'.
363+
358364
Examples
359365
--------
360366
>>> from windpowerlib import wind_turbine

0 commit comments

Comments
 (0)