If you are using the Saratoga PHP templates, detail and summary reports are now available for Cumulus, VWS, and Weatherlink users that are uploading their monthly NOAA reports to their website. Reports are available for Temperature, Rain, Wind, Wind Run, and Degree Days.
The wxreport-settings.php file has settings that are common to all of the detail/summary files such as the paths to the NOAA report files.
It also has settings as to which links to other detail/summary reports are to be displayed on the various reports.
If you do not want a link to a specific report to show, set the show link option for that page to false.
If you rename any of the detail/summary files, update the appropriate filename settings to the new filename or the links
will not work.
The wxreportinclude.php file contains the logic as to which (if any) link buttons to display on the detail/summary reports
based on the settings you made in the wxreport-settings.php file. There are no settings to make in wxreportinclude.php.
A common css file (wxreports.css) is used. But if you want to use different color schemes for different reports, you can use
a different css file. Just update the $css_file setting in the appropriate detail/summary file(s).
An option available in the individual detail/summary files is to allow changing the number of possible colorbands
to be displayed up to a maximum of 30. Change the $increment setting in the individual detail/summary file as needed.
The default setting is 11 increments which provides 13 colorbands (one below the first increment and one over the last increment).
If you do increase the increments setting to more than 11, you will need to edit the css file to add the additional colorbands
yourself.
NOTE: There is no option to change increments in the wind reports. The wind reports are matched to the beaufort scale.
Each of the reports (except wind) also have a option to set the values between increments manually.
This allows the increments to be non-linear (.1, .5, 1, 3, 5, 10, 15, etc). This is primarily useful for rain which can
have large variations.
The units of measurements used by the detail/summary scripts depends on the settings made in the settings.php of the template set.
$SITE['uomTemp'] = '°F';
$SITE['uomBaro'] = ' inHg';
$SITE['uomWind'] = ' mph';
$SITE['uomRain'] = ' in';
These need to be set to match whatever units you are using.
The expected naming convention of the monthly NOAA reports for Cumulus users is NOAAMOmmyy.txt.
The expected naming convention of the monthly NOAA reports for VWS users is yyyy_mm.txt
Weatherlink apparently only uploads the current month as NOAAMO.TXT and the previous month as NOAAPRMO.TXT. Due to this, Weathlink users should upload their NOAA reports to a separate subdirectory that will need to be CHMODed so that it is writeable to allow the scripts to rename the NOAA reports at the beginning of the month.
An example of the detail/summary scripts is available at
http://weather.wildwoodnaturist.com/wxtempdetail.php . Note that some of the reports shown are only available for Weather Display users as it creates an additional report that it used for the other detail/summary reports.
The detail/summary scripts can be downloaded at
http://weather.wildwoodnaturist.com/downloadsCVW.php