73.9 °F

Hum: 33% Dew: 43.0 °F
Baro: 1013.79 hPa
Wind: NE @ 0.0 mph
Rain: No Rain Today
Data Updated: 22:49
TNET Weather Station - Mesa, AZ USA
Home   Forecasts   Graphs   Radar   Trends   Webcams   Weather Links   Archives   PROJECTS & SCRIPTS   About Us
TNET Weather Based Projects and Scripts > Cumulus GetMetar Include Script

Cumulus GetMetar Include Script

This is basically an add on script to support the TNET Webtags script.

It fetches the specified METAR data to obtain basically sky and conditions information from a nearby Metar station. This provides data that is not available via the weather station itself such as if it is overcast/foggy/snowing, visibility, and provides info to have a current icon condition for the site.

Combined with the TNETwebtags, and the parsing of the realtime.log info, it can provide actual real time conditions or the site by using the recent rain to override the remote Metar stations output.

Downloads

Requirements

Supported Tags

This script adds the following tags that are combined with the TNET Webtags data:


FieldValueExample
$WX['metarstn']Metar Station NameKNGP
$WX['metardate']Date data was aquiredTue Feb 2, 22:56 MST
$WX['metarage']How long ago25 min ago
$WX['metarvis']Visibility4 miles
$WX['metarcond'']Conditionslight rain & mist
$WX['metarsky']Sky conditionsovercast
$WX['curicon']Calculated Current IconLIGHTRAIN

The $WX['curicon'] can be used along with the Webtags value of $WX['isdaylight'] to get the current condition icon for display.

Version History

VersionComments
0.9 2010-02-02Added parsing to obtain Current Icon based on Conditions and Sky values obtained. Need to add override for station rain detection
0.9 2010-01-05Created initial script based on original work of Mark Woodward Feb 2001 (GetWX)
Copyright © 2017 TNET Systems Inc. - All rights reserved. Weather Collection for this website is done via Cumulus 1.9.4 build #1093 and Weather Display
Boltwire Cumulus Plugin by TNET using Boltwire v3.4.16 Hosting by TNET
Protens Server - IP: 54.166.199.178 [ec2-54-166-199-178.compute-1.amazonaws.com] - Views #40