Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DNO aggregation routes #377

Open
braddf opened this issue Jan 9, 2025 · 0 comments
Open

Add DNO aggregation routes #377

braddf opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@braddf
Copy link
Contributor

braddf commented Jan 9, 2025

Detailed Description

Currently DNO aggregation is being handled by Quartz Solar in the browser, by requesting all GSP data and aggregating; could do this on the API side and offer DNO-level data explicitly, which would reduce some over-the-wire data/download time if GSP data not necessarily needed, and can also be cached.

Context

Quartz Solar could use this, and also general API users who'd like DNO aggregated data.

Possible Implementation

Create routes to mirror the GSP functions, such as:

  • /v0/solar/GB/dno/forecast/all/
  • /v0/solar/GB/dno/{dno_id}/forecast/
  • /v0/solar/GB/dno/pvlive/all/
  • /v0/solar/GB/dno/{dno_id}/pvlive

N.B. – GSP to DNO mappings are here for reference so JSON data can be copied into this repo when needed.
Also, may be self explanatory, but the aggregation logic currently implemented in the frontend is here if needed 👍

@braddf braddf added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant