Closed Bartdoekemeijer closed 1 year ago
hi @Bartdoekemeijer , I checked out this branch and the main example ran fine (thanks for fixing!) so I say merge, work for you @misi9170 ?
UPDATED:
Hi @Bartdoekemeijer, I can confirm recreation of the original issue on main and am happy that this fixes the problem. I think we can merge.
There are a number of pandas warnings that get spewed out when I run generate_demo_dataset.py, but that probably belongs in a separate issue.
UPDATED:
Hi @Bartdoekemeijer, I can confirm recreation of the original issue on main and am happy that this fixes the problem. I think we can merge.
There are a number of pandas warnings that get spewed out when I run generate_demo_dataset.py, but that probably belongs in a separate issue.
Thanks for double checking! I think the other warnings you mention are related to similar issues as the df_downsample function. We could revise this at some point, but since it's just an example file perhaps less urgent. I'll merge it in now!
Thank you!
This PR is ready to be merged.
Feature or improvement description Currently, on the
main
branch the examplegenerate_demo_dataset.py
fails on line 121 with:This is because of a modification that I think I made during the updates from FLORIS v2 to FLORIS v3.
Related issue, if one exists I haven't opened a separate issue, but see above.
Impacted areas of the software
floris_tools
Additional supporting information I have expanded the function
calc_floris_approx_table
to also output the turbine inflow wind direction, wind speed and TI, if desired. This functionality was previously removed.Test results, if applicable This is what the output of
calc_floris_approx_table
looks like after the update:where clearly, we see the additional columns
wd_000
,ws_000
,ti_000
, and so on. This resolves the error.