Welcome to
Search
Main Menu
· Home
· Downloads
· Information
· Search

Google

  
xAP Weather Schema (Revised 30/11/2004)





Class=weather.report

weather.report
{
UTC=(Time of report in hh:mm format using utc time zone)
-- mandatory
DATE=(Date of report in YYYYMMDD format)
-- mandatory
WindM=(Value of wind in mph or "Gusty" if gusty)
-- optional
WindK=(Value of wind in kph or "Gusty" if gusty)
-- optional
WindGustsM=(Value of wind gusts in mph)
-- optional
WindGustsK=(Value of wind gusts in kph)
-- optional
WindDirC=(Compas heading of wind N|NE|E|SE|S|SW|W|NW)
-- optional
WindDirD=(Compas heading of wind in degrees)
-- optional
TempC=(Temperature in centigrade)
-- optional
TempF=(Temperature in fahrenheit)
-- optional
DewC=(Dew point in fahrenheit)
-- optional
DewF=(Dew point in fahrenheit)
-- optional
AirPressure=(Air pressure in hPa)
-- optional
Cloud=(Overal cloud cover currently only "Clear Skies")
-- optional
CloudM.X=(Cloud type and height in miles ie "Overcast at 5.4M. X increments on each cloud layer)
-- optional
CloudK.X=(Cloud type and heightin kilometers ie "Overcast at 5.4Km. X increments on each cloud layer)
-- optional
Icon=(The name of the picture to use, icon names from kweather www.kde.org. File names below)
-- optional
Error=(Download errors either "NoData" if last connection failed or "StationNotFound" if ICAO code isn't valid)
-- optional
}

Time
{
TOD=Day/Night (Time of Day)
-- mandatory
Time=HH:MM:SS (Current Time 24hr clock)
-- mandatory
SunRise=HH:MM (Time of Sun rise 24hr clock)
--mandatory
SunSet=HH:MM (Time of Sun set 24hr clock)
--mandatory
}

Possible icon names, higher number signifies more clouds

cloudy1
cloudy2
cloudy3
cloudy4
cloudy5
dunno (usually with "error=nodata")
fog
hail
light_rain
mist
overcast
shower1
shower2
shower3
sleet
snow1
snow2
snow3
snow4
snow5
sunny
tstorm1
tstorm2
tstorm3


To request xAP Weather to re-send it's data (1.8+)

class=weather.request
request
{
request=XXX
}

where XXX is all,report or forecast









Copyright © by Mi4.biz All Right Reserved.

Published on: 2003-04-22 (3983 reads)

[ Go Back ]
All applications are provided as is, no warranty is given or liability assumed for these applications nor any guarantee that they meet any specification, or any expectation you might have.
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.018 Seconds