Reference
Coded Weather

Coded Weather

The weather for each period is provided in a coded format to allow for more custom implementations where the provided weather phrasing and icons are not desired. The weatherCoded field provides the complete listing of weather codes broken up by time periods within its parent period, which gives the start times when a particular weather type is expected to begin. A single weather code is given for the entire period in the weatherCodedPrimary field, which is the weather type across all periods with the highest priority.

The weather codes are given in the following standard format:

[coverage]:[intensity]:[weather]

For example, the following code suggests that there is a slight chance (S) for light (L) rain showers (RW) for the period:

S:L:RW

If a weather type is not expected for any period, then the clouds code will be provided in place of the weather field along with empty values for coverage and intensity:

::FW

Cloud Codes

Cloud codes indicate the percentage of the sky that is covered by clouds.

CodeConditionDescription
CLClearCloud coverage is 0-7% of the sky.
FWFair/mostly sunnyCloud coverage is 7-32% of the sky.
SCPartly cloudyCloud coverage is 32-70% of the sky.
BKMostly cloudyCloud coverage is 70-95% of the sky.
OVCloudy/overcastCloud coverage is 95-100% of the sky.

Coverage Codes

Coverage codes are used with coded weather strings to provide information regarding the coverage of precipitation or other weather types. This can be used to determine how widespread a specific weather type will be, from isolated to definite.

CodeMeaning
ARAreas of
BRBrief
CChance of
DDefinite
FQFrequent
INIntermittent
ISIsolated
LLikely
NMNumerous
OOccasional
PAPatchy
PDPeriods of
SSlight chance
SCScattered
VCIn the vicinity/Nearby
WDWidespread

Intensity Codes

Intensity codes indicate how heavy or light the accompanying weather type is or will be.

CodeIntensity
VLVery light
LLight
HHeavy
VHVery heavy
Moderate
If no intensity is provided, moderate weather type is assumed.

Weather Codes

Weather codes indicate the type of weather that is observed or forecasted. These codes are typically combined with the Coverage and Intensity codes to provide more specifics regarding the weather conditions.

CodeCondition
AHail
BDBlowing dust
BNBlowing sand
BRMist
BSBlowing snow
BYBlowing spray
FFog
FCFunnel Cloud
FRFrost
HHaze
ICIce crystals
IFIce fog
IPIce pellets / Sleet
KSmoke
LDrizzle
RRain
RWRain showers
RSRain/snow mix
SISnow/sleet mix
WMWintry mix (snow, sleet, rain)
SSnow
SWSnow showers
TThunderstorms
TOTornado
UPUnknown precipitation
VAVolcanic ash
WPWaterspouts
ZFFreezing fog
ZLFreezing drizzle
ZRFreezing rain
ZYFreezing spray