About

This API is made up by an two parts. One ATOM feed structure to specify a particular year, month and day and the data represented in the grib format. It contains four entry points for the different models.

Models

These are the different models exposed by the API.

HIROMB BS01 Atom feed for grib data in the Oceanographic Model. Up until 2016-01. Read more
NEMO Atom feed for grib data in the Oceanographic Model. Starting 2016-10. Read more
HIRLAM E11 Atom feed for grib data in the Meteorological Model. Up until 2014-03-18. Read more
MESAN Atom feed for grib data in the Meteorological Analysis. Up until 2016-05. Read more
AROME Atom feed for grib data in the Meteorological Model. Starting 2014-03-18. Read more
MESAN A Atom feed for grib data in the Meteorological Analysis. Starting 2016-06. Read more

For more information see grib format.

Structure

GET /feed/{type}

This is the entry point level. It contains links to the available years.

GET /feed/{type}/{year}

This is the year level. It contains links to the available months.

GET /feed/{type}/{year}/{month}

This is the monthb> level. It contains links to the available days.

GET /feed/{type}/{year}/{month}/{day}

This is the day level. It contains links to the actual data.

GET /feed/{type}/{year}/{month}/{day}/{data}

This is the actual data represented in the grib format.

Parameters

{type} Numeric value. Valid values are:
  • 2 (HIROMB BS01)
  • 3 (HIRLAM E11)
  • 4 (MESAN)
  • 5 (AROME)
  • 6 (MESAN A)
  • 7 (NEMO)
{year} Numeric value. Specifying the year of the data.
{month} Numeric value. Specifying the month of the data.
{day} Numeric value. Specifying the day of the data.
{data} String value. The name of the data.

Examples

Example request and response for the different ATOM levels. This response in not complete for the sake of readability.

GET /feed/2
...

GET /feed/2/2008
...

GET /feed/2/2008/06
...

GET /feed/2/2008/06/23
...

Licence

SMHI Open Data API is published under these Terms and conditions.