openclimatefix / quartz-frontend

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

Staging: Map funny distirbution #351

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

On staging, the distirbution of gsp filled in colours seems wrong

Screenshot 2023-04-12 at 10 53 25

production

Screenshot 2023-04-12 at 10 54 43

peterdudfield commented 1 year ago

When I deployed national on production this also happened

peterdudfield commented 1 year ago

I think its something to do with forecast/all so trying to remove national from this using - https://github.com/openclimatefix/nowcasting_api/pull/208

peterdudfield commented 1 year ago

I think I found it, forecast/all returns nationals, so want to remove that in the API. Need to adjust code here

Then need to remove the code int he front end where slice(1) is used to remove national.

This solution will be more robust

braddf commented 1 year ago

@peterdudfield - have updated/applied API to latest version (1.3.10) on development amended the FE code here to reflect the change (removed the slice and checked GSPs match now) and seems to be working on Staging 👍