ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
MIT License
1 stars 0 forks source link

Use bilinear interpolation to calculate pollutant values for given lat/long #13

Closed amehta-scottlogic closed 1 month ago

amehta-scottlogic commented 1 month ago

Description

This changes the selection of the pollutant values from nearest to bilinear interpolation to a given lat/long.

Unit test are also updated to remove duplicated test effort (e.g. testing AQI/pollutant value calculation again in formatting test)

cerberus is added as a library to validate a dictionary schema

I've also condensed the conda env file we had to include only dependencies we explicitly require + also making it work cross platform

github-actions[bot] commented 1 month ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
242 179 74% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
air-quality-backend/src/etl/forecast/forecast_adapter.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 960cdae by action🐍