SJVAir Toolkit

Command-line tool and Python client for SJVAir — a network of air quality monitors across California’s San Joaquin Valley.

Install

pip install sjvair

Map and timelapse generation need the optional maps extra (pip install sjvair[maps]) plus ffmpeg on PATH for timelapse videos — see Map generation.

Where to next

Commands

Bulk data export, static maps, and timelapse videos from the command line.

Usage
Python

Scriptable access to monitors, regions, and every integrated dataset.

Usage

Air Quality

Beyond SJVAir’s own fleet, the CLI and client can filter monitors by these integrated networks with --device:

PurpleAir

Community-operated network of low-cost consumer PM2.5 sensors.

--device PurpleAir

Filtering by device
AirNow

EPA’s national real-time feed of regulatory-grade air monitors.

--device AirNow

Filtering by device
AQview

CARB’s public viewer aggregating California’s community monitoring networks.

--device AQview

Filtering by device
BAM1022

Met One BAM-1022 beta attenuation monitors — regulatory-grade PM.

--device BAM1022

Filtering by device
AQLite

2B Technologies AQLite regulatory-grade ozone (O3) monitors.

--device AQLite

Filtering by device
AirGradient

Open-source air quality monitor hardware.

--device AirGradient

Filtering by device
VOZBox

Community-deployed air monitors.

--device VOZBox

Filtering by device

Other Datasets

Beyond SJVAir’s own network of air quality monitors, the CLI and client can pull in several third-party datasets:

CalEnviroScreen

OEHHA / CalEPA cumulative pollution-burden scores by census tract.

sjvair calenviroscreen5

CalEnviroScreen
CalHeatScore

CalEPA daily ZIP-code-level heat-risk scores for the San Joaquin Valley.

sjvair calheatscore

CalHeatScore
Facility Emissions

CARB permitted stationary emissions sources (facilities).

sjvair ceidars

Facility Emissions
Fire & Smoke

NOAA satellite-derived smoke plume and fire detections.

sjvair hms

Fire & Smoke
Pesticides

CDPR mandatory agricultural pesticide use reports.

sjvair pesticides

Pesticides
Forecasts

SJVAPCD daily air quality forecasts by San Joaquin Valley county zone.

sjvair forecasts

Forecasts
CIMIS

California’s irrigation-management weather station network — also the source of SJVAir’s meteorological entry types.

--device CIMIS

Filtering by device

Released under the MIT License.