Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Preliminary British Columbia fine-particle station readings for inspecting hourly particulate concentrations and their observation times.
Report a ProblemFrom Source to Product Signal
B.C. publishes an unverified PM2.5 CSV and a station metadata CSV. Start with five lines from the current pollutant file using a streaming read; the full file is several megabytes. The catalog record confirms its OGL-BC licence and warns that Metro Vancouver and Fraser Valley readings are excluded. These concentrations are not provider-reported AQI values.
Install the packages, then run the notebook cell.
python -m pip install requests
import csv
import itertools
import requests
url = ("https://www.env.gov.bc.ca/epd/bcairquality/aqo/csv/"
"Hourly_Raw_Air_Data/Air_Quality/PM25.csv")
with requests.get(url, stream=True, timeout=30) as response:
response.raise_for_status()
rows = csv.DictReader(response.iter_lines(decode_unicode=True))
for row in itertools.islice(rows, 5):
print(row["STATION_NAME"], row["DATE_PST"], row["RAW_VALUE"], row["UNITS"])Test a Useful Signal
Review five preliminary observations before station mapping.
Government of British Columbia is a government source. Last verified 2026-09-28. Temporal coverage: recent unverified hourly PM2.5 readings.