AirQuality.city
Person monitoring data and charts across multiple screens with a coastal sunset view
Source: Sergei Tokmakov
Explainer

Data sources and methodology

This page documents the technical path of data through AirQuality.city, from a sensor or external source to the value shown on a map, chart or station page. It is deliberately kept apart from the shorter explainers so that the details can be precise here. A summary of the display rules is on How a measurement becomes a rating on the map.

Last updated: 10 November 2026.

Data groups shown on the portal

AirQuality.city combines three main groups of data:

  • measurements from its own SensorBox stations
  • publicly available data from official monitoring networks
  • meteorological data associated with local or external stations

From these the portal derives further values: a European Air Quality Index category for each pollutant and for the station as a whole, and a rating for each day.

Different sources retain different levels of validation and measurement quality. Displaying them on one portal does not give SensorBox data the regulatory standing of official monitoring data.

SensorBox stations

The project's own SensorBox stations typically use:

  • SDS011 for estimated PM2.5 and PM10 concentrations
  • BME280 for temperature, relative humidity and atmospheric pressure
  • a Raspberry Pi or comparable controller for collection, basic validation and transmission

A measurement cycle normally repeats about every two to three minutes. Several readings are collected during the cycle, the record is checked for basic technical validity and a processed value is stored.

SDS011 is an optical sensor. It estimates concentration from the light that particles scatter inside its measurement chamber. That allows frequent readings and a fairly dense local network, but its design and purpose differ from the reference analysers used at official monitoring stations.

The US Environmental Protection Agency (EPA) notes that low-cost sensor performance can be influenced by temperature, high relative humidity, calibration, ageing and how selective the sensor is for its target pollutant, and recommends real-world testing for more demanding applications.[1]

SensorBox siting

The immediate surroundings are part of the measurement. A sensor right beside a chimney, ventilation outlet or busy road may record that spot accurately while saying little about the rest of the neighbourhood.

Official external stations

The portal displays publicly available data from Croatia's national air quality monitoring network and from city, county and industrial networks. The main source is the national portal, Kvaliteta zraka u Republici Hrvatskoj (Air quality in the Republic of Croatia), which publishes current values, station metadata and historical data.[2]

Depending on location, official stations can measure PM2.5, PM10, NO₂, O₃, SO₂, CO and other pollutants. AirQuality.city displays only the data available in the original system that it can import correctly.

The national portal states that measurements arriving in real time are not official laboratory data and may change after later checks.[2] AirQuality.city therefore shows them as current measurements, not final figures.

Meteorological data

Weather data can come from BME280 sensors at local stations, meteorological instruments associated with official monitoring sites or another clearly identified source.

Temperature, humidity, pressure, wind speed and wind direction help explain air quality changes, but the weather shown beside a station is not always measured at the same point as the pollutant. When it comes from another station, the site says which one.

Timestamps and data freshness

The portal displays the time of the latest available valid measurement or processing step. Time is shown in the portal's local time zone, normally Europe/Zagreb, unless a specific source is documented differently.

If measurements stop arriving, the last known value does not become a new measurement. Station status depends on how long it has been since the most recent valid record, and an outdated reading is marked as such on the map.

A missing value never enters a calculation as zero: a pollutant without a valid measurement is simply not rated.

Which values feed the rating

The European index thresholds for each pollutant, what the categories mean and our own rule for a whole day are on the scale page, and the page on the air quality index covers the move from the US scale to the European Environment Agency (EEA) index.[3] This section covers which values the portal uses when it works out a rating.

  • For official stations, the latest hourly particle value is used. The portal fetches gases less often, every few hours, so each gas contributes its latest value as long as it is no more than six hours old.
  • For SensorBox stations, the latest reading is used, and a new one arrives every few minutes. The hourly thresholds are applied to it, even though the EEA computes the index from hourly values.[3]
  • If a station lacks some of the five index pollutants, the rating comes from the rest. SensorBox stations measure particles only.
  • Carbon monoxide (CO) is not part of the index: it has categories of our own and never changes a station's rating.
  • A station appears on the warnings page when its latest measurement is Poor or worse. It stays there until that measurement is more than two hours old for a SensorBox station, or twelve hours for an official one. A measurement counts as fresh for ten minutes at SensorBox stations and for four hours at official stations, which publish their measurements with a delay of about three hours. Once a measurement is no longer fresh, the warnings page shows “Station is not up to date” beside the station.

We do not take over the national portal's categories; we compute the rating ourselves from the measured concentrations, so the same station can show a different colour there and here.

A good rating means that the pollutants a station measures are in a good category. It does not mean every pollutant has been measured or that no other pollution is present.

Processing and technical checks

For local measurements, the portal can perform basic technical checks such as validating the record structure, rejecting incomplete messages, calculating the processed value within a measurement cycle and marking stale stations.

This processing does not turn a low-cost sensor into a reference instrument. Its purpose is to remove obvious technical failures and keep the time series consistent.

Limitations of optical particle sensors

Readings can be affected by:

  • high relative humidity, fog and condensation
  • temperature and airflow
  • particle size and optical properties
  • sensor placement and shielding
  • a pollution source right next to the sensor
  • contamination and ageing
  • variation between individual units of the same model

A single SensorBox result should therefore be read as local, informational monitoring. Trends over time and comparisons with other stations are generally more useful than an isolated value. The EPA regards such sensors as useful for general information about air quality and for supplemental monitoring.[1]

Official data and regulation

AirQuality.city does not provide an official assessment of compliance with legal limit or target values. Legal, professional and long-term analysis should rely on final validated data and reports from the competent authorities.

The portal is designed for fast insight, comparison and interpretation while keeping the limits of each data type visible.

Sources, licences and attribution

External data remains subject to the terms and licences of its original provider. Display on AirQuality.city does not transfer ownership or remove the user's obligation to check the original conditions before reusing data.

Map layers based on OpenStreetMap are shown with the required attribution.

Corrections and problem reports

If you notice a mislabelled station, implausible value, incorrect source, stale data or another problem, send the link, approximate time and a short description to contact@airquality.city.

Where appropriate, data can be corrected, flagged, temporarily hidden or checked against the original source.

Sources

  1. Frequent Questions About Air SensorsU.S. Environmental Protection Agency Accessed 2026-11-10
  2. Kvaliteta zraka u Republici HrvatskojMinistarstvo zaštite okoliša i zelene tranzicije Accessed 2026-11-10
  3. European Air Quality IndexEuropean Environment Agency Accessed 2026-11-10

All pages