Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 723 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 723 Bytes

MSP_AQ_sensors

Small network of Purple Air sensors associated with lichens

A shell script, get_latest.sh uses the Purple Air API to pull data from all sensor IDs listed in the sensor file for the fields specified in fields, for the past month. Register with Purple Air to get an API key and add that key variable to a .env under .gitignore.

Fields to be pulled from the sensor include: sensor_index, humidity, temperature, pressure, voc, pm2.5_atm_a, pm2.5_atm_b. Field descriptions can be found here.

Each sensor will have a temporary file created with the past month's data that gets appended to a larger csv file for each sensor.