PHP Weather can display theses informations.
NOTICE
Martin Geisler (www.gimpster.com) has developed a PHP-script that retrieves and parses METAR data into readable text. You can get the phpWeather script from phpWeather. By this script, the METAR data of above is converted into:
EIDW 192200Z 03003KT 9999 FEW017 06/05 Q1014 NOSIG
6°
Day time sky cover/precipitation icons
The script creates one icon for a sky over and precipitation combination. Basically, the METAR data distinguishes 5 different sky covering types, which are listed horizontally in the table below. There are a lot of precipitation and related types, but in this script the number is limited to the most common types (at least in the Netherlands, country of the author ?): rain, snow, hail, thunderstorm and fog.
Remarks:
For rain,snow and hail, three different intensities are distinguished: light, moderate and heavy.
| Sky Cover/ Precipitation |
Clear (CLR/SKC) |
Few (FEW) |
Scattered (SCT) |
Broken (BKN) |
Overcast (OVC/VV) |
|
|---|---|---|---|---|---|---|
| None | ||||||
| Drizzle/Rain (DZ/RA) |
light | |||||
| moderate | ||||||
| heavy | ||||||
| Snow/Snow Grains (SN/SG) |
light/ moderate |
|||||
| heavy | ||||||
| Ice Crystals/Ice Pellets/ Hail/Small Hail (IC/PE/GR/GS) |
light/ moderate |
|||||
| heavy | ||||||
| Thunderstorm (TS) |
||||||
| Mist/Fog (BR/FG) |
||||||
Night time sky cover/precipitation icons
| Sky Cover/ Precipitation |
Clear (CLR/SKC) |
Few (FEW) |
Scattered (SCT) |
Broken (BKN) |
Overcast (OVC/VV) |
|
|---|---|---|---|---|---|---|
| None | ||||||
| Drizzle/Rain (DZ/RA) |
light | |||||
| moderate | ||||||
| heavy | ||||||
| Snow/Snow Grains (SN/SG) |
light/ moderate |
|||||
| heavy | ||||||
| Ice Crystals/Ice Pellets/ Hail/Small Hail (IC/PE/GR/GS) |
light/ moderate |
|||||
| heavy | ||||||
| Thunderstorm (TS) |
||||||
| Mist/Fog (BR/FG) |
||||||
Note: with the sky cover/precipitation icons, there is no such thing as 'no data'. When both groups are omitted, this could mean 'moony' (as opposed to 'sunny' ;-) and no precipitation, and 'no data' as well. Since the metar exists, the author decided to show the 'moony' icon.
Wind direction
Each of the 16 wind direction is mapped onto a icon, e.g. angles from 348.75 degrees through 11.25 degrees are mapped to the 'North' icon. Angles from 11.25 through 33.75 degrees are mapped to 'North-east' etc. This leads to the following icons:
| N | NNE | NE | NEE | E | SEE | SE | SSE |
|---|---|---|---|---|---|---|---|
| S | SSW | SW | SSW | W | NWW | NW | NNW |
| VRB | Calm wind |
No data |
|||||
Temperature
| Below 0 deg C |
Above 0 deg C |
No data |
|---|---|---|
CategoryResource
Except where otherwise noted, content on this site is licensed
under a Creative Commons Attribution - Noncommercial - No Derivative Works 3.0 License.