air-quality-openaq

Downloads OpenAQ pollutant measurements and computes AQI-style indicators and kriging-based spatial estimates.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill air-quality-openaq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: air-quality-openaq
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/04-earth-science/air-quality-openaq
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill air-quality-openaq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Air quality researchers and analysts need a repeatable way to pull air pollution measurements, quantify exposure risk, and compare cities using consistent methods instead of manual, fragmented analysis.

Core Features & Use Cases

  • OpenAQ ingestion for pollutant time series: Download measurements like PM2.5/PM10/O3/NO2 by location using the OpenAQ API and prepare them for analysis.
  • Health exposure and guideline benchmarking: Convert concentrations into AQI-style indicators and assess exceedances against WHO and health thresholds.
  • Spatial interpolation with kriging: Use ordinary kriging to interpolate sparse station observations onto a grid and visualize both estimates and uncertainty.
  • Multi-city comparison: Compare annual means across cities and relate air quality to population-scaled exposure.

Quick Start

Use this skill to download OpenAQ PM2.5 data for a specified city and date range, then compute AQI-based daily summaries and compare the results to WHO guideline thresholds.

Frequently Asked Questions about air-quality-openaq

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download OpenAQ air quality measurements for a specific city?

To download OpenAQ air quality measurements, you query the OpenAQ API for PM2.5, PM10, O3, and NO2 time-series data by specifying your target city and date range. You can optionally use an OPENAQ_API_KEY for access.

Can I compare air pollution levels against WHO guideline thresholds?

Yes, you can compare air pollution levels against WHO guideline thresholds by converting raw pollutant concentrations into AQI-style indicators. This process assesses health exposure exceedances for your time-series data.

How does spatial interpolation with kriging handle sparse monitoring stations?

Spatial interpolation with kriging handles sparse monitoring stations by applying ordinary kriging with variogram modeling to estimate pollutant levels across a grid. This visualizes both spatial estimates and their uncertainty.

What is the best way to analyze seasonal pollution patterns across multiple cities?

The best way to analyze seasonal pollution patterns across multiple cities is to ingest OpenAQ time-series data, compute daily AQI-based summaries, and compare annual means alongside population-scaled exposure metrics.

Do I need an API key to process PM2.5 time-series data?

You do not strictly need an API key to process PM2.5 time-series data, as OpenAQ API access is available optionally. However, providing an OPENAQ_API_KEY is supported for reliable downloads.