
NOAA Quick Forecast
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A lot of people have written weather forecasting themes for Karamba. I am now one of those people.
17 years ago
v0.2 shoud fix a couple stupid problems. (Such as single line forecast phrases messing up the data offset.)
17 years ago
v0.2 shoud fix a couple stupid problems. (Such as single line forecast phrases messing up the data offset.)
sheldonl
17 years ago
Report
tonymaro
17 years ago
I'm assuming NOAA has changed their page a bit from what the author based his code on. I sent him an e-mail but never saw a response.
Report
flikx
17 years ago
Allow me to find out which special days they display, after which I will post an update.
Report
punkshark
17 years ago
Report
punkshark
17 years ago
Report
sargon
17 years ago
Died at getForecast.pl line 41, line 49
Any ideas?
Thanks.
Report
flikx
17 years ago
It actually writes a file every time it grabs the forecast, if a subsequent time fails, it simply outputs the file and dies. This is to prevent a blank box when you take a machine off the network. (Useful for modem users, or notebook users -- like me.)
The problem may be due to your network being down, or NOAA being down.
If it's not one of these things, check for a slight typo in the URL. Also, I haven't verified if the URL provided will always work. I can fetch from srh.noaa.gov, and crh.noaa.gov. Other regions might require a slight change.
Report
Sacus
17 years ago
getForecast.pl
First you'll have to give the path to the pix and forecastDATA.txt . Unless they are in the same path as the script. Then there where . in the begaining of some of the script lines. remove them.
NOAAforecast.theme
The dreaded . returns with a friend # remove them both and PROGRAM="perl getForecast.pl" sould be PROGRAM="getForecast.pl".
Report
sargon
17 years ago
I did find the # (hash marks). Thanks. And the path is set correctly.
When I run the Perl script from a console session, I still get this error:
Died at ./getForecast.pl line 41, line 49.
Line 41 is this:
die;
Line 49 is this:
my @dayData;
The getForecast.pl script doesn't complete. I check the timestamps on the two forecastDATA text files, and they are not being updated (even when run from the console).
I am not a Perl scripter, so I am at a loss as to how to fix it.
Report
Sacus
17 years ago
Report
sargon
17 years ago
I did find the # (hash marks). Thanks. And the path is set correctly.
When I run the Perl script from a console session, I still get this error:
Died at ./getForecast.pl line 41, line 49.
Line 41 is this:
die;
Line 49 is this:
my @dayData;
The getForecast.pl script doesn't complete. I check the timestamps on the two forecastDATA text files, and they are not being updated (even when run from the console).
I am not a Perl scripter, so I am at a loss as to how to fix it.
Report
Batman2372
17 years ago
Report
tonymaro
17 years ago
Report
flikx
17 years ago
Also, try the suggestions made by Sacus.
I simply run superkaramba from the install path of the theme.
I'll take some time to make the INSTALL file a little more helpful. I also found a couple more icons I missed before, and have now added to the download script.
Report
opus125
17 years ago
At first I got the blank frame too. Then I edited the script to have the absolute path of getForecast.pl. You have to do this so many times that it would be best just to use some utility to replace the string "getForecast.pl" with the absolute path.
Now it works fine.
Report
neoTheCat
17 years ago
go to:
http://www.erh.noaa.gov/er/hq/
and on the left bar is a search for a city, state search. after clicking search, the city and state codes will be in the URL to put in the perl script.
-- neoTheCat
Report
ares
17 years ago
Report