We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b153e8d commit 730df7eCopy full SHA for 730df7e
windpowerlib/wind_turbine.py
@@ -338,8 +338,8 @@ def load_turbine_data_from_oedb():
338
schema, table), )
339
if not result.status_code == 200:
340
raise ConnectionError("Database connection not successful. "
341
- "Error: {}".format(result.status_code))
342
- # extract data
+ "Response: [{}]".format(result.status_code))
+ # extract data to data frame
343
turbine_data = pd.DataFrame(result.json())
344
return turbine_data
345
0 commit comments