I have made updates to the rain, wind, snow, & temperature detail and summary scripts. The Temperature, Rain, & Wind records script has also been updated.
The update to these nine scripts allows you the option to include the current day’s info in addition to the data from the dailynoaareport and/or climatedataout files.
Set $show_today to true if you want to include the current days values which will be obtained from tags in your testtags.php file.
A change to the wxraintempwindrecords.css file was also made.
I got the updated scripts running. It looks great and many thanks. I was wondering where you got the “USA Extremes Yesterday” in your sidebar I searched with no luck.
Thanks again for the great scripts.
Andy,
I noticed your time of next update is not displaying properly on the scripts. You may want to verify that the $timeofnextupdate
tag is in your testtags.php file and is updating correctly. Or comment it out of the script.
[/quote]
I was wondering where you got the "USA Extremes Yesterday" in your sidebar I searched with no luck.
I got the USA Extremes script from Michael Holden of Relay Weather. His userid on this forum is mth.
Murry,
I had the same issue on my site and ended up adding this to my testtags.txt:
$timeofnextupdate = '%timeofnextupdate%'; // Time of next Update/Upload of the weather data to your web page
if ($timeofnextupdate=='---') {
$updtime = mktime($time_hour,$time_minute+5);
$timeofnextupdate = date("H:i",$updtime);
}
I may end up just replacing it with “Updates every 5 minutes.”
I commented that out untill I figure out why its not updating I have “Show the time of next update” ticked. I wiil have to look in to it later running out of time for now
I have updated the scripts to remove the $timeofnextupdate as it is not accurate if you upload the testtags.php on a different schedule than the default webpage.
I have updated your scripts and all have thrown back a blank screen on my site?
Before I updated, the scripts where running perfectly? Was using the latest releases apart from wxraintempwindrecords and the JP graphs.
All the 9 scripts have this problem and I have reverted back to the previous releases and are working normally.
As snow detail/summary is not important right now, I’ll set you an example of what is happening until I go back also to last release.
Karl,
Try setting the $show_today to false. It should then work the same as the previous version.
You can also try setting the $showGizmo to false to see if that makes a difference.
When I tried to validate your problem pages, the W3C validator keep displaying the following:
This has nothing to do with the scripts in this topic. This should have been posted to this topic: JpGraphs for dailynoaareport data
One of the error messages that is being displayed is “Warning: fopen(./cache/noaadata.csv) [function.fopen]: failed to open stream: No such file or directory in /virtual/users/e16736-18103/web/wxnoaacsvdata.php on line 248”.
It looks like you need to correct the path to the noaadata.csv file. There is a noaadata.csv file in the root directory but not in the /cache/ directory. And be sure the noaadata.csv has permissions to be writeable.
I had the older scripts but updated with the new. I also installed the Snow script, I hope to start recording Snow this winter. They look really GOOD. Thanks for the Great Scripts!!
jp
Started working on your very neat scripts today. No problem getting them running (so far), but I am having trouble getting the dailynoaareport*.htm and climatedataout*.html files downloaded (have not needed them up to this point). Actually, I did get one copy of dailynoaareport*.htm up to the server, but it’s for Oct only. Just started with WD on 1 Sep and am unable to get those files uploaded. A quick runthrough, or direction to an appropriate topic, would be most appreciated.
Hmmm, I just checked my page and data is displayed for today, my dailynoaareport only shows data through the 4th. I’ll check iy out afyer I get home…
jp