Environment Canada GeoMet

App · 3 actions

Find Canadian climate stations, read their daily observations and react to published weather alerts.

Actions

ActionWhat it does
Find Canadian climate stationsSearch by station name and province or territory.
List Canadian daily climate observationsRead daily temperature and precipitation measurements for one station over an inclusive date range.
List Canadian weather alertsRead the most recently published alerts in a province or territory, with text in English and French when available.

Find Canadian climate stations

Search by station name and province or territory. Results include climate IDs and available daily observation dates.

Inputs

QueryquerytextRequired
Station name or a matching part of it, such as TORONTO.
Province or territoryprovincetext
Two-letter province or territory code, such as ON or SK.
Limitlimitnumber
Maximum results to return (1 to 100).From 1 to 100.
Offsetoffsetnumber
Number of matching records to skip.At least 0.

Outputs

dataobject
The response from Environment Canada GeoMet.
Example output
{
  "data": {
    "features": [
      {
        "id": "example",
        "properties": {
          "CLIMATE_IDENTIFIER": "example",
          "DLY_FIRST_DATE": "example",
          "DLY_LAST_DATE": "example",
          "PROV_STATE_TERR_CODE": "example",
          "STATION_NAME": "example"
        },
        "type": "example"
      }
    ],
    "links": [
      {
        "href": "example",
        "rel": "example"
      }
    ],
    "numberMatched": 1,
    "numberReturned": 1
  }
}

List Canadian daily climate observations

Read daily temperature and precipitation measurements for one station over an inclusive date range.

Inputs

Climate IDclimate_idtextRequired
Climate identifier from the station search, such as 6158355.
Start datestart_datedateRequired
First observation date, in YYYY-MM-DD format.
End dateend_datedateRequired
Last observation date, in YYYY-MM-DD format.
Limitlimitnumber
Maximum results to return (1 to 100).From 1 to 100.
Offsetoffsetnumber
Number of matching records to skip.At least 0.

Outputs

dataobject
The response from Environment Canada GeoMet.
Example output
{
  "data": {
    "features": [
      {
        "id": "example",
        "properties": {
          "CLIMATE_IDENTIFIER": "example",
          "LOCAL_DATE": "example",
          "MAX_TEMPERATURE": 1,
          "MEAN_TEMPERATURE": 1,
          "MIN_TEMPERATURE": 1,
          "STATION_NAME": "example",
          "TOTAL_PRECIPITATION": 1,
          "TOTAL_SNOW": 1
        },
        "type": "example"
      }
    ],
    "links": [
      {
        "href": "example",
        "rel": "example"
      }
    ],
    "numberMatched": 1,
    "numberReturned": 1
  }
}

List Canadian weather alerts

Read the most recently published alerts in a province or territory, with text in English and French when available.

Inputs

Province or territoryprovincetextRequired
Two-letter province or territory code, such as ON or SK.
Limitlimitnumber
Maximum results to return (1 to 100).From 1 to 100.
Offsetoffsetnumber
Number of matching records to skip.At least 0.

Outputs

dataobject
The response from Environment Canada GeoMet.
Example output
{
  "data": {
    "features": [
      {
        "id": "example",
        "properties": {
          "alert_name_en": "example",
          "alert_name_fr": "example",
          "alert_text_en": "example",
          "alert_text_fr": "example",
          "alert_type": "example",
          "expiration_datetime": "example",
          "feature_name_en": "example",
          "province": "example",
          "publication_datetime": "example",
          "risk_colour_en": "example",
          "status_en": "example"
        },
        "type": "example"
      }
    ],
    "links": [
      {
        "href": "example",
        "rel": "example"
      }
    ],
    "numberMatched": 1,
    "numberReturned": 1
  }
}

On this page