Version 3 of the detail and summary reports is now available. Additional options have been added to the existing Temperature,
Rain, Wind, and Snow reports. Also now available are Barometric Pressure, Degree Days, Dew Point, Wetbulb,
Sunshine Hours, Solar Energy, and UV detail and summary reports.
A change that is common to all of the detail/summary files is the addition of two include files.
The wxreport-settings.php file has settings that are common to all of the detail/summary files such
as the paths to the dailynoaareport and climatedataout 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.
If you want to change the text on one of the link buttons, update the appropriate button text setting.
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 now 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).
A new option available in the existing (and new) 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 and UV reports. The wind reports are matched to the beaufort scale and
the UV reports use the scale used by the EPA.
Each of the reports (except wind and UV) 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 snow which can
have large variations.
A setting available in the snow, sunshine hours, solar, and UV scripts is for indicating when you first started recording
that type of data since you may not have been recording that data from the beginning of your climatedataout files. The default setting is the date I started recording that data so you will need to update it with your information.
For those with solar and/or UV sensors, you will need to use a new template to include the solar and UV values in the
climatedataout files. In the latest version of Weather Display, a climatedatasolaruv.html is included in the root directory.
Copy it to the webfiles directory and rename to climatedata.html and recreate the detailed climate reports for the months that
you have been using the solar/UV sensors. A copy of the climatedatasolaruv.html template is also included with the zip file of
the detail/summary files.
If you do not have a solar or uv sensor, there is no point in displaying the Sunshine Hours, Solar Energy, or UV reports as they will have no data to display.
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’;
$SITE[‘uomSnow’] = ’ in’;
These need to be set to match whatever units you are using.