Basic Info

To get some basic info about all available parameters, use the following request. What you get is the parameter name, leveltype and level for all parameters

GET /api/category/{category}/version/{version}/parameter.json
Category For now, there are one category for the API, mesan2g.
Version When the API for a given category is changed, the version is increased. Old versions will be available for a limited time.

Parameter table

Basic information about the parameters. For now there are two level types, hmsl and hl. hmsl means mean sea level and hl means level above ground.

In the service, for some precipitation parameters you get the unit kg/m2/h. This is the same as mm/h.

For some of the parameters you can find more information.

Parameter Unit Level Type Level (m) Description Value range
t C hl 2 Air temperature Decimal number, one decimal
tmin C hl 2 Minimum air temperature Decimal number, one decimal
tmax C hl 2 Maximum air temperature Decimal number, one decimal
Tiw C hl 2 Wet bulb temperature Decimal number, one decimal
gust m/s hl 10 Wind gust speed Decimal number, one decimal
wd degree hl 10 Wind direction Integer
ws m/s hl 10 Wind speed Decimal number, one decimal
r % hl 2 Relative humidity Integer, 0-100
prec1h mm hl 0 Precipitation last hour Decimal number, one decimal
prec3h mm hl 0 Precipitation last three hours Decimal number, one decimal
prec12h mm hl 0 Precipitation last 12 hours Decimal number, one decimal
prec24h mm hl 0 Precipitation last 24 hours Decimal number, one decimal
frsn1h cm hl 0 Snow precipitation last hour Decimal number, one decimal
frsn3h cm hl 0 Snow precipitation last three hours Decimal number, one decimal
frsn12h cm hl 0 Snow precipitation last 12 hours Decimal number, one decimal
frsn24h cm hl 0 Snow precipitation last 24 hours Decimal number, one decimal
vis km hl 2 Horizontal visibility Decimal number, one decimal
msl hPa hmsl 0 Pressure reduced to medium sea level Integer
tcc octas hl 0 Total cloud cover Integer, 0-8
lcc octas hl 0 Low level cloud cover Integer, 0-8
mcc octas hl 0 Medium level cloud cover Integer, 0-8
hcc octas hl 0 High level cloud cover Integer, 0-8
c_sigfr % hl 0 Fraction of significant clouds Integer, 0-100
cb_sig m hmsl 0 Cloud base of significant clouds Integer
cb_sig m hmsl 0 Cloud base of significant clouds Integer
ct_sig m hl 0 Cloud top of significant clouds Integer
prtype code hl 0 Type of precipitation Integer, 0-6
pmax mm/h hl 0 Maximum precipitation Decimal number, one decimal
pmin mm/h hl 0 Minimum precipitation Decimal number, one decimal
pmedian mm/h hl 0 Median precipitation Decimal number, one decimal
pmean mm/h hl 0 Mean precipitation Decimal number, one decimal
prsort code hl 0 Sort of precipitation Integer, -9 or 1
spp % hl 0 Frozen part of total precipitation. Integer, -9 or 0-100
Wsymb2 code hl 0 Weather Symbol Integer, 1-27

More information for some parameters

Precipitation last 3, last 12 and last 24 hour(s) (prec3h, prec12h, prec24h)

Theese parameters are only available every third, 12:th and 24:th hour.

Snow precipitation last 3, last 12 and last 24 hour(s) (frsn3h, frsn12h, frsn24h)

Theese parameters are only available every third, 12:th and 24:th hour.

Precipitation type (prtype)

The precipitation type parameter value is an integer with a value range of 0 to 6. The meaning of the values are the following:

Value Meaning
-9 No precipitation
1 Stratiform precipitation

Precipitation sort (prsort)

The precipitation sort parameter value is an integer with a value range of 0 to 6. The meaning of the values are the following:

Value Meaning
0 No precipitation
1 Snow
2 Snow and rain
3 Rain
4 Drizzle
5 Freezing rain
6 Freezing drizzle

Percent of precipitation in frozen form (spp)

If there is no precipitation, the value of the spp parameter will be -9. Make sure you do handle this in your application!

Clod cover parameters

The cloud cover is splitted into four different parameters. They differ by the level above the ground.

Parameter Level
tcc The total cloud cover. How big part of the sky is covered by clouds.
lcc Low cloud cover. Clouds between 0 and 2500 meters.
mcc Medium cloud cover. Clouds between 2500 and 6000 meters.
hcc High cloud cover. Clouds above 6000 meters.

Weather Symbol

Wsymb2 consists of integers, 1 to 27. Every value represents a different kind of weather situation.

Value Meaning
1 Clear sky
2 Nearly clear sky
3 Variable cloudiness
4 Halfclear sky
5 Cloudy sky
6 Overcast
7 Fog
8 Light rain showers
9 Moderate rain showers
10 Heavy rain showers
11 Thunderstorm
12 Light sleet showers
13 Moderate sleet showers
14 Heavy sleet showers
15 Light snow showers
16 Moderate snow showers
17 Heavy snow showers
18 Light rain
19 Moderate rain
20 Heavy rain
21 Thunder
22 Light sleet
23 Moderate sleet
24 Heavy sleet
25 Light snowfall
26 Moderate snowfall
27 Heavy snowfall