openclimatefix / quartz-frontend

Front End repo for the Nowcasting project.
https://openclimatefix.org/projects/nowcasting/
MIT License
100 stars 16 forks source link

API speed-ups v1 (gsp all forecast/pvlive) #417

Closed braddf closed 10 months ago

braddf commented 10 months ago

Pull Request

Description

Switch the All GSP forecast route to use the compact flag and corresponding object structure; this should speed up the API responses and reduce the size of returned data that we use in the app.

Also adds generated types for the Quartz API, which command to re-generate on future changes to the schema.

Fixes #407 Fixes #414

How Has This Been Tested?

Locally, and unit test added using Jest library for updated rounding function; will allow unit testing of small utils etc. going forward

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist:

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nowcasting-app ✅ Ready (Inspect) Visit Preview 3 resolved Oct 13, 2023 3:50pm