Skip to content

Commit 55fb9f0

Browse files
committed
Add missing line
1 parent 041a918 commit 55fb9f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

windpowerlib/wind_turbine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ def get_turbine_data_from_oedb(turbine_type, fetch_curve, overwrite=False):
320320
load_turbine_data_from_oedb()
321321
else:
322322
logging.debug("Turbine data is fetched from {}".format(filename))
323+
# turbine_data = pd.read_csv(filename, index_col=0)
324+
df, nominal_power = get_turbine_data_from_file(turbine_type=turbine_type, file_=filename)
325+
323326
# nominal power and power curve values in W
324327
nominal_power = nominal_power * 1000
325328
if fetch_curve == 'power_curve':

0 commit comments

Comments
 (0)