Skip to content

openaq/openaq-fetch-evaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAQ fetch evaluation

This script checks the openaq-api in order to get the latest updates for openaq-fetch adapters, this will help to check which adapters have been still working correctly in which adapters may faling or needs updates in the node.js code.

Step 1: Clone the repo

git clone https://github.com/openaq/openaq-fetch-evaluation

Step 2: Getting location ID from openaq-api DB

SELECT sensor_nodes_id,site_name,source_name,city FROM sensor_nodes WHERE ismobile=False and source_name !='PurpleAir';

Save results as: data/adapters_id.csv

Step 3: Building docker image

cd openaq-fetch-evaluation/
docker-compose build

Step 4: Getting latest updates for adapters

docker-compose up

Outputs: data/adapters_update.csv and data/adapters_outdate.csv which can be used to the evaluations.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published