RELEASE VERSION HISTORY (newest to oldest) ------------------------------------------ 3.9.0 04-20-2008 -------------------- radlib version required: 2.7.5 or newer 1) Modify for new unsigned long long radTimeGetMSSinceEpoch return value. You must update your version of radlib to 2.7.5 BEFORE upgrading to this version of wview. 2) Added new station support for the Oregon Scientific WMR918/968 stations. The WMR918/968 is selected during the "configure" step by specifying "--enable-station-wmr918". Added battery status HTML tags for the four WMR918 transmitters. 3) Added example alarm script "outtempMaxEmail.sh" to illustrate how to use alarm scripts to send notification emails. 4) Added checks for unpopulated wind gust speed. 5) Fixed bug where wviewsqld expected SQLDB_EXTENDED_INFO to be defined in all cases when in fact it is only valid for VP with extra sensors. 3.8.0 04-01-2008 -------------------- radlib version required: 2.7.4 or newer 1) Added basic sensor calibration support such that a multiplier and constant are defined for each of the sensors which can be calibrated. Added a new config file "calibrate.conf" to allow configuration of the calibration. Now (for example) calibration of the rain collector type is possible: 0.01", 0.2mm, 0.1mm and others can be supported. Station pressure deviations can be calibrated. Allows ratio and/or constant calibrations. 2) Fix input bug in vpinstall script so configuration is only done if 'y' is entered. 3) Fix strcmp bug in alarms configuration. 4) Remove barometer trend indicator from automatic inclusion with barometer value during generation. 5) Fixed a bug in dbfStoreArchiveRecord which allowed the "dashed" value of 255 through as a valid wind reading for VP stations. 6) Fixed a bug in the station simulator so no serial fd is added to the wviewd file descriptor list. 7) Added additional console wakeup try for VP archive retrieval. 8) Changed station time sync interval from every 1 hour to every 4 hours. 3.7.3 03-22-2008 -------------------- radlib version required: 2.7.4 or newer 1) Fixed "exec-prefix" bug in wview start script generation. 2) Added support for generation of NOAA reports in metric units. 3) Added support for a new "pre-generate.sh" script which, if it exists in $prefix/etc/wview, will be executed after image generation but before template generation. Added to the classic/standard and classic/plus skins. 3.7.2 03-18-2008 -------------------- radlib version required: 2.7.4 or newer 1) Fixed MaxWindSpeed bug in the WS-2300 interface. 2) Fixed wviewconfig bug introduced with stationType addition in 3.7.1 which omits position configuration for non-VP stations. 3) Fixed small bug in alarms error logging if the script execution fails. 3.7.1 03-17-2008 -------------------- radlib version required: 2.7.4 or newer 1) Enabled NOAA generation for metric stations. 2) Fixed bug in wviewconfig which prevented non-standard database names for SQL setup. 3) Fixed start script generation to use $exec-prefix instead of $prefix for "WVIEW_INSTALL_DIR". 4) Clarified text for "STATION_RAIN_ET_YTD_YEAR" config value to indicate the year is the year of the rain season start. 5) Added new tag !--stationType-- so the weather station type can be produced for html pages, etc. Modified wviewconfig to allow for specification of the station type. Removed "Generic" type and added "Simulator", "WXT510" and "WS-2300". Added to classic skin homepages. 3.7.0 03-09-2008 -------------------- radlib version required: 2.7.3 or newer 1) Fixed missing config file blocks in htmlGenerateInit. 2) Added transparency level values to graphics.conf and support for all graphic types (thanks to Jon Barber). 3) Fixed bugs in endian conversion utilities (thanks to Michael Puckett and Jerry Fiddler). 4) Added dual unit buckets (thanks to Randy Miller). This is presently only available on non-metric systems and is selected during configuration. 5) Changed CWOP submission logic to only send a packet if a new archive record has been received. Changed the report interval from a hard-coded 10 minutes to be the station archive interval, with a minimum duration of 10 minutes. 6) Added new wview.conf parameters to configure preset values for rain and ET. This allows the display of current conditions to include rain/ET accumulated outside of the data in archive records for the specified year. Added support in wviewconfig. 7) Added support for a "static" directory to be included in site skins. The contents of this directory will be copied to the HTML destination once when wviewhtmlconfig is run. 8) Changed location of wview configuration and data trees from /etc/wview and /var/wview to $prefix/etc/wview and $prefix/var/wview respectively. This allows wview to be installed at any prefix specified during the configure process (--prefix=/opt/local for example). Binary files were already being installed to $prefix. This allows wview to be installed/run in a chroot jail if so desired (or required by package management systems). 9) Enhanced example start scripts so they are populated with the proper paths for binaries and the data directory based on the configure $prefix during the build process. 10) Added new station support for the La Crosse WS-2300 series stations. The WS-2300 is selected during the "configure" step by specifying "--enable-station-ws2300". Added rain rate computation for the WS-2300 as it does not provide it. 11) Update DST change handling to recompute the sun rise/set etc. data when a daylight savings time event occurs. 3.6.0 02-23-2008 -------------------- radlib version required: 2.7.2 or newer 1) Added new config file "graphics.conf" to define alternate graphics colors and sizes. Added support in htmlGenerate.c for these definitions (thanks to Brooks Clark). Made "graphics.conf" part of skin definitions so graphics can be customized by skin designers. 2) Added "post-generate.sh" and "images-user.conf" to skin definitions so post- generation and image customization can be defined by skin designers. 3) Updated "examples/html/Template-Skins-HOWTO.txt" to reflect changes and better describe the skin creation process. 4) Moved the destination directory for NOAA and ARC pages to ".../NOAA" and ".../Archive" respectively. 5) Fixed bug introduced in delayed CWOP submission logic of 3.5.0 release. 6) Added support for image background transparency (configured in graphics.conf). 7) Fixed missing change for the "htmlmgrReReadImageFiles" method so it no longer looks for "images-metric.conf" if a metric station (images-metric.conf is now copied to images.conf by wviewhtmlconfig based on your wviewconfig choices). 3.5.0 02-12-2008 -------------------- radlib version required: 2.7.2 or newer 1) Changed CWOP generation logic so that packets are sent every 10 minutes and the transmission offset is based on the last digit/character of the APRS call sign. Call signs with a character in the last position will have a transmission offset based on the ASCII value of the character, i.e. a final character of "A" would have a transmission offset of: 'A' = 65 => 65 % 10 = 5, thus the offset is 5. No effort was made to support the 9 or 11 minute interval for transmission offsets of 0 as this algorithm will evenly distribute CWOP transmissions over any 10 minute interval so long as the callsigns are distributed uniformly. Also changed the default servers to all be "cwop.aprs.net" per recent requirements. 2) Added a new HTML configuration script "wviewhtmlconfig" to simplify template setup for US/metric and standard/extended data settings. It must be run immediately after "wviewconfig". Moved old example templates to examples/html/classic/standard and /examples/html/classic/plus and added a HOWTO in examples/html for contribution of new template skins. 3) Changed the format of the "wviewftp.conf" file so that the FTP binary and arguments can be configured there rather than hard-coded. 4) Added config value SQLDB_FULL_SYNC to allow choice of either full sync of all archive data or partial sync from last database entry. The partial sync option should allow those with lots of data or slow links to be up and running more quickly. 3.4.1 12-22-2007 -------------------- radlib version required: 2.7.1 or newer 1) Fixed make target "install-env" so the html template directory is properly created. 2) Updated new include templates to support "plus" pages more completely. 3) Modify WXT510 station interface so it does not over-write the heating configuration. Heating enable/disable must be done outside of wview. 3.4.0 12-16-2007 -------------------- radlib version required: 2.7.1 or newer 1) Added new meta-tag for file inclusion: !--include filename.xxx--. If this tag is found in any template file, then htmlgend will attempt to open the file at /var/wview/img/filename.xxx and place its contents in the file being generated (if your default output location is different from the default location of /var/wview/img, htmlgend will look in your destination folder). Included files can themselves be generated from templates, just place them before the template file which includes them in html-templates.conf (htmlgend generates them in the order found in this conf file). 2) Added new wview process, wvpmond, to monitor other wview processes and kill/restart ones which have become non-responsive (such as wvhttpd). Added new config file (processes.conf) so the user can set the timeout values for each process or to disable monitoring for that process. Created new wview start scripts to include the wvpmond process. 3) Fixed bug in htmlgend introduced with the post-generate enhancement which caused messages sent to htmlgend to not be received until the next generation timer expiry. 4) Moved default html templates from "examples/html" to "examples/html/classic". This will allow the future addition of other "skins" to the distribution as users contribute them. Modified html templates to utilize newly added include files for navigation buttons, headers and current reading tables. Removed redundant old template files which only differed by the background image. Modified the example html-templates.conf to include (and thus generate) these new template include files. Changed the default homepage behavior to use the "day/night" paradigm. 5) Added a timeout value to the configuration of libcurl transactions for wunderground data submission. This may prevent transactions from "hanging" when the wunderground servers are non-responsive. 6) Renamed the wunderground process to "wvhttpd" and added support for the weatherforyou system. wunderground and/or weatherforyou are enabled during configuration by specifying "--enable-http". They may be disabled in the new http.conf file by setting their station IDs to 0. 7) Modified the former "wunderground.conf" (now "http.conf") to include weatherforyou settings. Modified wviewconfig to support configuration of weatherforyou. 8) Modified the Vantage Pro station state machine to only log being in the error state one time to avoid continuous system logging. 3.3.0 05-28-2007 -------------------- radlib version required: 2.7.0 or newer 1) Fixed wunderground verbose log output (no change to wunderground data sent). 2) Changed rain dials to only use ET if the station is configured for extended data samples. 3) Fixed rain and ET amounts being rounded up when interval amount is added - sprintf was doing the rounding up. Was only an issue on WXT-510 stations. 4) Added "withmysql" make target to the sample-datafeed-client Makefile so the example could be built with MySQL support. 5) Added DATE_FORMAT config value in htmlgen.conf to allow user-defined date format in images and tags. Formats allowed are those defined by strftime(3). If the value is not present in the config file, mm/dd/yyyy will be used for non-metric systems, or yyyymmdd for metric systems. 6) Added DIAL_TEMP_FEELSLIKE_DISABLE macro to htmlGenerate.[ch] so that if the caller passes this value for the "feelsLike" argument, no apparent temperature will be drawn for the htmlGenPngDialTemperature method. 7) Changed default CWOP servers and port numbers to match new APRS servers specified by Dave Helms. 8) Verified 64-bit operation with radlib versions 2.7.0 and up. 9) Added new html tags for !--windGustSpeed-- and !--windGustDirectionDegrees-- which allow access to the "current" (this term is of course relative) wind gust speed and direction. 10) Added new html tags for !--windBeaufortScale-- (which represents the current windspeed) and !--intervalAvgBeaufortScale-- (which represents the last archive interval windspeed). Added wvutils routine to convert windspeed in mph to a Beaufort string. See parameterlist.txt for the exact tag expressions to use in your templates. Added "Recent Avg Wind" and "Recent Beaufort Scale" rows to all the "index" templates. 11) Added a post-generation script for the htmlgend daemon. It will be run (if found at /etc/wview/post-generate.sh) after all template files have been generated, each time they are generated. Added an empty script file to the distribution (examples/conf/post-generate.sh) and support for it in the "install-env" make target. 3.2.1 03-16-2006 -------------------- radlib version required: 2.6.2 or newer 1) Modified example images-metric(-mm).conf files to use zero decimal places for the weekly barometer chart. 2) Modified VP state machine to better detect and handle missed archive records. 3) Added support for the WXT-510 extra sensors to the Alarms processing. 4) Added two new HTML tags: --localRadarURL-- and --localForecastURL--. Added support for configuring them in wviewconfig and producing them in htmlgend. Added references to them in all of the homepage (index*.htx) templates. See examples/html/index.htx for example usage. 5) Fixed a bug in the common file for the endian conversion utilities. 3.2.0 03-05-2006 -------------------- radlib version required: 2.6.2 or newer 1) Added more logic to handle system time changes with respect to archive record generation. Also enhanced html generator to better handle missing archive records. 2) Added endian conversion utilities for WLK and sensor archive files: arc_be2le and arc_le2be. These utilities will convert all WLK and sensor store files in a given source directory then store the results in a given destination directory. The conversions are Big Endian to Little Endian and Little Endian to Big Endian respectively and can be run from either a big or little endian system. 3) Added weekly historical chart support. Added image definitions in the three images config files. Added new HTML templates for Weekly and Weekly_Plus. Added references to the new weekly pages in the other template navigation bars. Added reference to the weekly page in the home page templates. You will need a full template and config file upgrade to properly deploy weekly charts (make install-env). 4) Fixed SuSE wview start script radmrouted invocation. 5) Added generic ".[your_ext]x" => ".[your_ext]" template file generation support. Any template file with extension ending in 'x' will be generated without the trailing 'x'. Thus, example.phpx is generated as example.php. Note: wview will search for tags in these templates and replace them without any regard for a particular file/scripting syntax. 6) Added archive retrieval retry logic to the VP station interface to address VP consoles which do not have a record ready when it should be. 3.1.4 02-11-2006 -------------------- radlib version required: 2.6.2 or newer 1) Added station altimeter computation support. Changed CWOP submission (again) to provide Altimeter value instead of Station Pressure. Added new HTML tag --altimeter-- and associated support. 2) Removed "set -e" from NSLU2 wview start script so it behaves properly. 3) Changed logic for parsing the *directory* entry of the wviewftp.conf file. It appears that "isdigit" was not functioning as expected on the NSLU2. 3.1.3 02-05-2006 -------------------- radlib version required: 2.6.2 or newer 1) Fixed rain dial scale calculation for metric stations. 2) Changed images-metric-mm.conf to use 0 decimal places for rain charts. 3.1.2 02-03-2006 -------------------- radlib version required: 2.6.2 or newer 1) Fixed several hour/day/week "change" values for temp, dewpoint and barometer introduced with the LOOP data change to float. 2) Changed rain dials to be zero-based if there is no ET measurement. 3) Added mm support to the rain dials, buckets, and historical charts. 4) Fixed rain accumulator bug for WXT-510 archive records. 3.1.1 01-30-2006 -------------------- radlib version required: 2.6.2 or newer 1) Fixed a rain HTML tag value reporting bug in the WXT-510 station support. 2) Fixed a couple of "Plus" references missing in some of the Plus templates. 3) Changed the HUP signal behavior for log verbosity to just toggle logging on/off instead of rereading the wview.conf file. Thus the logging can be turned on/off individually for each daemon run time without touching the default in wview.conf. 4) Changed significant LOOP structure data to type float to get away from the VP "shifted" shorts. 5) Changed use of the VERBOSE_MSGS config value in wview.conf to be a bitmask representing each of the wview daemons. This allows controlling the log verbosity individually for each wview daemon. The config Value should now be 8 characters of zeros or ones but if the value is less than 8 characters, the old global setting will be used to maintain backward compatibility. See the distro example wview.conf file for a description of the bitmask. 6) Fixed big endian bug (Mac) in new VP loop processing code. 3.1.0 01-28-2006 -------------------- radlib version required: 2.6.1 or newer 1) Added station support for the Vaisala WXT-510 in stations/WXT510. Added content to the User Manual for enabling the WXT510 during configuration and setting it up. Added the wxt510config utility to set up the serial parameters for the WXT-510. 2) Fixed a bug with the moon phase calculator. 3) Fixed a potential race condition at startup which could allow html generation before the first LOOP cycle had been completed by wviewd. 4) Added station support for the Simulator station in stations/Simulator. Added content to the User Manual for enabling the Simulated Station during configuration and setting it up. Now wview can be demonstrated/tested without connectivity to a physical station. 5) Added SIGHUP support to wviewd, htmlgend, wviewftpd, wviewsshd and wvalarmd so this signal can be sent to cause the log verbosity setting to be reread. The configuration value VERBOSE_MSGS in wview.conf should be changed prior to sending the HUP signal(s). For htmlgend, the image and html config files are also reloaded - this allows the user to change images.conf, images-user.conf, images-metric.conf, html-templates.conf and (if supported) forecast.conf without having to restart wview. It can be invoked individually for each process with these commands: kill -s HUP `cat /var/wview/wviewd.pid` kill -s HUP `cat /var/wview/htmlgend.pid` kill -s HUP `cat /var/wview/wviewftpd.pid` kill -s HUP `cat /var/wview/wviewsshd.pid` kill -s HUP `cat /var/wview/wvalarmd.pid` 6) Added FTP configuration ability to specify a relative path from the FTP login directory to which the wview-generated files will be transferred. Added commented out example in distro wviewftp.conf-no-ftp file. If the new config parameter is not found, all FTP transfers will be placed in the FTP login directory (the old behavior). 7) Modified the elevation HTML tag to be populated with meters instead of feet if a metric station. 8) Added contributed code to allow selection of cm or mm for rain display if the station is metric. Added new htmlgen.conf parameter "METRIC_USE_RAIN_MM" to control this option. Added support in wviewconfig. 9) Fixed CWOP/Wunderground rain reporting bug introduced by the station abstraction changes in 3.0.0. 10) Added wvutilsCalculateSLP to calculate sea level pressure (barometric pressure) from station pressure. 11) Added new wview.conf config parameters "STATION_RAIN_STORM_TRIGGER_START" and "STATION_RAIN_STORM_IDLE_STOP" and support for them in the wviewconfig script. Changed the rainStorm utility to use the user-configurable values. 12) Changed CWOP submission so it uses Station Pressure instead of sea level or Barometric Pressure. This is what CWOP really wants. For the case of the Vantage Pro, the same algorithm used to create Barometric Pressure from Station Pressure on stations like the WXT-510 is used with negative elevation to generate the station pressure value to send to CWOP. This corrects a long-standing problem with Vantage Pro CWOP participants reporting sea level pressure instead of station pressure. Added an HTML tag for Station Pressure (!--stationPressure--). This does not modify what is displayed for the !--barom-- HTML tag (sea level pressure). 3.0.0 01-15-2006 -------------------- radlib version required: 2.6.1 or newer 1) Added support for new HTML tags --stationDateMetric--, --dailyRainMM-- and --baromTrend--. See parameterlist.txt for the exact tag expressions to use in your templates. 2) Added AWEKAS support. Added html template files awekas_wl.htx-us and awekas_wl.htx-metric to the examples/html directory in the distro and added a new User Manual section for setting up AWEKAS with wview. 3) Totally reorganized and rewrote the station interface code to abstract the station interface. This is done in preparation for Vaisala WXT510 support in wview. The daemon directory is gone, replaced with a stations directory which contains a common directory for all station-generic code and a VantagePro directory for the Vantage Pro-specific interface code. Care was taken to minimize the code required for station-specific interfaces to ease the implementation of new stations in the future. 4) Added a new station interface API in stations.h. Clearly defines the functions which must be implemented for specific station implementations. 5) Added a new storm rain API (stormRain.[ch]). wview now computes rain storm events based on a 0.05"/hour rain rate start trigger and an idle (no rain) condition of 12 hours to determine when the storm ends. Vantage Pro storm values are no longer used so this is available for all station types. Added a new HTML tag --stormStart-- which retrieves the storm start date/time. 6) Added a new sensor API (sensor.[ch]). This provides a robust API for storing and retrieving sensor highs, lows and averages for any time frame (hour, day, week, month, year). 7) Significantly enhanced the computed data API to use the sensor API for HILOW data storage. HILOW computation and storage are now done generically by wview - the Vantage Pro HILOW packet is no longer used. Sensor HILOW values are exported to a binary file in the archive directory so they can be restored when wview is restarted. 8) Added a new sun/civil/astronomical rise and set API. This includes a method for "midday" and "day length". New HTML tags were added to access these new values. The Vantage Pro sunrise and sunset values are no longer used so that these values are available for all station types. 9) Renamed all HTML templates and references so that they do not contain the words "Vantage Pro". 10) Enhanced the wviewconfig script so that it queries for station type and does station-aware configuration. 11) Added new HTML tag --forecastIconFile-- which just inserts the name of the icon file without any HTML img helper text. 12) Added native wview support for Rain Season Start Month. Added new parameter to wview.conf and support in the wviewconfig script so it will create the entry in wview.conf if it is not there. This only effects Yearly rain, ET and rain rate calculation. Added a new HTML tag --rainSeasonStart-- so the start month can be used in templates. Added it to all example home page templates and the alamanac template. 13) Added sanity check logic and requirement to the station initialization so that the station/user config setting for archive interval matches the interval found in the archive files. Startup will not continue if they do not match. This prevents accidental corruption of the archive files. 14) Added new HTML tags --intervalAvgWindSpeed-- and --intervalAvgWindChill-- along with the code to support them. These provide the most recent archive interval average values for wind speed and wind chill. 15) Reorganized the User Manual and added content to the Building and Troubleshooting sections. Added new content to the UPGRADE file. 16) Enhanced almanac, Current, Daily, Monthly and Yearly HTML templates to include java buttons at the top of the page for site navigation. Created alamanac_Plus.htx so it may be migrated in the same way the other files are for extended sensor support. Updated the example html-templates.conf file. Removed the davisticker applet. 2.0.0 12-28-2005 -------------------- radlib version required: 2.6.1 or newer 1) Added support for HTML tags soilMoist1, soilMoist2, leafWet1 and leafWet2. See parameterlist.txt for the exact tag expressions to use in your templates. 2) Added support for computation of the daily high wind direction and a corresponding new HTML tag dayhighwinddir. Also added displaying a high wind direction "tick" on the wind dial. 3) Improved the resolution of the HTML tag windDirection from 8 possible values to 16. 4) Added new SQL background process which synchronizes the SQL table (if SQLDB_ENABLE is enabled in wview.conf) to the entire WLK binary database even if the records were stored before SQL was enabled. By running the SQL interface in the background as a separate process, it eliminates possible problems with wviewd VP console timing that could have been introduced by inserting the SQL records inline from the wviewd process. Uses existing SQL configuration values in wview.conf. You must install the appropriate new wview start script for your platform so the new wviewsqld process is started when SQL archiving is enabled. 5) Added configurability of the Moon Phase text. New parameters were added to htmlgen.conf and to the wviewconfig script to support using different words or languages for "Waxing", "Waning" and "Full". Should be configured with the wviewconfig script. 6) Optimized dial graphics generation by creating a gd dial palette file during initialization and using that run-time to avoid re-drawing the dial circle for every image. 25% or better improvement in overall generation times. 7) Addressed a rare scenario which could cause wviewd to not send an archive notification to wviewd, wvcwopd and wvwunderd when a new archive record is stored. The VP console was indicating an empty archive page. This would cause chart data to "fall behind" by an archive interval and CWOP/ Wunderground packets to not be sent every time the scenario occurred. Archive record storage was not affected. 8) Enhanced the "Precip" dials so that gross and net precipitation are depicted. Gross is measured rainfall and net is rainfall minus ET. This should clear up any confusion concerning "rain vs. precip". 1.9.1 12-18-2005 -------------------- radlib version required: 2.6.0 or newer 1) Added support for hosting wview on the Linksys NSLU2. Created an ipkg repository on the wviewweather.com site so wview and prerequisites (including an assortment of USB drivers) can be easily installed from the NSLU2 ipkg utility. See the new User Manual section "Using a Linksys NSLU2 as the wview Host" for full details. 2) Fixed a memory leak in dbdatabase.c for SQL record insertions which caused the memory used by wviewd to gradually grow in size. This only affects those who have "SQLDB_ENABLE" enabled in wview.conf. 3) Changed archive receive processing so if the VP console fails to send the next archive page wviewd will cancel the download and proceed with the HILOW request. 1.9.0 12-09-2005 -------------------- radlib version required: 2.6.0 or newer 1) Changed all wview interprocess messaging to use the new radlib message router utility. Cleaned up message type definition and broke out request types to a separate enumeration. You MUST upgrade your radlib installation to 2.6.0 or higher before building/installing this version of wview. You MUST also copy the appropriate wview run script from the 1.9.0 distribution for your platform (examples/SuSE, examples/FedoraCore, examples/FreeBSD, examples/MacOSX/wview, etc.). The new wview run script starts the radlib message router first which is now required by the wview processes. See the User Manual section "4.6 Configure to run at system boot" for details. 2) Fixed a bug in computed data processing when wview is run with a new station that only has archive records for the current day. 1.8.6 12-03-2005 -------------------- radlib version required: 2.5.0 or newer 1) Added a new configuration parameter "DO_RXCHECK" to wview.conf which enables/disables the generation of receive check stats for the rxcheck.png chart (which indicates wireless receive quality). If the parameter is not found at startup, wviewd will assume it is enabled (the old behavior). Added support for this parameter to the wviewconfig script and added it to the example wview.conf file in the distro. 2) Changed CWOP temperature reporting so it rounds up (or down for negative temps) instead of truncating fractional values. Also changed so it will report negative temperatures. 3) Modified the wakeup console routines to be more robust in certain odd USB scenarios. 1.8.5 11-27-2005 -------------------- radlib version required: 2.5.0 or newer 1) Fixed a bug in the computation of temperature and dewpoint change values for hour, day and week when the wview system is metric. It was computing the absolute celsius value for 1 degree F change instead of the celsius equivalent for one degree F (5/9 of a degree C). 2) Added composite inside temperature and humidity chart support for the last day and month. You will need to update your /etc/wview/images.conf (or images-metric.conf) file with the new (commented out) entries found in the example config file in the distribution (examples/conf/images.conf). New chart images (intempdaycomp.png and intempmonthcomp.png) were not added to any example HTML templates - you will need to do that manually if desired. Examples can be seen at: http://www.weather.teel.ws/intempdaycomp.png and http://www.weather.teel.ws/intempmonthcomp.png. 3) Added XML template and generation support. wview now recognizes XML templates (*.xtx) and generates files with extension "xml" from them. Added a default RSS feed for current conditions to all home page templates. Added a new XML template file "wxrss.xtx" to the examples/html directory of the distro and added an entry for it to examples/conf/html-templates.conf. The template file can be copied to your /etc/wview/html directory and edited for your site and preferences. Be sure to add an entry like the one now in examples/conf/html-templates.conf for "wxrss.xtx" in your /etc/wview/html-templates.conf file so the XML file will be generated. 1.8.4 11-13-2005 -------------------- radlib version required: 2.5.0 or newer 1) Changed all build targets to used shared libraries instead of static if they are available. This fixes build problems on Mac OSX. 2) Added new wviewd configuration value "SQLDB_DB_NAME" to allow configuration of the database name used for MySQL/PostGreSQL archive record storage. Added support for this new parameter in the wviewconfig script and to the example wview.conf file in ./examples. If the new parameter is not found in wview.conf, it will default to the old hard-coded value of "wviewDB". 3) Fixed a bug in images.c for month rain and ET charts that could occur at midnight. 1.8.3 11-05-2005 -------------------- radlib version required: 2.5.0 or newer 1) Changed all references to LIST and LIST_ID to RADLIST and RADLIST_ID respectively to avoid namespace conflicts with newer versions of MySQL, which only recently started using the same name. You must upgrade to radlib 2.5.0 or higher before installing this version. 2) Improved DST change processing by adding a timer to allow the kernel GMT offset to be reset properly before re-initializing the history data and resetting the VP console time and GMT offset. Fixed a minor bug that caused history data to be added in cases where the VP console reports new archive records but they are actually not new. 3) Modified some build settings to work properly with the new radlib (libtool) build method. Modified all start scripts to set the LD_LIBRARY_PATH environment variable. 1.8.2 10-22-2005 -------------------- radlib version required: 2.3.0 1) Changed archive record storage so that the bucket type indicator for 0.01 inches is stored in the rain field (0x1000). This is moot for wview, but is important for weatherlink. 2) Changed HTML file generation so it will continue generating files even if a missing template file is encountered. It will now just log a warning message. 3) Added GMT offset configuration of the VP console, done each time the station time is synchronized. The VP console GMT offset is set to the same value as the wview host system and DST is turned off on the VP console as the GMT offset already reflects the state of Daylight Savings Time. This corrects many problems folks have had getting their Sunrise and Sunset values to be reported correctly by the VP console (assuming the wview host is configured properly for time zone). 1.8.1 10-01-2005 -------------------- radlib version required: 2.2.5 1) Fixed potential divide-by-zero bug in vpifGetRXCheck function. 2) Added better data integrity checking to the computed data utilities. 3) Added Debian start script. 4) Added generation of a simple current conditions text file to be used for mesonet submission. The file generated is mesonet.txt. 1.8.0 09-24-2005 -------------------- radlib version required: 2.2.5 1) Increased buffer sizes for FTP username and password. 2) Changed FTP to use malloc heap instead of radlib buffers for static rules and work area. 3) Cleaned up format and comments for the example html-templates.conf config file. 1.7.8 09-13-2005 -------------------- radlib version required: 2.2.5 1) Changed database timestamp format to something pgresql 8+ likes. 1.7.7 09-02-2005 -------------------- radlib version required: 2.2.4 1) Fixed wview start scripts so they don't fail for those who don't build the Weather Underground daemon. 2) More tweaking of the NOAA high and low determination. 3) Fixed a compiler warning introduced with the rxcheck image addition. 1.7.6 09-01-2005 -------------------- radlib version required: 2.2.4 1) Fixed bug introduced with NOAA changes for 1.7.5. 1.7.5 08-31-2005 -------------------- radlib version required: 2.2.4 1) Changed NOAA file generation to use low and high outside temps from archive records instead of the outsideTemp value for lows and highs. 2) Added newer example message log output for the User Manual Troubleshooting section. 3) Cleaned up "departure from normal" values being displayed as "-0.0" when there are no previous year's months to use. 1.7.4 08-22-2005 -------------------- radlib version required: 2.2.4 1) Changed yearly number of records counter for yearly average computation from a USHORT to a UINT (it was rolling over today 8/22). Changed month and day counter sizes just to be on the safe side. 1.7.3 08-21-2005 -------------------- radlib version required: 2.2.4 1) Fixed air density calculation for older compilers. 1.7.2 08-20-2005 -------------------- radlib version required: 2.2.4 1) Added new HTML tags for day/month/year high THSW/Radiation/UV plus time of day for the daily highs. See examples/html/parameterlist.txt for details. 2) Updated build environment for MacOSX PostgreSQL builds. Updated the wview-Quick-Start-MacOSX.html file to include a hint for system shared memory configuration. 3) Added new HTML tag for moon phase and corresponding new source file to calculate it: lunarCycle.c. Embedded users may want to avoid this tag as it uses significant floating-point and trigonometric calculations. 4) Added new HTML tags and and and respectively. Added a new configuration file, forecast.conf, which allows the user to define the icon files and text associated with the forecast rules. See the example forecast.conf file for details. The icon tag will be replaced by an image html construct pointing at the appropriate icon image file. 2) Changed Heat Index temperature threshold so it is calculated for temperatures >= 75 degrees F - the old threshold was 80 degrees F. I can find no definitive constraints for the input values of the heat index formula. 75 F seems to be a reasonable starting point. 3) Added support for different homepage templates based on day or night. If the files "index-day.htx" and "index-night.htx" are listed in /etc/wview/html-templates.conf INSTEAD of "index.htx", then wview will generate the file "index.html" based on the values of sunrise, sunset and the current wview server time. See the example html-templates.conf file in the distro for more details. Also changed index.htx and the two new index-*.htx files just described so that their extensions will be "html" instead of "htm" when generated, as it has always been. This only applies to the homepage file generated. If you have a soft link in your webserver document root named "index.html" that points to "index.htm" (as I did), you will want to delete that so that htmlgend can generate the "index.html" file directly now. 4) Added ethernet TCP socket support for VP consoles connected to terminal servers or ethernet-to-serial convertors. Added the parameter "STATION_INTERFACE" to wview.conf so that one of serial or ethernet can be selected. Added "STATION_HOST" and "STATION_PORT" to wview.conf as well so the hostname/IP and port number of the terminal server can be specified. Confirmed proper operation on an Atop GW21E converter and a Lantronix MSS1-T. Setup of terminal server for proper operation will vary by type and capabilities. Proper serial configuration, transparent data flow (no control character processing), and no packet delimiter are required at a minimum for the terminal server setup. See the User Manual section "Prerequisites" for general requirements. 5) Confirmed USB operation for 2.4 linux kernels using the flagrantly non-GPL GPL driver from Silicon Labs for the CP2101 device used by Davis for the USB data logger. The driver presents the VP as "/dev/ttyUSB0", thus the serial option should be selected for "STATION_INTERFACE". 6) Added "wviewconfig" script to distro. This is an interactive script which will ask the user questions and write the wview.conf and htmlgen.conf configuration files based on the answers. It can be run for fresh installs or for upgrades. See the README file for details. 7) Moved all README content to the new wview-User-Manual.html file. 8) Integrated a bug fix by Steve Pacenka concerning the new temperature dial when the station is metric. 9) Fixed a minor annoyance with rain and ET charts that caused the y-axis maximum to be one more step than it should have been when rendered. 10) Improved vpinstall/vpconfig reliability for use with serial, ethernet or USB interfaces. Also added year-to-date rain and ET configuration to vpconfig and the vpinstall script. 11) Added new html tags for station elevation, latitude and longitude. Added the tags to the home page templates as part of the heading. The new tags are: , and respectively. 1.3.0 06-15-2005 -------------------- radlib-gpl version required: 2.2.0 1) "YourCity,YourState" has been replaced in the html template files by "," - html tags which wview will replace with the values you specify for "STATION_CITY" and "STATION_STATE" in /etc/wview/htmlgen.conf. So you no longer need to edit every template for your location. 2) Added PostgreSQL archive support (via radlib-gpl-2.2.0). Note that the configure script option to enable MySQL or now PostgreSQL support has been changed from "--enable-database" to either "--enable-mysql" or "--enable-pgresql" for obvious reasons. There is a full section in the README file that addresses either database setup and building wview for relational database archiving. 1.2.4 06-12-2005 -------------------- radlib-gpl version required: 2.1.0 1) Fixed several exit scenarios when things don't start properly. 2) Relaxed the timing constraints on the initialization commands to the VP. 3) Added new graphics - temperature, wind, and humidity "dials". See the new example images.conf for the entry specifics. Each dial adds some time to generation - embedded users will want to keep this in mind and can of course just not generate them if there is a time issue. 4) Modified the example HTML templates - removed some odd characters and added the new dial images to the home page templates (index-*). 5) Added a troubleshooting section to the README file. 1.2.3 06-09-2005 -------------------- radlib-gpl version required: 2.1.0 1) Fixed wvalarmd child signal omission when changing signal handling for 1.2.2. 1.2.2 06-09-2005 -------------------- radlib-gpl version required: 2.1.0 1) Changed wind meter image size to ~75% of the previous size. Changed colors and moved direction indicators inside the dial. Made the image background transparent. Generation time improvement of ~ 8%. 2) Decoupled serial specific logic from the wviewd state machine and initialization. Added "WVIEW_MEDIUM" abstraction with well-defined demarcation points for implementation of non-serial VP interfaces such as USB or ethernet. See serial.c and vpinterface.[ch] for details. 3) Added result checking for png image file generation to detect file save failure (normally a bad IMAGE_PATH setting in htmlgen.conf). Now logs warnings concerning the failure. 4) Changed all process signal handling to do a more "friendly" job of cleaning up when unrecoverable exceptions occur. 5) Added SIGPIPE handling to wvalarmd so far-end disconnects can be handled gracefully. 1.2.1 06-06-2005 -------------------- radlib-gpl version required: 2.1.0 1) Changed default home page template files index.htx and index_Plus.htx. The "classic" home page templates have been renamed to index-classic.htx and index-classic_Plus.htx. If one prefers the classic look, these files can be renamed appropriately when placed in /etc/wview/html. There are new index-*.htx templates for several different backgrounds and layouts. The new templates are in examples/html and the new background images are in bin/img. See the "Configuration" section of the README file for a discussion of the templates and a way to rotate your index.htx template. The default index.htx and index_Plus.htx templates are equivalent to the index-clouds.htx style. 2) Added a TCP/stream socket server interface to wvalarmd to support raw data feed applications. An example data feed client is included which can be built and run to illustrate how the socket interface works. The README file is chock full of details for this new capability in the section "Alarms and wview As a Data Feed Engine". 3) Fixed a bug with generation of newly added extended sensor data historical charts in glchart.c and glmultichart.c. 1.2.0 05-30-2005 -------------------- 1) Added html tags for all extended sensor values supported by the VP console for current conditions. These are: Solar Radiation Extra Temp 1 Extra Temp 2 Extra Temp 3 Soil Temp 1 Soil Temp 2 Soil Temp 3 Soil Temp 4 Leaf Temp 1 Leaf Temp 2 Extra Humidity 1 Extra Humidity 2 See .../wview-x.y.z/bin/html/parameterlist.txt for the new HTML tags that may be placed in your HTML template files. 2) Changed the bucket and chart title background so that multichart titles can be more easily seen. 3) Fixed vpconfig build problem on Mac OSX. 4) Added Current Condition Alarms and user-definable alarm actions (scripts). Added a new process (wvalarmd) and a corresponding new config file wvalarm.conf to support MIN and MAX alarm thresholds for current condition values provided by the VP console. This facility may be used to control irrigation systems, etc. based on weather data values. It can also be used to configure wview as an archive and data feed engine only, for those people who want to do something else with their VP instead of/in addition to generation of a weather web site. The alarm types are: Barometer InsideTemp InsideHumidity OutsideTemp WindSpeed TenMinuteAvgWindSpeed WindDirection OutsideHumidity RainRate StormRain DayRain MonthRain YearRain TxBatteryStatus ConsoleBatteryVoltage DewPoint WindChill HeatIndex Radiation UV ET ExtraTemp1 ExtraTemp2 ExtraTemp3 SoilTemp1 SoilTemp2 SoilTemp3 SoilTemp4 LeafTemp1 LeafTemp2 ExtraHumid1 ExtraHumid2 As always, the README file contains a full description of the alarms implementation and configuration. 5) Added a new rsync/ssh daemon (wviewsshd) for secure file posting capability to one or more remote servers. Utilizing rsync's ability to only transfer changes to files, this is significantly faster and more secure than using ftp. You must be able to setup the ssh shared key on the remote server - see the README file for full setup details. 6) Finally, added log message verbosity control. The "VERBOSE_MSGS" parameter of the wview.conf configure script now controls all process status log production. Set it to "0", and no log output will be generated for normal operations by any wview daemon. Error conditions, if they occur, will continue to be logged. 1.1.0 05-14-2005 -------------------- 1) Added Vantage Pro Plus extended data support for historical charts (day, month and year): Solar Radiation UV ET LeafTemp1 LeafTemp2 LeafWetness1 LeafWetness2 SoilTemp1 SoilTemp2 SoilTemp3 SoilTemp4 ExtraHumidity1 ExtraHumidity2 ExtraTemp1 ExtraTemp2 ExtraTemp3 SoilMoisture1 SoilMoisture2 SoilMoisture3 SoilMoisture4 Extended data chart generation can be enabled/disabled in /etc/wview/images.conf (or images-metric.conf if a metric station). HTML templates have been added (named *_Plus.htx) which include all of the extended data charts for the VP Plus. These can be edited and included in html-templates.conf so they are generated. Commented out entries for each of the new extended data images have been added to the example images.conf and images-metric.conf files which can be enabled by removing all leading '#' characters for a given image definition. See the README file for full details on configuring extended data support. 2) Simplified htmlgend generator timer initial start offset computation. This should tighten up the html generation to always occur on the 10th second. 3) Cleaned up and improved the HTML templates. Added java function to support the 'Weather Summary' URL button on the history pages. Changed history page href's to java buttons in index.htx. 4) Added support for older VP 'A' archive records (firmware dated before April 24, 2002). This is only an issue for VP Plus extended data - 'A' and 'B' records are identical up to 'ET'. 5) Fixed floating point wierdness causing Heat Index and Wind Chill to sometimes have values 0.1 degrees less than the actual temperature for cases when they should be equal. 1.0.1 05-01-2005 -------------------- 1) Fixed bug with SQL archive record insertion at midnight caused by how WLK records want the packed time formatted at midnight (24:00 vs. 00:00). 2) Fixed bug with bad archive record handling of archive interval increment to determine the timestamp for the next archive record from the console. Replaced a legacy hard-coded reference to 5 minute archive intervals with the working value determined from the VP console interface. 1.0.0 04-25-2005 -------------------- 1) Removed CONS_ARCHIVE_INTERVAL configuration option. wview now dynamically determines the archive interval the station is using during initialization and uses that to prevent the VP station and wview from being out of sync. This greatly simplifies installation setup as well. Although the Vantage Pro supports archive intervals up to 2 hours, wview supports the following (in minutes): 1, 5, 10, 15, 30, 60. 2) Added an optional MySQL database interface for archive records. Requires radlib-gpl-2.0.0 or greater which has been built with database support. Configured via new entries in /etc/wview/wview.conf - can store in metric units, can enable or disable extended values such as UV index and solar radiation which are available with the Vantage Pro(2) Plus, and can specify the username, password, and table name used for archive storage. See the README file for full details. 3) Added a new Vantage Pro console setup utility: "vpconfig". The primary purpose of vpconfig is to be used by the new install script "vpinstall" to setup new VP consoles prior to beginning use of wview. See the README file for full details on new setups using "vpinstall". 4) Disabled NOAA report generation when wview is configured for metric values and units (if METRIC_UNITS[1]=1 in /etc/wview/htmlgen.conf). 5) Fixed a minor bug that caused chart y scale computation to allow fractional values to cause a point to be plotted below the y axis minimum. 0.9.3 04-09-2005 -------------------- 1) Added metric units and value conversions. This makes wview compatible for non-US installations. A new configuration parameter in htmlgen.conf named "METRIC_UNITS" has been added that if set to "1" will cause wview to output all images (buckets and charts) as well as all values for HTML templates in the metric equivalents. The conversions are: Temperature ........... Celsius Barometer ............. Millibars Wind Speed ............ Kilometers per hour Rain .................. Centimeters Date Format ........... YYYYMMDD A new image config file named "images-metric.conf" has been added which is used instead of "images.conf" if "METRIC_UNITS" is set. This file can be edited to translate the English labels, titles and units to any language. By editing this file and the HTML template files, any language can be supported by wview. For existing installations, if the "METRIC_UNITS" parameter is not found in htmlgen.conf, wview will assume US units and no conversions will be done. Thus existing US users will not be affected by this new feature. In fact one can easily switch back and forth between US and metric units by toggling this configuration value. All archive data in the WLK files is still stored in US format - the conversions are only done for real time image and HTML file generation. 2) Added a new feature to detect Daylight Savings Time changes. If a DST change occurs (based on the tm struct component "tm_isdst"), the real time data arrays will be automatically updated so that chart data does not appear to be 1 hour behind (when DST begins) or one hour ahead (when DST ends). If the host system is not configured to automatically make DST time changes, this feature will not be activated and will have no effect. 0.9.2 02-13-2005 -------------------- 1) Implemented a simple barometric pressure trend algorithm for the last 4 hours of observed values. Barometer value display will now give an indication of the BP trend via the characters "+", "-", "~" immediately following the value, i.e. "30.027 + in", "29.921 - in", "30.511 ~ in" indicating "rising", "falling", "steady" respectively. Indicator may fluctuate in the first few hours after a restart until some history has been built up. 2) Added multi-plot charts. Now charts can display several (up to 4) data graphs which improves comprehension in select cases such as Temperature and Dewpoint. New images.conf entries can be found in examples/conf/images.conf for Temp/Dew Point and Heat Index/Wind Chill multi-plot charts. Current_Vantage_Pro.htx, Daily_Vantage_Pro.htx and Monthly_Vantage_Pro.htx in the bin/html directory have been changed to use these four new charts. Upgraders will want to consider using these files as examples for how to modify their existing configuration and template files (see the file "UPGRADE" for more details). 3) Added logic so that for daily and monthly temp-based charts, the min and max chart values are normalized. 0.9.1 01-07-2005 -------------------- 1) Removed the history timer. Implemented an event-driven approach so that the wviewd process sends a notification message to the htmlgend process to indicate that a new archive record has been received. This greatly simplifies the history data processing and addresses slow start up scenarios on low power devices. 2) Added verbage in the README file to discuss HTML generation configuration. 3) Modified archive retrieval interval timer start mechanism so that it uniformly lands 4 seconds into the next archive interval, as an even divisor of 60 seconds. Thus archive retrieval intervals should be between 15 and 60 seconds (inclusive) and divide 60 evenly. 4) Fixed minor bug with chart boundary calculations. 0.9.0 01-04-2005 -------------------- 1) Modified chart generation to add an argument for number of x-axis "hashes" so that chart structure and labeling can be more closely controlled. Also added one data point to chart value arrays and processing to allow for the "rightmost" label - thus simplifying other aspects of the old chart generation algorithm. 2) Fixed a bug when wview is started between an archive minute and the subsequent history timer expiry. 3) Fixed a bug in line chart rendering when a data point has an undefined value. This was causing GLC_VALUE_NONE (-10000.0) to be graphed. 4) Modified initial station time synchronization so that it is not synchronized until the wviewd state machine has cycled through one Archive/HiLow/Loop request cycle. Resetting the station time when it is in or near the archive minute could have potentially caused record loss, although that has yet to be reported. Now the archive record will be retrieved prior to the time sync. 5) Cleaned up legacy archive request handling in the wviewd state machine. This code was now being executed because of the time synchronization move (#4). Now the proper handler function is called in both the RUN state and other states. 6) Optimized chart creation memory allocation. 7) Enhanced chart min and max boundary calculation so that they fall on nice numbers. 8) Improved some of the titles for charts in the example images.conf file. 0.8.6 12-31-2004 -------------------- 1) Fixed bug with computation of dayStart value for html generation causing systems with a 30 minute archive interval to not be computed properly, thus all 24-hour charts were 30 minutes "behind". 2) Changed windchill calculation to require ">" 3.0 mph for wind speed and "<" 50 degrees F. 0.8.5 12-29-2004 -------------------- 1) Further optimized image generation by creating finer pitch flags for new archive records and what images they impact. Daily charts are updated every archive interval, 28 day charts are updated every hour and 365 day charts are updated every day at 12:01 AM. 2) Changed html generator startup so that it does an initial generation at initialization so that images will exist prior to the first generator timer expiry (after the next archive record is received). 3) Updated README file to better reflect recent changes and to describe the historical chart generation process. 4) Fixed run paths in example start scripts. 0.8.4 12-24-2004 -------------------- 1) Fixed minor bug in the display of negative values for temp, dewpoint, windchill and heatindex. 2) Optimized image generation so that historical chart images are only updated immediately after a new archive record has been received. This saves about 75% of image generation time when there is no new archive record. 3) Removed adjustAccuracy function from noaaGenerate.c. 0.8.3 12-15-2004 -------------------- 1) Changed location of run files to /var/wview (/var/run/* can be purged by the system). 2) Changed log output to use CONS_ARCHIVE_INTERVAL for sample message. 3) Fixed a minor bug with systems brought up for the first time with no archive files at all. Also optimized data averaging. 4) Added compiler optimization value "O2" to default builds. 0.8.2 12-14-2004 -------------------- 1) Added Ken McGuire's configurable archive interval changes into the main source branch. Now the archive interval of the weather console can be configured at build time by specifying "CONS_ARCHIVE_INTERVAL=X" to the configure script (X = 5 or X = 30). See the README file for more details. 2) Changed (per Ken) the use of "#pragma(pack,1)" to "__attribute__ ((packed))" on several data structures for more portable code. 3) Abolished the /usr/local/wview directory - now configuration files (*.conf, html templates) are located in /etc/wview and run files (*.pid, archive, FIFO devices, images, NOAA) are located in /var/wview. This allows the dynamic files under /var to be mounted on a ramdisk for embedded applications. 4) Changed the install-env build target to use the new locations. See the README file for more details. 5) Added the directory "cross-compile" which includes example configure scripts for configuring and building all the libraries necessary for wview and a script for wview itself. See the README file for more cross compiling details. 6) Added SuSE, FreeBSD, RedHat, and FedoraCore directories under "examples" which contain distro/OS specific run control scripts. 0.8.1 11-30-2004 -------------------- 1) Converted wview to the GNU autoconf/automake paradigm. Now the package is built as follows: #./configure #make #make install The ftpd daemon executable has been renamed "wviewftpd". All three daemons (wviewd, htmlgend and wviewftpd) are installed in /usr/local/bin by default, although the prefix (=/usr/local) can be changed when "configure" is invoked. make.config, rules.make, and Makefiles have been removed from the distro. The "configure" script generates the build files based on the host platform. 2) Fixed an annoying text alignment issue for month labels in noaaGenerate.c. All labels are now 3 chars long. 0.8.0 11-21-2004 -------------------- 1) Added the file "make.config" and changed the build environment to utilize it. Linux or BSD can now be specified as well as the install location of the wview daemons. 2) Added the "pkg" make target and the file "excludefiles" so distro tarballs can be easily built. 3) Fixed several trivial problems with building on a BSD platform. 4) Fixed a bug with archive records from the console which contained bogus data - such as when the console loses communication with the wireless data collector. Now if a bogus record is received from the Vantage Pro Console, data from the last good record is used. 0.7.5 05-02-2004 -------------------- 1) Added a new tag for system up time called which will insert the length of time the wview system has been running. This release requires radlib-gpl version 1.3.1. 0.7.4 02-22-2004 -------------------- 1) Found a minor problem with the wind direction calculation which would skew the result slightly. The fix requires the file $WVIEW_DIRECTORY/noaa.dat to be deleted so that it can be correctly regenerated after wview has been upgraded and built, but before it is restarted. This MUST be done to gain the improvements of the bug fix. 2) Changed ftpd to use /usr/bin/ftp - a child process is forked which calls execv for the ftp binary. This requires a format change for the ftp.conf file (which now allows wildcards). See the example in .../examples/conf/ftp.conf for the new file format. It is possible for multiple instances of the ftp binary to run concurrently if the transmission time for a file set overlaps the next transmission interval. This was not observed to be a problem when tested but care should be observed in the rule definitions in ftp.conf. This behavior is identical to cron jobs which overlap invocations. 0.7.3 02-18-2004 -------------------- 1) Fixed bug #32 - chart data for time frames before archive data exists should not be "drawn". 2) Fixed label problem with rain chart for last 24 hours. 3) Enhanced sample processing so that the last bar for the last 28 days rain chart and the last 365 days rain chart which represent the last current day and current week respectively, are update with each new sample. This allows all of the rain charts to be accurate to the last sample. 0.7.2 02-15-2004 -------------------- 1) Changed rain charts to be bar charts. Rain is expressed as: inches/hour for the last 24 hours, inches/day for the last 28 days, and inches/week for the last 365 days. Chart labels found in images.conf should be changed (the new images.conf under .../examples/conf has these changes). 2) Modified wviewd loop packet processing to ignore values of "0xFF" or "0xFFFF" in received loop packets from the Vantage Pro. These apparently indicate "no reading detected" or an RF error. 0.7.1 02-09-2004 -------------------- 1) Ported wview to radlib-gpl version 1.3.0. radlib-gpl now has its own homepage, www.radlib.teel.ws, for reference documents and other support. Download radlib-gpl-1.3.0 from the homepage and build it per the instructions in the distribution README for radlib-gpl before installing and building this version of wview. The wview homepage will now specify the version of radlib-gpl required for the current version of wview. 0.7.0 02-04-2004 -------------------- 1) Fixed bug #26 - Monthly "Low Humidity" was always zero. 2) Renamed all radlib references and build against new GPL version of radlib. radlib must now be built separately (and before) wview. radlib can now be located anywhere and the env variable "RADLIB_SRC_BASE" is no longer required at all. Headers and the library file are stored under "/usr/local/include" and "/usr/local/lib" respectively. The new radlib version is 1.2 and the distro tree is rooted at "radlib-gpl". The README file has been updated (and simplified) accordingly. 3) Added GPL headers and the "COPYING" file which contains the GPL version 2 license. wview is now officially GPL software. 0.6.3 02-01-2004 -------------------- 1) Improved wind direction averaging by using a consensus averaging algorithm. This corrects the problem where 1 degree and 359 degrees would normally average to 180 (south), when in fact we want them to average 0 (north). This is deployed for all instances of wind direction averaging: 24 hour, 28 day, and 365 day charts, and NOAA reports. 2) Cleaned up some NOAA report formatting. 0.6.2 01-29-2004 -------------------- 1) Fixed a few annoyances in the generated NOAA reports such as "DEP FROM NORM" values. 2) Improved normal values calculation to handle case of no historical data. 3) Added html tag so that the version of wview is available for html templates to use. This requires the "globalWviewVersionStr" macro to be changed for each new release in ../common/sysdefs.h. 4) Added a new html template: .../bin/html/index.htx. This is a good starting point for a weather home page. It includes the new tag so the wview version can be displayed. It also includes some nifty javascript code for picking NOAA reports from drop down lists (thanks SSM!). It references other generated html files such as Current_Vantage_Pro.htm. 0.6.1 01-28-2004 -------------------- 1) Added enhancement #22 - NOAA monthly and yearly historical reports are now generated and placed where the other image and html files are located. The files are named "NOAA-.text" and "NOAA--.txt". This capability is implemented in noaaGenerate.[ch] in the htmlgenerator directory. 2) Added a recovery state for serial read errors. 0.6.0 01-21-2004 -------------------- 1) Added enhancement #19 - html generator images and htmls can now be configured by the user. The source files "images-user.[ch]" can be modified and saved outside the source tree during upgrades (then copied back in the source tree) so that users can easily save their customized image creation source and config files. This requires new config files "images.conf" (for built-in generators), "images-user.conf" (for user defined generators), and "html-templates.conf" (to define which html templates to generate). See README for complete details. 0.5.4 01-17-2004 -------------------- 1) Actually fixed Bug #8! 0.5.3 01-17-2004 -------------------- 1) Fixed bug in ftp process where FtpClose was being called when a file failed to transfer, instead of continuing to the next file. 2) Modified ftplib.c to not malloc memory for each file, but rather use a static buffer. 3) Tested more thoroughly against remote ftp server. 4) Changed ftplib to use system buffers and not malloc all over creation. 5) Fixed Bug #17 - partial write bug in ftplib so it continues to transfer when the far end abates (stalls). 6) Fixed memory leak in ftplib. 7) Fixed Bug #8 - shift forward day chart samples by one sample. 0.5.2 01-12-2004 -------------------- 1) Changed FTP process to always start in the same minute as history timer. This guarantees that ftp.conf intervals coincide with % 5 = 1. 2) Changed ftp.conf file format to specify host, user, and pass once at the top of the file. 3) Changed ftpUtils.c to only connect and login once per transmit interval (minute). 0.5.1 01-11-2004 -------------------- 1) Improved archive path request processing so that the wviewd daemon does not respond until it has stored all archive records during initial start-up 2) Added ftp process to allow moving images to remote server (see README) 3) Refined generator data and history timers to more accurately sync to a millisecond offset 0.4.3 01-06-2004 -------------------- 1) Removed Davis SDK directory 2) added vantageSDK directory 3) created "install-env" target for first time installation 0.4.2 01-06-2004 -------------------- 1) Fixed chart spikes 2) added time synchronization for the console clock 3) added top level makefile 4) fixed dbfGetAverages "wrap-around" file bug 5) fixed add history sample bugs 0.4.1 12-31-2003 -------------------- 1) Fixed shutdown nuisance - wview script now starts and stops cleanly 2) added SSM chart label changes (moved startDay up 5 mins, startMonth up 1 hour, and startYear up 1 day so the last label is correct) 0.4.0 12-31-2003 -------------------- 1) Removed pnggen directory from project - link against system libraries, build against /usr/local/include 0.3.1 12-31-2003 -------------------- 1) Fixed midnight wakeup failure 2) added wait in html initialization for the daemon process 0.2.1 12-15-2003 -------------------- 1) Cleaned up the pnggen build environment 0.1.0 12-12-2003 -------------------- 1) Initial version