Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from
May 16, 2024

Conversation

amehta-scottlogic
Copy link
Collaborator

@amehta-scottlogic amehta-scottlogic commented May 16, 2024

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

Copy link

github-actions bot commented May 16, 2024

☂️ 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🐍

@amehta-scottlogic amehta-scottlogic merged commit 2311ef5 into main May 16, 2024
1 check passed
@amehta-scottlogic amehta-scottlogic deleted the feature/bilinear-interpolation branch May 16, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants