Skip to content

Enable usage of the ERA5 data set in the wind_power_timeseries module#8

Merged
Zetison merged 1 commit intomainfrom
bump/wind_power_timeseries0_6_1
Dec 15, 2025
Merged

Enable usage of the ERA5 data set in the wind_power_timeseries module#8
Zetison merged 1 commit intomainfrom
bump/wind_power_timeseries0_6_1

Conversation

@Zetison
Copy link
Collaborator

@Zetison Zetison commented Dec 15, 2025

This PR enables the usage of ERA5 data set (e.g. enables usage in Spain which is outside the NORA3 domain) which has now been enabled in the sample function of wind_power_timeseries module.

@Zetison Zetison requested a review from Copilot December 15, 2025 14:20
@Zetison Zetison self-assigned this Dec 15, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables support for the ERA5 dataset in the wind power timeseries functionality, expanding geographic coverage beyond the NORA3 domain (e.g., to include Spain). The changes add a new source parameter to allow users to choose between "NORA3" and "ERA5" data sources, with "NORA3" remaining the default.

Key changes:

  • Updated the wind_power_timeseries submodule to a version that supports ERA5 data
  • Added a source parameter to the WindPower function with "NORA3" as the default value
  • Cleaned up redundant conda initialization commands in the CI workflow

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
submodules/wind_power_timeseries Updated submodule commit to version with ERA5 support
src/datastructures.jl Added source parameter to WindPower function for data source selection
.github/actions/before-script/action.yml Removed duplicate conda initialization commands

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Zetison Zetison requested a review from JulStraus December 15, 2025 14:31
Copy link
Member

@JulStraus JulStraus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too much to comment on. Additional input to python, additional input to the constructor. Seems reasonable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these two lines removed? No longer required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were redundant to begin with apparently.

@Zetison Zetison merged commit 7c642a1 into main Dec 15, 2025
3 checks passed
@Zetison Zetison deleted the bump/wind_power_timeseries0_6_1 branch December 15, 2025 15:15
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.

3 participants