use strict; use LWP::Simple; use Time::Tiny; my $image; my $url; my %images = ( "eastconusir" => "http://www.goes.noaa.gov/GIFS/ECIR.JPG", "eastconusvis" => "http://www.goes.noaa.gov/GIFS/ECVS.JPG", "eastconuswv" => "http://www.goes.noaa.gov/GIFS/ECWV.JPG", "westconusir" => "http://www.goes.noaa.gov/GIFS/WCIR.JPG", "westconusvis" => "http://www.goes.noaa.gov/GIFS/WCVS.JPG", "westconusvwv" => "http://www.goes.noaa.gov/GIFS/WCWV.JPG", ); my $current_time = Time::Tiny->now; my $timestring = $current_time->hour.$current_time->minute.$curren +t_time->second; print $timestring."\n"; foreach my $key (keys %images) { print $key."\n"; print $images{$key}."\n"; my $status = getstore($images{$key},$key.$timestring.".jpg"); print $status."\n" ; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Automated extraction of NOAA weather satellite images
by graff (Chancellor) on May 30, 2007 at 02:40 UTC | |
by Scott7477 (Chaplain) on May 30, 2007 at 13:51 UTC | |
|
Re: Automated extraction of NOAA weather satellite images
by jasonk (Parson) on May 30, 2007 at 13:37 UTC | |
by Scott7477 (Chaplain) on May 30, 2007 at 14:14 UTC |