Geo-WeatherNWS
view release on metacpan or search on metacpan
1.02 Sun Feb 9 12:45:00 2003
- changed ftp connection to passive to work behind firewalls
- added automated station code provided by Jim Metzger
1.01 Thu Aug 08 13:07:00 2002
- updated version number and docs
- fixed "isn't numeric" error in remarks processing
0.23 Fri Aug 02 10:28:00 2002
- fixed some documentation errors
- added new wind chill calculation formula
0.22 Thu May 16 16:14:00 2002
- fixed temperature reading /pressure reading errors
0.21 Mon Feb 25 08:50:00 2002
- added support for mb encoded pressures (Q[XXXX])
- added decodeobs function to decode metar obs from a string
0.20 Sun Feb 24 11:33:00 2002
- added support for template files
lib/Geo/WeatherNWS.pm view on Meta::CPAN
$Report->{temperature_f} # Temperature (degrees f)
$Report->{temperature_c} # Temperature (degrees c)
$Report->{dewpoint_f} # Dewpoint (degrees f)
$Report->{dewpoint_c} # Dewpoint (degrees c)
$Report->{relative_humidity} # Relative Humidity (in percent)
$Report->{windchill_f} # Wind Chill (degrees f)
$Report->{windchill_c} # Wind Chill (degrees c)
$Report->{heat_index_f} # Heat Index (degrees f)
$Report->{heat_index_c} # Heat Index (degrees c)
Note: Due to the formulas used to get the heat index and windchill,
sometimes these values are a little strange. A check to see if the
heat index is above the temperature before displaying it would be
a good thing for you to do. You probably don't want to display
the windchill unless its cold either.
These are the return values for clouds and visibility:
$Report->{cloudcover} # Cloudcover (text)
$Report->{cloudlevel_arrayref} # Arrayref holding all cloud levels
$Report->{visibility_mi} # Visibility (miles)
( run in 0.537 second using v1.01-cache-2.11-cpan-26ccb49234f )