Closed mwalker-scottlogic closed 3 weeks ago
Ticket updated in response to feedback from mentors
I followed https://forum.ecmwf.int/t/convert-mass-mixing-ratio-mmr-to-mass-concentration-or-to-volume-mixing-ratio-vmr/1253 to convert those pollutants with units of mass mixing ratios to mass concentrations. For this I additionally fetch surface pressure and temperature to calculate density and multiply the mass mixing ratios by it.
Results are now nearly identical (but not exactly) to the ECMWF reported values for O3 and NO2. But deviations are only visible in the second decimal, which is more than enough precision (I guess?!). PM10 and PM2.5 are identical to the ECMWF values, so we seem to be doing the correct bilinear interpolation.
Associated PR is here: https://github.com/ECMWFCode4Earth/vAirify/pull/40
Re-tested, there is some deviation over 0.5% in certain cities such as Los Angeles
Question posted to mentors about this:
Response from Miha: