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:
For example, the following code suggests that there is a slight chance (
S) for light (
L) rain showers (
RW) for the period:
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:
Cloud codes indicate the percentage of the sky that is covered by clouds.
|CL||Clear||Cloud coverage is 0-7% of the sky.|
|FW||Fair/Mostly sunny||Cloud coverage is 7-32% of the sky.|
|SC||Partly cloudy||Cloud coverage is 32-70% of the sky.|
|BK||Mostly Cloudy||Cloud coverage is 70-95% of the sky.|
|OV||Cloudy/Overcast||Cloud coverage is 95-100% of the sky.|
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.
|VC||In the vicinity/Nearby|
Intensity codes indicate how heavy or light the accompanying weather type is or will be.
|Moderate (if no intensity is provided, moderate weather type is assumed)|
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.
|IP||Ice pellets / Sleet|
|WM||Wintry mix (snow, sleet, rain)|
|UP||Unknown precipitation||May occur in an automated observation station, which cannot determine the precipitation type falling.|
Last modified: July 27, 2015