Closed mkaut closed 10 months ago
You downloaded the new data from the OEP but the data set is broken. Normally the data set should be restored in that case but it seems to me that the data-restore does not work.
store_turbine_data_from_oedb()
2b. You can download the source code of the dev branch from github and install it using pip install -e c:\path\to\the\downloaded\code
We will try to release a fixed version of the windpowerlib soon. I think the problem is, that the default data is missing. Sorry for that.
...and yes, we do need new maintainer for the windpowerlib.
FYI: the dev version can also be directly installed as !pip install git+https://github.com/wind-python/windpowerlib@dev
The attached PR fixes both of the two issues.
Though a Pandas Future warning exists:
FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead
self.nominal_power = float(turbine_data["nominal_power"])
But at least everything is working that way - the FutureWarning does not have to do with it
I wanted to try the library, but nothing seems to work with python 3.11 on Windows. Is the library still maintained?
Already the first code snippet fails:
gives
The second code snippet:
fails as well, and possibly for the same reason:
Windows 10, python 3.11 x64, windpowerlib installed with pip.