Skip to content

Honor windIO flow-field bounds; regression test for statistical flow field - #66

Open
kilojoules wants to merge 1 commit into
mainfrom
fix-statistical-flow-field
Open

Honor windIO flow-field bounds; regression test for statistical flow field#66
kilojoules wants to merge 1 commit into
mainfrom
fix-statistical-flow-field

Conversation

@kilojoules

Copy link
Copy Markdown
Member

Two things around GH #7 ("PyWake doesn't output flow field for statistical input"):

  • The statistical (wind rose) flow-field path works on current main — FarmFlow.nc is written with wind_speed/turbulence_intensity over (x, y, z, wd, ws). Added a regression test that runs a Weibull rose and checks the file contents.
  • While verifying, found the bounds override read z_planes keys xlb/xub/ylb/yub, which windIO does not define. Every example uses x_bounds/y_bounds, so user-requested bounds were silently ignored and the flow box always fell back to the site bounding box. Now reads the windIO keys.

Closes #7

🤖 Generated with Claude Code

Flow-field output for statistical (wind rose) input works since the
run_pywake decomposition; add a regression test that runs a Weibull
rose and checks FarmFlow.nc contents.

The bounds override read z_planes keys xlb/xub/ylb/yub, which windIO
does not define — every example uses x_bounds/y_bounds, so requested
bounds were silently ignored and the flow box always fell back to the
site bounding box. Read the windIO keys instead.

Closes #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PyWake doesn't output flow field for statistical input

1 participant