Skip to content

Commit f703f19

Browse files
committed
Adapt docstring and PEP8
1 parent 0a08db7 commit f703f19

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

windpowerlib/wind_turbine.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ def get_turbine_data_from_oedb(turbine_type, fetch_curve, overwrite=False):
318318
else:
319319
logging.debug("Turbine data is fetched from {}".format(filename))
320320
# turbine_data = pd.read_csv(filename, index_col=0)
321-
df, nominal_power = get_turbine_data_from_file(turbine_type=turbine_type, file_=filename)
321+
df, nominal_power = get_turbine_data_from_file(turbine_type=turbine_type,
322+
file_=filename)
322323

323324
# nominal power and power curve values in W
324325
nominal_power = nominal_power * 1000
@@ -332,8 +333,9 @@ def load_turbine_data_from_oedb():
332333
r"""
333334
Loads turbine data from the OpenEnergy Database (oedb).
334335
335-
Turbine data is saved to a csv file for offline usage of windpowerlib. If
336-
the file already exists it is overwritten.
336+
Turbine data is saved to csv files ('oedb_power_curves.csv' and
337+
'oedb_cp_curves.csv') for offline usage of windpowerlib. If the files
338+
already exist they are overwritten.
337339
338340
Returns
339341
-------

0 commit comments

Comments
 (0)