Irish Weather API

Intro

This page lists most of the Met Éireann open data and has a description & sample queries for the datasets available from this site.

Met Eireann WeatherForecast API

The Met Éireann WDB API outputs a detailed point forecast in XML format for a coordinate point as defined by the user. Data is output in (i) 1-hour intervals out to 90 hours, (ii) three-hour intervals from 90h to 144 hours, and (iii) six-hour intervals from 144 hours out to 240 hours.

MÉ endpoint: http://metwdb-openaccess.ichec.ie/metno-wdb2ts/locationforecast?lat=54.7210798611;long=-8.7237392806

MÉ's doc about the api (.odt download)

Sample Query

Wind Direction and rain for Galway City

{
  forecast(lat: "53.27", long: "-9.04") {
    forecasts {
      from
      to
      mainForecast {
        windDirection {
          name
        }
      }
      precipitationForecast {
        precipitation {
          value
        }
      }
    }
  }
}

Response

{
  "data": {
    "forecast": {
      "forecasts": [
        {
          "from": "2020-06-19T10:00:00Z",
          "to": "2020-06-19T10:00:00Z",
          "mainForecast": {
            "windDirection": {
              "name": "SW"
            }
          },
          "precipitationForecast": {
            "precipitation": {
              "value": 0
            }
          }
        },
        {}, {}, ...
      ]
    }
  }
}

Met Eireann Live Text Forecst Data

data.gov.ie link

Met Éireann have made available a feed of meteorological data for providing content to 3rd party websites.The service consists of the products as detailed below. Please Note: Data may be subject to dropouts and temporary interruptions.

Farming Commentary

MÉ endpoint: https://www.met.ie/Open_Data/xml/fcom.xml

Sample Query

{
  farmingForecast {
    issued
    rain {
      title
      text
    }
    drying_conditions {
      title
      text
    }
  }
}

Response

{
  "data": {
    "farmingForecast": {
      "issued": "2020-06-18T14:00:00+01:00",
      "rain": {
        "title": "Rain",
        "text": "Over the past seven days, rainfall amounts were well below normal in many central and northern and northwestern areas with less than 40% of the average. In the southwest, amounts were closer to or above normal. However, some eastern and southern areas were well above normal with around 200% of the average. With further heavy showers today and heavy rain later before more frontal rain over the weekend and early next week, rainfall amounts will likely be above average in all areas over the coming week with the southwest likely to be closer to normal."
      },
      "drying_conditions": {
        "title": "Drying Conditions",
        "text": "Drying conditions will be poor at times with rain and showers. The best opportunities will be on Sunday after the overnight rain clears and later next week."
      }
    }
  }
}

Present Observations

MÉ endpoint: https://www.met.ie/Open_Data/xml/obs_present.xml

Sample Query

{
  presentObservations(stations: [ATHENRY, NEWPORT_MAYO]) {
    stations {
      name
      symbol
      weather_text
    }
  }
}

Response

{
  "data": {
    "presentObservations": {
      "stations": [
        {
          "name": "Athenry",
          "symbol": "scattered_clouds.png",
          "weather_text": "FAIR"
        },
        {
          "name": "NewportMayo",
          "symbol": "no_data.png",
          "weather_text": "--"
        }
      ]
    }
  }
}

Web 3-day Forecast

MÉ endpoint: https://www.met.ie/Open_Data/xml/web-3Dayforecast.xml

Note that not all counties/locations are included, this is a response for all 'stations'

Sample Query

{
  webThreeDayForecast {
    stations {
      location
      days {
        date
        min_temp
      }
    }
  }
}

Response

{
  "time": "2020-06-19T10:00:00",
  "issued": "2020-06-19T05:00:00",
  "stations": [
    { "id": "03969", "location": "Dublin", "days": [Array] },
    { "id": "03956", "location": "Wexford", "days": [Array] },
    { "id": "03955", "location": "Cork", "days": [Array] },
    { "id": "03953", "location": "Kerry", "days": [Array] },
    { "id": "03985", "location": "Galway", "days": [Array] },
    { "id": "03978", "location": "Donegal", "days": [Array] },
    { "id": "03966", "location": "Offaly", "days": [Array] },
    { "id": "03970", "location": "Mayo", "days": [Array] },
    { "id": "03917", "location": "Belfast", "days": [Array] }
  ]
}

Be more specific like this...

{
  webThreeDayForecast(locations: [GALWAY, MAYO, SLIGO]) {
    stations {
      location
      days {
        date
        min_temp
      }
    }
  }
}

Sligo will be ignored.

Coastal Reports

MÉ endpoint: https://www.met.ie/Open_Data/xml/xcoastal.xml

Sample Query

{
  coastal {
    title
    validTime
    reports {
      label
      text
    }
  }
}

Response

{
  "data": {
    "coastal": {
      "title": "COASTAL REPORTS",
      "validTime": "2020-06-19T11:00:00+01:00"
      "reports": [
        {
          "label": "Malin Head Automatic",
          "text": "South-Southeast, 6 Knots, Cloudy, 10 Miles, 1008, Steady"
        },
        {
          "label": "Dublin Airport",
          "text": "West-Southwest, 10 Knots, Light drizzle, 2 Miles, 1009, Rising slowly"
        },
        {},{}
      ]
    }
  }
}

Sea Crossings Forecast

MÉ endpoint: https://www.met.ie/Open_Data/xml/fcom.xml

Sample Query

{
  seaCrossing {
    title
    crossingValid {
      validTime
    }
    crossReports {
      label
      text
    }
  }
}

Response

{
  "data": {
    "seaCrossing": {
      "title": "SEA CROSSINGS FORECAST",
      "crossingValid": {
        "validTime": "2020-06-21T12:00:00+01:00"
      },
      "crossReports": [
        {
          "label": "Dublin - Holyhead",
          "text": "Slight, increasing moderate on Saturday afternoon"
        },
        {},
        {}
      ]
    }
  }
}

Inland Lakes Forecast

MÉ endpoint: https://www.met.ie/Open_Data/xml/xInland_Lake_Forecast.xml

Sample Query

{
  inlandLakeForecast {
    title
    issued
    overView {
      text
    }
    lakes {
      area
      visibility
    }
  }
}

Response

{
  "data": {
    "inlandLakeForecast": {
      "title": "INLAND LAKES FORECAST",
      "issued": "2020-06-19T12:30:00+01:00",
      "overView": {
        "text": "An occluded front over Leinster and Ulster moves slowly northwards with a moderate southerly airflow ahead of it and moderate to fresh westerly airflow following it."
      },
      "lakes": [
        {
          "area": "\r\nForecast for Lough Derg for daylight hours today:\r\n",
          "visibility": " Mostly good, decreasing moderate or poor in any showers."
        },
        {
          "area": "\r\nForecast for Lough Ree for daylight hours today:\r\n",
          "visibility": " Mostly good, decreasing moderate or poor in any showers."
        },
        {
          "area": "\r\nForecast for Lough Corrib and Lough Mask for daylight hours today:\r\n",
          "visibility": " Mostly good, decreasing moderate or poor in any showers."
        },
        {
          "area": "\r\nForecast for Lough Key and Lough Allen for daylight hours today:\r\n",
          "visibility": " Mostly good, decreasing moderate or poor in any showers."
        }
      ]
    }
  }
}

Regional Forecast

Available Regions: Connacht, Leinster, Ulster, Munster, Dublin

MÉ endpoint (Connacht): https://www.met.ie/Open_Data/xml/xConnacht.xml

MÉ endpoint (Leinster): https://www.met.ie/Open_Data/xml/xLeinster.xml

MÉ endpoint (Munster): https://www.met.ie/Open_Data/xml/xMunster.xml

MÉ endpoint (Ulster): https://www.met.ie/Open_Data/xml/xUlster.xml

MÉ endpoint (Dublin): https://www.met.ie/Open_Data/xml/xDublin.xml

Sample Query

{
  regionalForecast(region: CONNAUGHT) {
    issued
    tomorrow
    pollen
  }
}

Response

{
  "data": {
    "regionalForecast": {
      "issued": "2020-06-19T11:30:00+01:00",
      "tomorrow": "Any early bright or sunny spells  on Saturday will soon give way to increasing cloud from the Atlantic with patchy rain and drizzle developing during the morning. More persistent rain will move in from the southwest during the afternoon, with some heavy bursts in places. It will become windy too, with moderate to fresh and blustery southeasterly winds developing during the morning, becoming strong to near gale in coastal areas. Maximum temperatures of 16 to 18 degrees.\r\n",
      "pollen": "Moderate on Friday and Saturday\r\n"
    }
  }
}

National Forecast

MÉ endpoint: https://www.met.ie/Open_Data/xml/xNational.xml

Sample Query

{
  nationalForecast {
    issued
    today
    outlook
  }
}

Response

{
  "data": {
    "nationalForecast": {
      "region": "National",
      "issued": "2020-06-19T13:39:31+01:00",
      "today": "Through this afternoon and evening, rain over much of Leinster, Ulster, east Munster and east Connacht will gradually clear to the northeast. Brighter weather following from the west and south with some showers. Highest temperatures of 15 to 19 degrees with light to moderate westerly or variable breezes.\r\n",
      "outlook": "Summary: Fresher and breezier this weekend. Changeable with rain at times. \\n\\nSaturday night: Remaining outbreaks of rain in the north and east clearing overnight with clear spells developing. Scattered showers will, however, follow from the Atlantic to affect mainly parts of the west and north overnight. Minimum temperatures of 10 or 11 degrees in moderate to fresh southwest winds, strong near Atlantic coasts...."
    }
  }
}

National Outlook

MÉ endpoint: https://www.met.ie/Open_Data/xml/xOutlook.xml

Sample Query

{
  outlook {
    issued
    outlook
  }
}

Response

{
  "data": {
    "outlook": {
      "issued": "2020-06-19T04:00:00+01:00",
      "outlook": "Summary: Fresher and breezier this weekend. Changeable with rain at times. \\n\\nSaturday night: Remaining outbreaks of rain in the north and east clearing overnight with clear spells developing. Scattered showers will, however, follow from the Atlantic to affect mainly parts of the west and north overnight. Minimum temperatures of 10 or 11 degrees in moderate to fresh southwest winds, strong near Atlantic coasts...."
    }
  }
}

Weather Warnings

MÉ endpoint: https://www.met.ie/Open_Data/xml/xWarningPage.xml

Sample Query

{
  warning {
    globalAwarenessLevel {
      text
      colourcode
    }
    warnType {
      warningType {
        issueTime
        validFromTime
        validToTime
        header
        warnText
      }
    }
  }
}

Response

{
  "data": {
    "warning": {
      "globalAwarenessLevel": {
        "text": "Yellow",
        "colourcode": "#FFFF00"
      },
      "warnType": [
        {
          "warningType": [
            {
              "issueTime": "2020-06-19T12:00:01+01:00",
              "validFromTime": "2020-06-20T08:00:01+01:00",
              "validToTime": "2020-06-20T19:00:01+01:00",
              "header": "Wind Warning for Galway, Mayo, Clare, Cork and Kerry",
              "warnText": "On Saturday, in coastal areas and on exposed hills and mountains, southerly winds will reach mean speeds of 45 to 60 km/hr with gusts of 80 to 100 km/hr"
            },
            {
              "issueTime": "2020-06-19T11:00:01+01:00",
              "validFromTime": "2020-06-20T10:00:01+01:00",
              "validToTime": "2020-06-20T22:00:01+01:00",
              "header": "Rainfall Warning for Cork, Kerry and Waterford",
              "warnText": "On Saturday, from late morning onwards: Spells of heavy rain with amounts of 25 to 35 mm and spot flooding. Reduced visibility and hazardous driving conditions."
            }
          ]
        },
        {
          "warningType": [
            {
              "issueTime": "2020-06-19T11:00:00+01:00",
              "validFromTime": "",
              "validToTime": "",
              "header": "",
              "warnText": "Southerly gales developing on Saturday morning on coasts from Mizen Head to Slyne Head to Erris Head"
            }
          ]
        },
        {
          "warningType": [
            {
              "issueTime": "2020-06-19T11:00:00+01:00",
              "validFromTime": "",
              "validToTime": "",
              "header": "",
              "warnText": "Southwest winds will occasionally reach force 6 this afternoon and evening on Irish Coasts from Carnsore Point to Dungarvan to Roches Point."
            }
          ]
        },
        {
          "warningType": [
            {
              "issueTime": "2020-06-19T12:00:00+01:00",
              "validFromTime": "",
              "validToTime": "",
              "header": "",
              "warnText": "Weather conditions conducive to the spread of potato blight across Ireland..."
            }
          ]
        }
      ]
    }
  }
}

County Forecast

MÉ endpoint: https://www.met.ie/Open_Data/xml/county_forecast.xml

Sample Query

{
  countyForecast(counties: [GALWAY, MAYO]) {
    counties {
      name
      days {
        date
        min_temp
      }
    }
  }
}

Response

{
  "data": {
    "countyForecast": {
      "counties": [
        {
          "name": "GALWAY",
          "days": [
            {
              "date": "2020-06-19T00:00:00",
              "min_temp": 9
            },
            {
              "date": "2020-06-20T00:00:00",
              "min_temp": 11
            },
            {
              "date": "2020-06-21T00:00:00",
              "min_temp": 10
            },
            {
              "date": "2020-06-22T00:00:00",
              "min_temp": 8
            }
          ]
        },
        {
          "name": "MAYO",
          "days": [
            {
              "date": "2020-06-19T00:00:00",
              "min_temp": 9
            },
            {
              "date": "2020-06-20T00:00:00",
              "min_temp": 11
            },
            {
              "date": "2020-06-21T00:00:00",
              "min_temp": 10
            },
            {
              "date": "2020-06-22T00:00:00",
              "min_temp": 8
            }
          ]
        }
      ]
    }
  }
}

Query All Counties

{
  countyForecast {
    counties {
      name
      days {
        date
        min_temp
      }
    }
  }
}

Todays's Weather

MÉ API endpoint: https://prodapi.metweb.ie/observations/<stationName>/today

  • Can query one station at a time but for multiple times.

Sample Query

{
  todaysWeather(station: VALENTIA_OBSERVATORY, times: [_1, _14]) {
    hourly {
      reportTime
      temperature
      symbol
      weatherDescription
      cardinalWindDirection
    }
  }
}

Response

{
  "data": {
    "todaysWeather": {
      "hourly": [
        {
          "reportTime": "01:00",
          "temperature": "10",
          "symbol": "04n",
          "weatherDescription": "Cloudy",
          "cardinalWindDirection": "NE"
        },
        {
          "reportTime": "14:00",
          "temperature": "15",
          "symbol": "04d",
          "weatherDescription": "Cloudy",
          "cardinalWindDirection": "W"
        }
      ]
    }
  }
}

Note that it's observations, so can't get them until that hour has passed!

Monthly Weather

MÉ endpoint https://prodapi.metweb.ie/monthly-data/<StationName>

This file contains a list of list of monthly totals/averages for our synoptic station in Athenry. The file is updated daily. Values for each month include: Name; Report; Year; Month; Total rainfall in millimetres; Mean dry bulb temperature in degrees; Mean 10cm soil temperature in degrees; Total global solar radiation; Total potential evaporation; Total evaporation; Degree days below 15.5 degrees celcius

Sample Query

{
  monthlyWeather(station: ATHENRY) {
    station
    up_to
    total_rainfall {
      report {
        _2017 {
          january
        }
      }
      report {
        _2018 {
          january
        }
      }
    }
  }
}

Response

{
  "data": {
    "monthlyWeather": {
      "station": "Athenry",
      "up_to": "18-06-2020",
      "total_rainfall": {
        "report": {
          "_2017": {
            "january": "47.4"
          },
          "_2018": {
            "january": "173.2"
          }
        }
      }
    }
  }
}

Yesterday's Weather

MÉ endpoint https://prodapi.metweb.ie/observations/<StationName>/yesterday

(there's one for each of the 25 main weather stations)

Sample Query

{
  yesterdaysWeather(station: SHERKIN_ISLAND) {
    hourly {
      reportTime
      windSpeed
    }
  }
}

Response

{
  "data": {
    "yesterdaysWeather": {
      "hourly": [
        {
          "reportTime": "00:00",
          "windSpeed": "11"
        },
        {
          "reportTime": "01:00",
          "windSpeed": "6"
        },
        {
          "reportTime": "02:00",
          "windSpeed": "6"
        },{},{}
      ]
    }
  }
}

Agricultural Data Report

MÉ endpoint https://prodapi.metweb.ie/agriculture/report

This links to a file called report.json which contains Agricultural Meteorology Data for the past 7 days for a number of synoptic weather stations. The file is updated daily. Notes on the table All data are averaged or summed over the 7 day period A blank entry means that data were not available Normal means 30 year means from 1981 to 2010 Temp: Average Air Temperature and difference from normal in degrees C Rain: Total rainfall in mm and % of normal Sun: Total sunshine duration in hours and % of normal Soil: Average 10cm soil temperature in degrees C and difference from normal Wind: Average wind speed in knots and difference from normal Radiation: Total solar radiation in Joules/cm2 and % of normal

Sample Query

{
  agriculturalDataReport {
    valid {
      from
      to
    }
    station {
      name
      soil {
        text
        unit
      }
      
    }
  }
}

Response

{
  "data": {
    "agriculturalDataReport": {
      "valid": {
        "from": "2020-06-12T00:00:00+00:00",
        "to": "2020-06-18T22:59:59+00:00"
      },
      "station": [
        {
          "name": "Ballyhaise",
          "soil": {
            "text": "16.6",
            "unit": "C"
          }
        },
        {
          "name": "Belmullet",
          "soil": {
            "text": "16.6",
            "unit": "C"
          }
        },
        {
          "name": "Gurteen",
          "soil": {
            "text": "15.9",
            "unit": "C"
          }
        },{},{}
      ]
    }
  }
}

Daily Data

MÉ endpoint (.csv download): https://cli.fusio.net/cli/climate_data/webdata/dly2275.csv

  • The above uri is for VALENTIA_OBSERVATORY

  • There is an endpoint like this for each station ending with dly<StationNumber>.csv

  • use Station Details to retrieve StationNumbers

Sample Query

{
  dailyData(station: CORK_AIRPORT) {
    date
    rain
  }
}

Response

{
  "data": {
    "dailyData": [
      {
        "date": "01-jan-1962",
        "rain": null
      },
      {
        "date": "02-jan-1962",
        "rain": null
      },
      {
        "date": "03-jan-1962",
        "rain": null
      },{},{}
    ]
  }
}

Other queries

Station Names Lowercase

Get a list of station names suitable for Today's Weather and Yesterday's Weather queries.

{
  stationNames
}

Station Details

MÉ endpoint: http://cli.fusio.net/cli/climate_data/webdata/StationDetails.csv

Details of all Met Éireann's rainfall, climate and synoptic weather stations, both open and closed. Details include: County, Station Number, Name, Height (m), Easting, Northing, Latitude, Longitude, Open Year, Close Year

  • There are loads of stations in this file. MÉ have 25 main stations. The Five airport ones are 'manned' and 20 others are automatic.

  • Because it's an easy way to make coordinates available for the main stations, I added "main": "true" to the 25 main stations.

  • Note Johnstown Castle, Roches Point, Sherkin Island & Mullingar have two stations, don't know which is correct but guessed the ones opened most recently.

Query for the 25 main weather stations

{
  stationDetails(stationType: MAIN) {
    name
    county
    latitude
    longitude
    openYear
    heightInMeters
  }
}

Response

{
  "data": {
    "stationDetails": [
      {
        "name": "Cork_Airport",
        "county": "Cork",
        "latitude": 51.842,
        "longitude": -8.485,
        "openYear": 1961,
        "heightInMeters": 155
      },
      {
        "name": "Moore_Park",
        "county": "Cork",
        "latitude": 52.158,
        "longitude": -8.258,
        "openYear": 2003,
        "heightInMeters": 46
      },{},{}
    ]
  }
}

TODO Resources

<StationName> Monthly Data
<StationName> Hourly Data
<StationName> Rainfall Data
<StationName> Climate Data
1981-2010 Rainfall Grid
1981-2010 Temperature Grid
Archived Regional Forecast
Archived Sea Area Forecast
Archived National Forecast
Rainfall Radar
Archived Weather Warning
MÉRA (Met Éireann ReAnalysis) Climate Reanalysis

Notes

  • Keys in the data have mostly been changed to camelCase though there are some inconsistencies
  • Wherever a key begins with a number, changed it to _number
  • All quotes on this page are from Met Éireann via data.gov.ie. and obviously all data is theirs to.
  • Please note that if you display any Met Éireann Live Text Forecast Data or data from the Forecast API on a webpage you must also display their weather warnings. Here's a link to download the licence.