En français

ECCC logo

TOC > MSC Data > AQHI > AQHI data in GeoJSON on MSC Datamart

Air Quality Health Index (AQHI) observation and forecast data in GeoJSON format

This page describes the the observation and forecast data available in GeoJSON format for the Air Quality Health Index AQHI.

Data location

HPFX data can be automatically retrieved with the Advanced Message Queuing Protocol (AMQP) as soon as they become available. An overview and examples to access and use the Meteorological Service of Canada's open data is also available.

The data is available via the HTTPS protocol. It is possible to access it with a web browser. In this case, we obtain a list of links giving access to a GeoJSON file.

The data can be accessed at the following address:

With:

* atl: Atlantic region 
* ont: Ontario region 
* pnr: Prairie and Northern Region 
* pyr: Pacific and Yukon Region
* que: Quebec region

A complete list of locations, with the codes of CGNDB, Canada's toponymic data maintained by Natural Resources Canada, is available in GeoJSON format.

File name nomenclature

NOTE: ALL HOURS ARE IN UTC.

File names have the form:

Observations

{YYYYMMDD}T{HH}{mm}Z_MSC_AQHI-Observation_{CGNDBcode}.json

where:

  • YYYYMMDD : Year, month and day of the observation
  • T : Time delimiter according to ISO8601 norms
  • HH : UTC time of the observation
  • mm : Minute of the observation
  • Z : Refers to UTC time
  • MSC : Constant string indicating the Meteorological Service of Canada, source of data
  • AQHI : Constant string for "Air Quality Health Index"
  • Observation : Constant string for AQHI observation
  • CGNDBcode : A 5-letter CGNDB code which identifies each AQHI community.
  • json : Constant string for GeoJSON format

Forecasts

{YYYYMMDD}T{HH}{mm}Z_MSC_AQHI-Forecasts_{CGNDBcode}.json   

where:

  • YYYYMMDD : Year, month and day of the forecast issue time
  • T : Time delimiter according to ISO8601 norms
  • HH : Hour of the forecast issue time
  • mm : Minute of the forecast issue time
  • Z : Refers to UTC time
  • MSC : Constant string indicating the Meteorological Service of Canada, source of data
  • AQHI : Constant string for "Air Quality Health Index"
  • Forecasts : Constant string for AQHI forecasts
  • CGNDBcode : A 5-letter CGNDB code which identifies each AQHI community.
  • json : Constant string for GeoJSON format

Notes

  • The GeoJSON observation files are produced hourly, at approximately 40 minutes past the hour. The GeoJSON public forecast files are issued twice per day at approximately 6am and 5pm local time.

  • When forecast data is amended, a parameter associated with the file status is updated accordingly in the GeoJSON file.

  • Air quality observations are provided by provinces and municipalities. Provincial jurisdictions also control how observations are communicated to the public. Quebec did not agree to the publication of current air quality in the form of an air quality health index (AQHI). This explains why no observation are available at the address: http://hpfx.collab.science.gc.ca/YYYMMDD/WXO-DD/air_quality/aqhi/que/observation/realtime/json. However, the Ministère du Développement durable, Environnement et Lutte contre les changements climatiques (MDDELCC) and Ville de Montreal also redistribute some of their data on the American AirNow portal.

Support

If you have any questions about this data, please contact us.

Announcements from the dd_info mailing list

Announcements related to this dataset are available in the dd_info list.