airpartners / aq-web-client

Web app for end-users.
https://airpartners-ade.web.app/
2 stars 0 forks source link

Use CorrectionFactor parameter for adjusting PollutantBarComponent values for PM10 and PM2.5 #50

Closed anushadatar closed 3 years ago

anushadatar commented 3 years ago

We have a CorrectionFactor parameter and associated function in utils.js that corresponds to the value we need to multiply PM2.5 and PM10 data by to compensate for errors in measurement. However, because of complications with how information is passed around within the PollutionBarComponent, that value is actually just hardcoded in the place it is used in production. While it's not necessarily all that high priority (especially since hopefully this will eventually get fixed on the QuantAQ side), it would be wise to figure this out at some point.