Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Pull Request
Description
This pull request adds functionality to fetch Physical Notification (PN) data for wind farms using the Elexon API. The script dynamically queries BM Unit data from the API and filters for wind farms based on the bm_unit column. It also retrieves PN data for the selected wind farm over a specified time range.
Changes:
⇾ Added a script (examples/wind_farm_pn.py) to fetch PN data for wind farms.
⇾ Integrated Elexon API (balancing_physical_all_get and balancing_physical_get methods).
⇾ Implemented filtering logic to identify wind farms dynamically from the API response.
Fixes #60
How Has This Been Tested?
The script has been tested locally by:
⇾ Fetching BM Unit data from the Elexon API.
⇾ Filtering BM Units dynamically for wind farms.
⇾ Retrieving PN data for a selected wind farm over a 24-hour period.
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: