openclimatefix / quartz-frontend

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

432 - adjust % percentage boxes #458

Closed peterdudfield closed 5 months ago

peterdudfield commented 5 months ago

Pull Request

Description

  1. changes to

0-10 ..-20 ..-35 ..-50 ..-70 70-100.

  1. Ive changed to getRoundedPvNormalized to give the opacity range and keep the opacity setting in the map the same.
    • rename getRoundedPvNormalized to getOpacityValuePVNormalized

Changes from Screenshot 2024-01-24 at 17 20 03

to

Screenshot 2024-01-24 at 17 19 57

Fixes #432

How Has This Been Tested?

Vercel runs on the branch and checked one value was right in Walpole Zone 1 on 2024-01-22 12:30

Checklist:

vercel[bot] commented 5 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 💬 Add feedback Jan 24, 2024 5:31pm
rachel-labri-tipton commented 5 months ago

@peterdudfield, would it be ok to merge into development or staging with this one?

rachel-labri-tipton commented 5 months ago

this looks good @peterdudfield