GitHub
X

DMI Forecast API

Weather forecasts from the Danish Meteorological Institute

Location and Time

Location:
API Mode:
Time:

Forecast provides the latest, continuously updated weather forecast. By default, we provide forecasts for 3 days, but you can access forecasts for up to 15 days. Use Past Days to include recently archived forecasts.

For older archived forecasts, switch to mode.

You can also check out our Historical Weather API with data going back to 1940.

Hourly Weather Variables

Daily Weather Variables

Settings

Usage licence:

API Response

Preview:
API URL (Open in new tab or copy this URL into your application)

Data Sources

DMI provides weather forecasts from the HARMONIE AROME model with ECMWF IFS initialization. This is a collaboration of multiple European national weather services under the name "United Weather Centres-West" (UWC-West). Forecasts for Europe use 2 km resolution and provide a large range of weather variables. All data is updated every 3 hours and provides forecast for up to 2.5 days. After 2.5 days, Open-Meteo combines forecasts with the ECMWF IFS HRES 9 km model to provide up to 15 days of forecast.

You can find the update timings in the model updates documentation.
Weather ModelRegionSpatial ResolutionTemporal ResolutionForecast LengthUpdate frequency
DMI HARMONIE AROME DINI
European Union
Central & Northern Europe up to Iceland (green area below)
2 kmHourly2.5 daysEvery 3 hours
DMI HARMONIE AROME DINI Model Area. Source: Open-Meteo.

Native Model Variables

HARMONIE AROME DINI directly predicts the fields listed below. Open-Meteo retains these fields or uses them to calculate more convenient API variables. Notably, DMI provides direct solar radiation, 10 m wind speed and direction, and a 2 m cloud cover (fog) field natively.

Native DMI fieldLevelUse in the Open-Meteo API
Temperature2 m, 50/100/150/250 m, surfacetemperature_2m and upper-level temperature
Relative humidity2 mRelative humidity and dew point
Wind speed and direction (10 m), U/V components (aloft)10 m to 450 mwind_speed_10m and upper-level wind
Wind gusts10 mwind_gusts_10m
Mean sea-level pressureMean sea levelpressure_msl and derived surface pressure
Precipitation and snowfall water equivalentSurfaceprecipitation, rain, snowfall
Direct solar radiationSurfaceGlobal, direct, diffuse radiation, DNI and GTI
Cloud cover total, low, mid, high and fog fractionSurfacecloud_cover, layers and cloud_cover_2m
CAPE, convective inhibition, visibility, cloud base and top, freezing levelSurfaceCorresponding API variables and weather-code inputs

Pressure-level data is not available for this model.

Derived Variables

HARMONIE AROME DINI publishes an unusually complete set of native fields, including direct solar radiation, 10 m wind speed and direction, CAPE, convective inhibition and a 2 m cloud cover (fog) field. The remaining API variables are derived by Open-Meteo.

Derived VariableHow it is derived?
Wind speed and direction at heightCalculated from the native U and V wind components at 50 m to 450 m, corrected for the Lambert projection. The 10 m wind is native and needs no correction.
Diffuse radiation and DNIDiffuse radiation is global minus native direct radiation. DNI follows from native direct radiation and solar geometry, together with GTI and instant values.
Weather codeComputed from cloud cover, precipitation, snowfall, wind gusts, CAPE, convective inhibition and visibility, so thunderstorm codes are possible.
Snowfall and rainSnowfall converts the native snowfall water equivalent with 0.7 cm per mm. Rain is total precipitation minus the snowfall water equivalent.
Dew point, vapour pressure deficit and wet bulb temperatureCalculated from native 2 m temperature and relative humidity.
Surface pressureCalculated from mean sea-level pressure, 2 m temperature and terrain elevation.
Sunshine durationSeconds per hour with native direct normal irradiance above the WMO threshold of 120 W/m².
Apparent temperature and reference evapotranspiration ET₀Combine temperature, humidity, wind speed and solar radiation. ET₀ follows the FAO-56 Penman-Monteith equation.

Sunrise, sunset, daylight duration and the day-or-night flag are astronomical calculations. Daily values are aggregated from hourly data.

API Documentation

For a detailed list of all available weather variables please refer to the general Weather Forecast API. Only notable remarks are listed below

  • Direct Solar Radiation: DMI provides direct solar radiation. Many other weather models only provide global solar radiation and direct solar radiation must be calculated user separation models.
  • Direct Normalized Irradiance (DNI): Although DNI is available, it has not been integrated. Open-Meteo uses solar position algorithms which calculate DNI from direct radiation with (almost) the same results.
  • Wind Direction Correction: Wind direction has been calculated from U/V wind component vectors. Special care has been taken to correct for the Lambert Conformal Conic projection. Without this correction, wind directions have an error of up to 15°.
  • Cloud Cover (2m): DMI provides cloud cover at 2 metre abouve ground which can be interpreted as fog. This is remarkable, because only very weather models are capable of modeling low level cloud cover and fog with a good degree of accuracy.