Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    FileNotFoundError
Message:      Couldn't find any data file at /src/services/worker/borrowchecker/iran-air-quality. Couldn't find 'borrowchecker/iran-air-quality' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/borrowchecker/iran-air-quality@a30fab2cbad920907681d6b6a4cf48c98938bd16/data/full_dataset.csv.zst' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.toml', '.md', '.lance', '.tsfile', '.vortex', '.fa', '.fasta', '.fna', '.ffn', '.faa', '.frn', '.afa', '.gb', '.gbk', '.genbank', '.fq', '.fastq', '.pdb', '.ent', '.cif', '.mmcif', '.PDB', '.ENT', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
                  config_names = get_dataset_config_names(
                      path=dataset,
                      token=hf_token,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                      path,
                  ...<4 lines>...
                      **download_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1178, in dataset_module_factory
                  raise FileNotFoundError(
                  ...<2 lines>...
                  ) from None
              FileNotFoundError: Couldn't find any data file at /src/services/worker/borrowchecker/iran-air-quality. Couldn't find 'borrowchecker/iran-air-quality' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/borrowchecker/iran-air-quality@a30fab2cbad920907681d6b6a4cf48c98938bd16/data/full_dataset.csv.zst' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.toml', '.md', '.lance', '.tsfile', '.vortex', '.fa', '.fasta', '.fna', '.ffn', '.faa', '.frn', '.afa', '.gb', '.gbk', '.genbank', '.fq', '.fastq', '.pdb', '.ent', '.cif', '.mmcif', '.PDB', '.ENT', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Iran Air Quality Dataset (Hourly, 2020–2026)

A 6-year, hourly, national-scale air quality dataset for Iran.

Rows 10,461,958 measurements
Stations 421 physical sensors
Time span 1399/01/01 → 1404/12/29 (Jalali) ≈ 2020-03-20 → 2026-03-20 (Gregorian)
Resolution Hourly
Pollutants PM2.5, PM10, NO2, O3, SO2, CO + AQI
Regions 31 provinces across Iran
Missingness Authentic — no imputation applied

Source

The data was collected from the Iranian Air Quality Monitoring System (AQMS), operated by the Department of Environment of Iran:

  • Portal: https://aqms.doe.ir
  • API endpoint: https://aqms.doe.ir/Home/GetAQIData/ (public, unauthenticated)
  • Access date: November 2026
  • Method: Hourly HTTP POST requests (Date=<jalali> HH:00, type=1) — one request per hour, per station, across the full 6-year window (~52,600 requests total)
  • Terms: The Iranian Department of Environment publishes hourly AQI measurements publicly through its dashboard; this dataset re-presents those measurements in a unified, cleaned, and documented format for research use

Users of this dataset should also cite the original source portal and respect its terms of use when re-distributing.

Why this dataset exists

Public air quality benchmarks — AirQualityBench, AQA, ChinaAirNet — cover North America, Europe, and East Asia but have no coverage of Iran or the wider Middle East. The Iran Air Quality Dataset fills that gap with a national-scale, hourly dataset that preserves authentic sensor missingness. The monitoring network grew from ~200 to ~420 stations during the collection window, so this dataset captures a live sensor deployment, not a static snapshot.

Dataset description

Each row is one AQI measurement at one physical station at one hour. The dataset is not imputed: stations that reported at 08:00 and went offline until 10:00 have only the 08:00 and 10:00 rows. This preserves the true reporting topology — critical for robustness studies, federated learning, and missingness-aware modeling.

Columns

Column Type Unit Description
timestamp_gregorian string — YYYY-MM-DD HH:MM:SS, UTC
timestamp_jalali string — YYYY/MM/DD HH:MM:SS, Iran Standard Time (UTC+3:30)
year_jalali int — Jalali year, 1399–1404
station_id string — state_en | station_en | station_fa — unique per physical sensor
AQI float index Air Quality Index, computed by the source as the maximum of the six pollutant sub-indices
Pollutant string — The pollutant that drove the AQI (e.g. PM 2.5, PM 10, NO2)
PM2_5 float µg/m³ PM2.5 mass concentration
PM10 float µg/m³ PM10 mass concentration
NO2 float ppb Nitrogen dioxide
O3 float ppb Ozone
SO2 float ppb Sulfur dioxide
CO float ppm Carbon monoxide
state_en string — Province (English)
state_fa string — Province (Persian)
station_en string — Station name (English)
station_fa string — Station name (Persian)

A null pollutant value means no measurement was recorded — not zero. A station without a PM2.5 sensor reports null for PM2_5 for its entire history.

Splits

The default split loads the complete 6-year dataset. For temporal evaluation, load a year-specific file from data/yearly/YYYY.csv.zst — the split boundaries are on Jalali New Year (≈ 21 March Gregorian).

Split Jalali Gregorian Rows Stations
1399 1399/01/01 → 1399/12/30 2020-03-20 → 2021-03-20 1,326,261 ~200
1400 1400/01/01 → 1400/12/29 2021-03-21 → 2022-03-20 1,511,469 ~350
1401 1401/01/01 → 1401/12/29 2022-03-21 → 2023-03-20 1,613,993 ~370
1402 1402/01/01 → 1402/12/29 2023-03-21 → 2024-03-19 1,711,794 ~400
1403 1403/01/01 → 1403/12/29 2024-03-20 → 2025-03-20 1,993,517 ~415
1404 1404/01/01 → 1404/12/29 2025-03-21 → 2026-03-20 2,304,924 ~420

Files

Downloads last month
42