Skip to content

Fix validate_yaml double extension and string time coordinates#57

Closed
bjarketol wants to merge 2 commits intoEUFLOW:mainfrom
bjarketol:fix/validate-and-time-coords-v2
Closed

Fix validate_yaml double extension and string time coordinates#57
bjarketol wants to merge 2 commits intoEUFLOW:mainfrom
bjarketol:fix/validate-and-time-coords-v2

Conversation

@bjarketol
Copy link
Copy Markdown
Contributor

@bjarketol bjarketol commented Mar 13, 2026

Summary

  • Fix validate_yaml call in run_api() to pass schema key "plant/wind_energy_system" instead of constructing a full file path, which caused a .yaml.yaml double extension error
  • Convert string/datetime time coordinates to integer indices in dict_to_site() so PyWake's GridInterpolator can interpolate numerically
  • Relax xarray version constraint (remove <2025 upper bound)

🤖 Generated with Claude Code

- Pass schema key "plant/wind_energy_system" to validate_yaml instead of
  constructing a full file path, which caused a .yaml.yaml double extension
- Convert string/datetime time coordinates to integer indices in
  dict_to_site() so PyWake's GridInterpolator can interpolate numerically
- Relax xarray version constraint (remove upper bound <2025)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bjarketol
Copy link
Copy Markdown
Contributor Author

@kilojoules can you review this?

@bjarketol
Copy link
Copy Markdown
Contributor Author

Will be fixed in #58

@bjarketol bjarketol closed this Mar 27, 2026
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.

1 participant