Forgive the me asking what may be obvious to everyone but will someone point me to the method of displaying noaa style reports for my station’s weather over a period of time? I would like to include an option on the webpage that would allow an interested viewer to look at data for a given day(s) or week or month. The month option satisfies the prior two choices so the first two are not real important. A comparison with a previous period is not essential as they could look at the data separately.
I thought it used to be one of the drop down menu items created in station.htm but can’t find it. It may be that I need to do something in the web page setup screen but again I can’t find the option.
The relevant choices under “weather” would do exactly what I have in mind.
What files do you use to pull the data in from? It seems that the files are not necessarily automatically uploaded as some of the data does not display correctly.
You may need to spoon feed me some more as php is not a strenght in my arsenal.
<?php
$page_title = "Climate Data - Current Month";
$keywords = "climate, data, walker, michigan, weather";
$filename = "climatedataout.html";
$handle = fopen($filename, "r");
//Read the contents of the file
$contents = fread($handle, filesize($filename));
fclose($handle);
//Trim everything after the initial body tag
$list = split("<body>", $contents, 2);
$contents = $list[1];
//Trim the ending body tag
$list = split("</body>", $contents, 2);
$contents = $list[0];
//Display the remaining contents
//
//include header here
include ('header.inc');
echo $contents;
//include footer here
?>
</body>
</html>
If I am reading this correctly there are two pieces to your puzzle.
One is creating NOAA style reports which you can do from WD under your View - Averages extremes - NOAA style reports last two tabs and then once they are being created then link them from a web page which is a HTML coding issue.
i have added a drop down menu to the date (month)stamped noaa reports which should get uploaded auto, now, to the averages/extremes page, in a recent update of wd
see the drop down at the bottom of this wd auto generated web page: http://www.weather-display.com/windy/gb/weekrep.htm
(note its links to a noaa report that is year to date instead of month report, but that should be fixed next change in month
Ken has it to run off of one or the other. Like Ken, I use weatherlink as a data backup, so it worked great for me. Looks like the update for WD’s version will work fine too.