Mark Solomon > Geo-WeatherNOAA-4.38 > Geo::WeatherNOAA

Download:
Geo-WeatherNOAA-4.38.tar.gz

Dependencies

Annotate this POD

Related Modules

LWP::Simple
HTML::Template
HTML::TokeParser
HTML::Parser
HTML::Entities
Image::Grab
HTML::FromText
WWW::Mechanize
Astro::Sunrise
XML::Simple
more...
By perlmonks.org

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 4.38   Source  

NAME ^

Geo::WeatherNOAA - Perl extension for interpreting the NOAA weather data

SYNOPSIS ^

  use Geo::WeatherNOAA;
  ($date,$warnings,$forecast,$coverage) = 
     process_city_zone('newport','ri','','get');

  foreach $key (keys %$forecast) {
        print "$key: $forecast->{$key}\n";
  }
  
  print process_city_hourly('newport news', 'va', '', 'get');

or

  use Geo::WeatherNOAA;
  print print_forecast('newport news','va');

DESCRIPTION ^

This module is intended to interpret the NOAA zone forecasts and current city hourly data files. It should give a programmer an easy time to use the data instead of having to mine it.

Be aware that if the variable $main::opt_v is set to anything (other than zero or '') then Geo::WeatherNOAA will be verbose on what it's doing with messages sent to STDERR. Useful for debugging.

REQUIRES ^

FUNCTIONS ^

AUTHOR ^

Mark Solomon

msolomon@seva.net

http://www.seva.net/~msolomon/

SEE ALSO ^

perl(1), Tie::IxHash(3), LWP::Simple(3), LWP::UserAgent(3).

syntax highlighting: