HW3.993 Final * Added support for "isolated thunderstorm" to the configs/wxinfo.ini.php. Thanks to lawrencevilleweather for sending this over. * added support for controlling when precip is provided based on the prob of precip with MOS & GFS LAMP usage. Changed hamlib/HW3Plugins/FetchMOS.php the following can be added to the hw3.ini.php or other config files [MOS Settings] ; minimum pop before returning the precip type var. %%get_mos_item#_vvTYPE%% ; default = 20 (if not set) mos_precip_minpop=20 ; minimum pop before including the precipitation type in the weather and icon phrases ; default = 30 (if not set) mos_wx_minpop=30 * Fixed issue with avn/gfs and nam not cycling the date properly around midnight. Changed hamlib/HW3Plugins/FetchMOS.php HW3.993 Beta 3 * Adjusted FetchMOS.php so that %%find_place%% or %%icao%% can be used in the MOS source urls, thus allowing to use NOAA as a source. Changed hamlib/HW3Plugins/FetchMOS.php configs/fc_lampgfs.ini.php configs/fc_ngmmos.ini.php configs/fc_avnmos.ini.php configs/fc_nammos.ini.php configs/fc_eatmos.ini.php * corrected bug in FetchMOS.php that would cause missing wind values to display as 99 or 999 * corrected mos nav coloring and changed ETA link to NAM. changed: templates/mos.html templates/include/nav_mos.html * bug fix for crossing a month with 31 days in the hamlib/HW3Plugins/Wx/MOS.php * bug fix for day switching to new date before hours do. changed hamlib/HW3Plugins/Wx/MOS.php * Correction for data missing/becoming old during the 00-09 UTC hours. This was a bug in the HW hosting of the data and corrected on our back end. Additionally the new default is to pull from noaa and only use HW servers as a back up. HW3.993 Beta 2 * Made corrections for GFS LAMP to hamlib/HW3Plugins/FetchMOS.php, hamlib/HW3Plugins/Wx/MOS.php * Updated the configs/fc_lampgfs.ini.php to only cache for 10 minutes since the GFS LAMP updates hourly * rewrite of the date functions in the hamlib/HW3Plugins/FetchMOS.php * support added for various GFS lamp components. The templates variables are in the format: %%get_mos_item#_vvITEM%% Where: # = a number from 0 to %%total_hours%%, specifying the hour/interval ITEM = the element to return. GSF LAMP specific items are: UTC = Hour of the day in UTC time. This is the hour at which the forecast is valid, or if the forecast is valid for a period, the end of the forecast period. TMP = surface temperature valid at that hour. DPT = surface dewpoint valid at that hour. WDR = forecasts of the 10-meter wind direction at the hour, given in tens of degrees. WSP = forecasts of the 10-meter wind speed at the hour, given in knots. WGS = forecasts of the 10-meter wind gust at the hour, given in knots. "NG" means that no gust is forecast. PPO = probability of precipitation occurring on the hour. The precipitation need not be measurable. P06 = probability of measurable precipitation (PoP) during a 6-h period ending at that time. PCO = categorical forecast of yes (Y) or no (N) indicating if precipitation, not necessarily measurable, will occur on the hour. TP2 = probability of thunderstorms during the 2-hr period ending at the indicated time. TC2 = categorical forecast of yes (Y) or no (N) indicating if thunderstorms will occur during the 2-hr period ending at the indicated time. POZ = conditional probability of freezing pcp occurring at the hour. This probability is conditional on precipitation occurring. POS = conditional probability of snow occurring at the hour. This probability is conditional on precipitation occurring. TYP = conditional precipitation type at the hour. This category forecast is conditional on precipitation occurring. CLD = forecast categories of total sky cover valid at that hour. CIG = ceiling height categorical forecasts at the hour. CCG = conditional ceiling height categorical forecasts at the hour. This category forecast is conditional on precipitation occurring. VIS = visibility categorical forecasts at the hour. CVS = conditional visibility categorical forecasts at the hour. This category forecast is conditional on precipitation occurring. OBV = obstruction to vision categorical forecasts at the hour. HW3.993 Beta 1 * Added support for GFS LAMP for Hourly data. Added configs/fc_lampgfs.ini.php. Changed: templates/include/nav_mos.html, hamlib/HW3Plugins/FetchMOS.php, hamlib/HW3Plugins/Wx/MOS.php LAMP provides hourly data out 24 hours. The data is updated hourly * Added support for NAM for Hourly data. Added configs/fc_nammos.ini.php. Changed: templates/include/nav_mos.html, hamlib/HW3Plugins/FetchMOS.php * Removed Link for ETA MOS * Added support for %%forecast_expiration_epoch%% for US zone forecasts. Changed USA.php * Improved support for phrasing like "Highs 85 lower elevations ranging to 72 higher elevations" in the zone forecast. Previously would return 71 (missread and did lower 72 which eq 71), now returns the average. Changed USA.php * Added support for %%day_fcn#%% to obtain the night time forecast text, when using the daysonly mode (daysonly=2) Convienent if you want to display the day icon, high/low & the day and night text. Changed USA.php * Fixed rare occuring Bug in HWmysql.php that would improperly return a city from another state if 1) the city was not in the requested state 2) the city name was only in one other state and 3) that state only have a single entry for the city HW3.992 * Fixed debug iss in the HWmysql.php * Fixed bug in FetchZoneFromDB.php that was calculating hourly temps incorrect. * Fixed issue with missing dewpoint when using HWdata point forecasts in FetchZoneFromDB.php * Added support for 30 hour taf format (changed TAFData.php) * Fixed several bugs and added support for weather/wind combo in TAF2Zone.php * Added Light Snow Showers to the wxinfo.ini.php HW3.991 - Fixed issues with Template.php dealing with the new html encoding HW3.991 Beta 1 * change in the hw3.php to fix issue with some users of the use_sites functionality having issues * fixed wxbh line in ParsePlace.php * Changed url in the fc_metar.ini.php to use noaa latest for xml * Fixed bug in Template.php that was causing url_pands to do a double urlencode. * fixed a type that prevented template_html_encode=# from setting the global encode option. Changed hw3.php * implement fix when using htmlencoding with a formatting command. HW3php 3.99 Final - added latest nav_intwx.html template - Updated hw3.php to latest version. - Added latest license text - Fixed bugs in the FetchSunInfo.php with a bad string/number converion - Fixed day/night functions in the FetchIntwx.php and fetchZandH.php caused by bug in fetchSunInfo.php - Fixed bug with allow_anywhere_search=0 setting Changed HWmysql.php - Fixed bug in new sounds like search for users who do not have the SearchPlaces table thats part of WxNeighborhood - Addition of .htaccess to help block bots HW3php 3.99 Beta 3 - updated the base style sheet to include a:vlink styles so they do not display larger - Added new Tropical Storm Conditions & Hurricane Conditions checks to the wxinfo.ini.php, also added 3 new icons rainandwind.png, tstormandwind.png and tstormandwindn.png - Expanded the Multiple Search Options added in beta 2 to work when entering a "city, state" such as "chatenuga, tx" which will display the forecast for Chattanooga, TN. Changed HWmysql.php and ParsePlace.php - Only works with MySQL 4.1+ - Updated FetchIntWx.php to have improved icons based on sun rise/set - Updated WxInfo.ini.php with latest weather types - Updated intwxinfo,ini.php and intwxinfo_lon.ini.php (for use with HWdata service) to fix occassional misspelling and add support for thunderstorms - Edited FetchIntWx.php to add support for thunderstorm index - Edited templates/include/intwx_interval24.html & intwx_interval3or6.html to add support for forecasted showfall & pop - updated FetchCANexradLoopInfo.php per support thread: FetchCANexradLoopInfo.php - ported over the changes from the INIReader.php in the Tropical Plugin to the main distribution. This will allow removing the INIReader.php from the tropical plugin. - updated Template.php to fix issue with htmletities in urls - Fixed occasional error in FetchZandH.php & hw3.php due to "true" being misspelled - Updated the Template.php to make it inherently support handling of the quotes and special characters better. HTML encoding is performed with the htmlentities php command. Now there are 3 HTML Encode modes. 0 = no html encoding made on template variables 1 = (DEFAULT) basic html encoding made on template variables. If an html tag exists it will not have any html encoding applied to the html tag 2 = HTML enocde all The global mode can be changed by editing the setting in the [SystemSettings] section: template_html_encode=# where # is a value from 0-2. If not set then 1 is assumed. Additionally the HTML encoding mode can be adjusted on the fly with in a template with %%HTMLENCODE=#%% where the # is a value from 0 to 2 HW3php 3.9.9 Beta 2 - if a user types in a state name or abbreviation now it will check to see if you have a 'state_url' setting in the [Paths] section. If so, it will replace '%country%' in the url with the current country abbreviation in lower case, Also '%state%' in the url will be replased with the states abbreviation in lower case. Finally HW3 will redirect the url to the new url. This is perfect if you have the weather directory installed as you can redirect the users to the state listing if they type in a state name. For example in the hw3.ini.php add something similiar too: [Paths] state_url=http://www.hamweather.net/local/%country%/%state%.html now if a user enters in a state name or abbreviation only they will be redirected to the url above. NOTE: HW3 will first look to see if the text entered matches a city. so if you type in "Virginia" you will be listed with the city names Virginia. But if you type in "va" or a state name that has no corresponding city name, then you will redirect to the state_url. - if a user types in a country name or abbreviation now it will check to see if you have a 'state_url' setting in the [Paths] section. If so, it will replace '%country%' in the url with the current country abbreviation in lower case, Finally HW3 will redirect the url to the new url. This is perfect if you have the weather directory installed as you can redirect the users to the state listing if they type in a state name. For example in the hw3.ini.php add something similiar too: [Paths] country_url=http://www.hamweather.net/local/%country%.html now if a user enters in a country name or abbreviation only they will be redirected to the url above. - Added support for improved "city name" searching via MYSQL only. By default if you type in a city name only HW3 will check the places table for an exact match on the enter name or the entered name followed by county i.e. if you enter "Cherokee" HW will look for "Cherokee" or "Cherokee County" in the database. If no match is found andthe city name entered is >= than the specified fuzzy_min_chars then it will check to see if the city name entered matches the beginning of a city name. i.e. if you enter "woodst" and if there is no city name "woodst" then it will look for all cities that begin with "woodst" such as 'woodstock, ga' Two new capabilities are available now if the above two fail: - Perform anywhere search - Will check to see if the entered city is anywhere in a city name. beginning, end or middle. - Perform Sounds like search - Will check to see if the entered city sounds like other cities, thus allowing it to catch some misspellings. i.e. if i type in Blacksbrg (instead of Blacksburg) it would return a list of cities that sound similiar to "blacksbrg" Two use the 2 new search methods: - Edit the hw3.ini.php in the [Database Access] section add: max_search_type=# where # is a value from 0 to 3 0 = do only exact phrase search 1 = If above fail then do a beginning of location name search 2 = if Above fail then do anywhere in location name search 3 = if above fail then do a sounds like search (REQUIRES MYSQL 4.1 or newer) Additionally Some people may like to do the sounds like search but not the "anywhere in lcoation name" search. In this case set the following: max_search_type=3 allow_anywhere_search=0 Please note that the sounds like search requires MYSQL 4.1 or newer - Fixed bug in FetchZandH.php that was not stripping html from tafs pulled from ADDS - Fixed bug in FetchZandH.php that was displaying a 7 day zone forecast even if forecast=tafzone was called for a US location. now if you just enter an icao & its US and it have a 7 day zone forecast it will be used.. but if you specifically state forecast=tafzone then it will only use the taf - Support added to ParsePlace.php and HWmysql.php to allow for use of Canadian postal codes to be used. Designed primarily for use with the HWdata International forecasts, this can be used with standard canadian forecast, though the database of canadian postal codes is not provided. To use add the following setting to the configs/hw3.ini [SystemSettings] section; use_full_ca_postal_code=1 HWdata international Forecast users can contact HAMweather for canadian postal code db correlated to the Hwdata forecast locations. HW3php 3.9.9 Beta 1 - Changed the template.php to use
instead of
for the br_ replacer - adjusted paths in FetchWxData.php tyo use the HAMLIN_PATH constant to correct errors for some users when enabling pear - The template.php supported converting a celsius temp to fahrenheit using the format command "farenheit_" which is a mispelling. Added support for "fahrenheit_" to be used as well. Left support for the misspelled version for backwards compatibility. - Added Support for HWdata users to display outlooks either in 3 hour intervals or hour by hour Changed FetchZoneFromDB.php Subscribers can now set "hourbyhour=1" in the [FORECAST] section of the hw3.ini.php to have outlooks hour by hour instead of the default 3 hour intervals - fixed big, when using adds as metar source, the %%hceiling%% only worked on the 1st request. Change MetarDecoded.php - added support for warnigns from forecast.weather.gov (changed Warnings.php and FetchWarnings.php) - Added support for Air Quality Alert to the Warnings.php - improved support for winter weather conditions in the wxinfo.ini.php - Fixed bug causing the advisory expiration year to be incremented by 1 if the beginning month and expiration month were different. Added a check to only do this if the beginning month ==12 and the expiration month == 1. Changed the Warnings.php - change the FetchZandh.php to use HAMLIB constant for require lines. - Until now, if you entered a bad city name (i.e. "ASHKLSJ") and specified an alt or pass template the default badplace template would not be displayed. Added two new config settings that can be added to the [SystemSettings] section to allow the badplace template to override the alt and pass template parameters: badplace_when_pass - if not set or set to 0, nothing changes in HW. if set to 1 then HW will use the badplace template when a bad location name is entered even if a pass template is specified. badplace_when_alt - if not set or set to 0, nothing changes in HW. if set to 1 then HW will use the badplace template when a bad location name is entered even if an alt template is specified. - added support for HW3 to allow multiple domains to be parked on a single install and load a config depending on the domain (thus allowing to use a different template set etc). Great for users who have one installation for multiple domains. (Note HW3 licensing is per domain the output is used on) To use this functionality: 1) create a configs/sites.ini.php. 2) In the new sites.ini.php put the section : [DomainUsers] followed by "domain=config" For instance: [DomainUsers] weather.hamweather.com=hamweather weather.yourdomain.com=yourdomain 3) edit the hw3.ini.php, in the [SystemSettings] section add "use_sites=1" Now HW3 will verify if $_SERVER['HOST_NAME'] or $_SERVER['SERVER_NAME'] is set. If so it will load the sites.ini.php file and then see if there is a setting for the domain name. If so it will get the corresponding config name and then load the config. In our example if we were browsing to weather.hamweather.com, then HW3 would load the config configs/hamweather.ini.php Additionally if no match is found, HW3 will then look for default=xxx in the [DomainUsers] section, if this exists it will load the specified config, otherwise it will continue as normal. Notes: - that this feature will override any "user=xxxxx" you may have passed in the query string or form post to hamweather. - If a DomainUser setting or default is used then the template variable %%domainUsed%% is set to 1, otherwise it will blank (if not using the feature) or "0" if using this feature but no matches or default used. - Fixed bug in the ODBC.php that caused some city searches to fail for MSACCESS / MSSQL users. - added code to the Cookies.php and HandleInput.php to strip out any values with "http" or ftp in them. These are caused by sites trying to exploit the security hole that was originally corrected in September of 2006. While technically not causing a security error they were annoying. - Adjusted PluginRunner.php to handle a user passing a bad "forecast=xxx" or "do=xxx" string. Instead of giving errors it will do one of 2 things: If the config setting "bad_forecast_url" exists in the [Defaults] Section it will redirect to this otherwise it will output the default forecast. - adjusted Warnings.php to support a change in the output on the www.srh.noaa.gov servers. - altered Template.php to fix issue where users using %%PRINTCOMMENTS=0%% with templates that used SSI calls where having their SSI calls removed - added support for html_replace_pattern and html_replace_str settings in the [SystemSettings] section of hw3.ini.php These will override the default behaviour of then "html_" template variable format string changed hw3.php, Template.php - added is_object catch to FetchZandH for some users who were having an issue if their PWS was not reporting. - updated USA.php to fix a bug with it not picking temps from the ZFP that were: "Highs 20." or "Lows 20." - updated fc_tafzone.ini.php, TAF2Zone.php, FetchZandH.php to support the adds server for tafs - update templates/usradar.html, usradar_loop.html, usreg.html, usreg_loop.html to change radar source to radar.weather.gov - update templates/include/local_radar_ridge.html and local_radar_loop_ridge.html to change radar source to radar.weather.gov - update templates/include/local_radar_ridge.html and local_radar_loop_ridge.html to change _highway_ overlay to _highways_ - Update to USA.php to better handle temperature phrases with xx inlands and yy on the coast. The first temperature specified is given priority - Update to USA.php to improve handling of phrases like "highs in the mid 50s with falling temperatures after morning." Previous this would not be parsed, now this will return a temperature based on the first half. - Fixed an reference error in the SimpleHTTPClient that may have caused notices on some servers - fixed bug in HWmysql.php that could cause an error to display when searching a location like "indonesia" - corrected type in the templates/shortterm.html (changed inclimate to inclement) - updated Cookies.php where the nc parameter was not being properly handled all the time Mainly affected flat file users -updated ParsePlace.pm to handle if the user adds a period after the state or country in the pands element. i.e. "atlanta, ga." and "london, gb." will not work properly. - Added support for "Widespread dust" and "dust" to the wxinfo.ini - Updated the multiple_places.html template to fix bugs with a perl version accidently making it into the php release in 3.9.8.7 HW3php 3.9.8.7 - Main distribution only, updated templates to use CSS. Upgraders can obtain CSS templates separately. - updated FetchCANexradLoopInfo.php, local_radar_ca.html and local_radar_ca_loop.html for latest EC changes - updated fc_zone.ini.php to remove IWIN from source list - corrected issue in FetchZandh.php dealing with the currents icon using the day icon even when there is no sunrise or sunset - Updated NOAARSS.pm to support the new noaa link format so the types functionality will work, preventing NOW from showing up in warnings. - Added Areas of Fog to the wxinfo.ini - edited the HandleInput.php to properly allow for accented marks in input. - added support for "è" in a location name - Edited Template.php to allow the formating var "fc2_" which will do the normal fix casing but leave the line feeds etc. - Update to NOAARSS.php to look for the warning date inside of the actual warning text now that NOAA is including this in the warning. - Fixed by reference bug in SimpleHTTPClient.php HW3php 3.9.8.6 - Updated support for canadian radars: canada_radars.ini.php, fc_cacomploop.ini.php, fc_cacomprad.ini.php, fc_canexrad.ini.php, fc_canexradloop.ini.php FetchCANexradLoopInfo.php ca_comp_radar.html, ca_comp_radar_loop.html, local_radar_ca.html local_radar_loop_ca.html nav_ca.html, nav_ca_radar.html, nav_ca_radar_loop.html nav_ca_reg_radar.html, nav_ca_reg_radar_loop.html - Updated support for newer NOAA radar imagery: FetchNexradRidgeKLoopInfo.pm usradar.html, usradar_loop.html, usreg.html, usreg_loop.html local_radar.html, local_radar_loop.html, local_radar_loop_ridge.html, local_radar_ridge.html, nav_radar.html, nav_radar_loop.html, nav_radar_loop_ridge.html, nav_radar_ridge.html - updated version # in hw3.php HW3php 3.9.8.5 - Edited HandleInput.php to add additional sanitary cleaning to Form Variables. - Edited Cookies.php to add additional sanitary cleaning to the HW3 cookie. - edited fc_metar.ini.php to add FG noaa icon type to be fog. - Added fix to TAFData.php to allow for some TAFs that include the word "TAF" before the taf HW3php 3.9.8.4 - NOAA is no longer offering the HWO & SPS in the XML feeds, so edited the fc_special.ini and the Warnings.php to allow the new IWIN replacement site to be used For Special/HWO. - added support to plain sockets to handle fetching data from a webserver and specifying the port # (if not 80) as part of the server name. i.e. www.server.com:8080, SimpleHTTPClient.php - Added support for %%day_winds#%% and %%day_winddirs#%% Thanks to http://weatherfox.com/ for providing the code to implement this (ported from perl version) - update USA.php to add support for new space charactor at the beginning of each line in zfp on the weather.gov server - Fixed FetchZandH.php to handle hicon when sunset = NONE - fixed bug that would give a place not found error you if searched by us public zone id and the location name was not in the places table. FetchZandH.php - Bug fix for FetchIntWx.php for IntWx HWdata Support. HW3php 3.9.8.3 - Added a fix for when the end hour < begin hour. HW3 will display the correct day or night icon for current conditions. - Now allow PWS data source to be different from the normal METAR data source with the addition of new INI settings in the fc_metar.ini: pws_url=pws.hamweather.net pws_prefix=/weather/current/%%find_place%% pws_postfix=.html Changed fc_metar.ini.php, FetchZandH.php - Several people started having issues with international currents. This is because the new NOAA XML servers only serve US currents, no international, but they also now check the last 3 letters of the international icao, if they match the last 3 letters of an US ICAO they redirect to that, thus causing HW to display data for the incorrect location. To handle this better the fc_metar.ini.php was updated to include a different server set to pull for international locations. so the XML can be used for US locations since its usually updated faster than some of the other servers while other sources can be used for non us locations. Changed fc_metar.ini.php, FetchZandH.php, FetchMetar.php - Fixed bug with debug_mode=3 changed hw3.php - Fixed bug in mysql usage if entered a city name only, the db would always be queried with a fuzzy search even if a location was found in the non fuzzy search changed mysql.php - Added support for 'FULL_COUNTRY_XX' in a template to return the full countryname. SQL only changed hw3tparser.php - Added support for the Optional HWdata International Wx subscription service. This service allows HW to display Internaitonal forecasts in 3,6, 12 or 24 hour formats based on subscription. See http://www.hamweather.com/hwdata for more information. Added: configs/fc_intwx.ini.php configs/intwxinfo.ini.php configs/intwxinfo_long.ini.php hamlib/HW3Plugins/FetchIntWx.php templates/intwx.html templates/include/intwx_interval3or6.html templates/include/intwx_interval24.html templates/include/nav_intwx.html HW3php 3.9.8.2 Changed in HW 3.9.8.2 - Fixed notification error that displayed for users using the freeware database & getting US forecast for a location with no closesy icao set. Edited the FetchZandH.php Changed in HW3.9.8.1 - Fixed bug in NOAAADDS.php where noaa sentthe negative sign as - which kept the module from determining negative temperatures - Added new regex to the NOAAADDS.php that will make it compatiable with the SimpleHTTPClient for users who cannot use the new cURL client Changes in HW3.9.8 - edit the tafINT.html template to change pands= to icao= to fix issue when a city name may be the same as an ICAO. - added support to pull zone forecasts from www.weather.gov, which should be an improvement over weather.noaa.gov. Changed FetchZandH.php and fc_zone.ini.php - renamed main class in Canada.php to CAZone so there were no conflicts when using %%FORECAST lines in a template that fetched US & CA zones. changed Canada.php and FetchZandH.php - fixed issue with Canada.php not handling the accented e correctly - Added support for %%hepoch%% which is the epoch of the metar update. changed FetchZandH.php - modified the Canada.php to help block wind speeds from being caught as temps - modified ParcePlace.php to fix bug. if you set the default country in the hw3.ini.php in uppercase HW would never use the default state. Changing the default country to lowercase solved this. Added line to handle this in the code as well - changed NOAAXML.php to use the new observation_time_rfc822 node for time instead of observation_time, because the new node includes the offset from GMT, making it easier and more accurate to convert back to GMT. This also corrected a bug with locations in the Atlantic Standard Time time zone which were displaying their times off by 4 hours. - correction of bug in the FetchZandH.php that caused days to be off for currents for servers in the timezones that are +GMT that occasionally displayed the currents date, a day ahead. - add support for new "cl_" template formatting command that will "clear" all non word or space characters from a template variable. changed template.pm - edited the Cookies.php for php 5 in cases when $HTTP_COOKIE_VARS is not set by default to use the newer $_COOKIES - edited USA.pm to handle the phrase for "Near steady temperature at xx" - fixed bug in the NOAARSS.php which was causing HW to display the current hour:min for the warning issue date. - made changes tot he SimpleHTTPClient.php to improve support for "301 permantly moved" and 404 not found errors and "300 multiple choice" errors (the latter from the NOAA XML source) - Fixed issue in FetchZandH.php and FetchMetar.php which were preventing HW3 from falling back to the secondary ICAO when a 404 error occured. - corrected issue with hplace/hstate variables not working when using noaa xml for currents - changed the weather.gov domain to www.weather.gov in the fc_warnings.ini so that the redirect message from noaa would cause issue in HW3perl - fixed bug in HandleInput.php that was causing "+" not to be converted to spaces when calling HW3.php from the command line with parameters - added support for multiline handling with the fixcase routine. modeified template.php - added scattered showers and various other elements to the wxinfo.ini - moved "rain showers" to be after "most cloudy ... showers" & " partly cloudy .. showers" in the wxinfo.ini - Modified the FetchCANexradLoopInfo.php to support the national and regional radars. Also edited the local_radar_ca.html, local_radar_loop_ca.html, configs/fc_canexrad.ini.php and configs/fc_canexradloop.ini.php added include/nav_ca_radar.html, include/nav_ca_radar_loop.html and configs/canada_radars.ini.php -Modified HandleInput.php to use $_GET and $_POST instead of the older variables, since some php 5.x users were having issues with this. - modified FetchZandh.php to better handle ICAOs with very old metar reports.If the first ICAO has data older than a day then HW will fall back to the second ICAO. - Updated the fc_warnings.ini to add the [Warnings Addin] section to allow blocking HWO and SPS from displaying in the warnings - Updated the NOAAXML.php to make the %%hwinddir%% variable be in abbreviated form to match the other sources. Also added conversion for VARIABLE to VRB since this was missing - updated the templates/include/local_radar_ridge.html and local_radar_loop_ridge.html to display the warnings overlay only for base reflectivity - Added support in Warnings.pm to get the title "SHORTTERM FORECAST" when using SRH as the source for warnings. - edited wxinfo.ini to change Fog & mist to Fog and Mist so not to cause errors for xml output - Modified the ParsePlace.php to add better support for canadian Postal Codes - Added support for HW3 to use a new look up 3 letter airport codes. via new table in the database. Note that since the database is rather large, Its an optional download for from the HWdb Download Site. Changed parsePlace.php and HWmysql.php. This is supported in SQL usage only. - Added new fields to the ICAOs table. Which are included in the latest HWdbs, which allow it to display the local zone forecasts & current conditions, radar etc when looking up an US ICAO. - Added new CurlHTTPClient which can be used in place of the SimpleHTTPClient. Provides improved HTTP Fetch handling. Requires that cURL be installed and integrated with PHP. To use. To use this new client, edit the configs/hw3.ini.php. In the [System Settings] Section add : http_mode=1 - Added support to pull metar obs from the adds.aviation.noaa.gov server. Seems to work best with the new CurlHTTPClient is being used. fc_metar.ini.php is set to use this new source as a secondary to the NOAA xml. Added NOAAADDS.php, edited FetchZandH.php, FetchMetar.php and fc_metar.ini.php Changes in HW3.9 Final - Modified the FetchWxData.php to add a notice block on a chmod call for users who do not have permission to use chmod with in php - Edited the Simple HTTPClient.php to add "&" to help stop the assign reference notification in php 4.4 - Change in the MetarDecoded.php to correct minor issue with new XML data causing a notification to display - Change in the FetchMetar.php to correct issue with new XML data -Changes in the NOAARSS.php to stop a notification error - Change in FetchWarnings.php to remove new reference notification - change in FetchWxData.php to correct reference assign notification - changed fc_warnings.ini settings for iwin usage (though iwin is no longer the default) - Added fc_nexradridgeloop.ini.php, FetchNexradRidgeLoopInfo.php and altered the templates/include/local_radar_loop_ridge.html template to support the new ridge radar naming scheme - fixed bug in the NOAARSS.php file that will stop %%warning_found%% from being the value of 1 when there is no active warning - added a set_magic_quotes_runtime(0) to hw3.php for the rare user who has this turned on in the php.ini - corrected drizzlen.gif entry for fog/mist in the wxinfo.ini.php - change in FertchWxData.php to correct new warnig statement about references in Hphp 4.4 & php 5.1 - change in NOAAXML.php to correct visibility issue - change in NOAAXML.php to correct %%hwindspd%% and %%gusts%% issues - edited hw3.ini to set use_persistant=0 as the default - added error supression on chmod commands in common.php for users who servers do not allow chmod commands. Changed in HW3.9 RC2 - added change to FetchZandh.php to handle noaa change in their xml format for currents. - Split the warnings.html template into warnings.html and include/warning_list.html to allow better display of any warnings. - added a strtoupper on the db "type" parameter so if a person types in "sql" instead of SQL in the hw3.ini it will still work correctly Changes in HW3.9 RC 1 - Updated Version number of hw3.php - changed USA.php to allow for toward xx in temps - Added Change to FetchZandh.php and to automatically fall to the second closest ICAO if the data for the first ICAO is more than 1 day old. This will help prevent extremely expired data from showing if a station stops reporting. - Imported additions to MetarDecoded provided by Jeff at www.michiganweathersource.com When the Decoded Metar Observation includes the following, they will be set, otherwise left at "N/A" Note they are not always provided. %%hprecn%% - Last hour precip %%hprestrend_in%% - pressure tendency in inches %%hprestrend_mb%% - pressure tendency in mb %%hprestrend%% - pressure tendency direction %%hsixhrhif%% - previous 6 hour max temp in F %%hsixhrhi_c%% - previous 6 hour max temp in C %%hsixhrlof%% - previous 6 hour min temp in F %%hsixhrlo_c%% - previous 6 hour min temp in C %%h24hrhif%% - previous 24 hour max temp in F %%h24hrhi_c%% - previous 24 hour max temp in C %%h24hrlof%% - previous 24 hour min temp in F %%h24hrlo_c%% - previous 24 hour min temp in C %%hthrhrprec%% - previous 3 hour precip in inches %%hsixhrprec%% - previous 6 hour precip in inches %%h24hrprec%% - previous 24 hour precip in inches - Added change to FetchZandH.php and FetchSunInfo.php, so that when possible the currents icon will be based on the actual sunrise and sunset times. If after sunset the night icon is used etc. - altered fc_special.ini to work with new XML support - Added support for using the new NOAA XML for current observations at weather.gov. This server improves speed of updates. But only covers US icaos... HW is working on a solution that will cover all reporting ICAOs. - Added support for parsing warnings from www.srh.noaa.gov Changed FetchWarnings.pm fc_warnings.ini - Updated FetchWarnings.pm and added NOAARSS.pm for parsing rss warnings from noaa. added support in fc_warnings.ini This support improves HW3 warning reporting (though not quite as good as with the HWwarnings service ) - fix bug in the FetchSunInfo.php with the moonset function - Fixed bug in the ParsePlace.php which caused looking up a location by county to not work correctly if there was another city by the same name with in the state - added support for Occasional rain to the wxinfo.ini.php - edited FetchWxInfo.php to add logic for failed searches - Several changes to the USA.pm for temperature parsing - Updated the Canada.pm to handle a change in the regions made by EC - added support for %%batvolt%%, %%fueltemp%% and %%fuelmoist%% when reading in HW decoded raws - sometime the canadian zone forecasts include the days UV index. added support to the Canada.php to parse this and make available via the %%day_uvi#%% variable. Often the day_uvi is only available for the first day of the forecast. Also added support for this in the templates/include/zone_rows.html - removed "AMPM flag from Canadian forecast date sinc they are in 24 hour format (Canada.php) - Fixed bugs in the Canada.php which prevented the daysonly=2 and daysonly=3 methods from working correctly - Made change in Canada.php to use variable references on the results, just to save a few more resources. - added line to the USA.php to handle when NOAA doesnt add the proper "$$" at the end of a zone forecast - Support for "Fog/Mist" comabination added to the wxinfo.ini - editied the rain row in the wxinfo.ini to change it to RAIN\b=Rain|rain.gif|rain.gif so that it would not pick up rain in the word "rainfall" - added support for "morning clouds" to the wxinfo.ini - added "Occastional Rain" to the wxinfo.ini.php - Added support for new NOAA Ridge radar views. Can now set radar_type=ridge in the[[Radar Options] section of the radar.ini.php to use the ridge radars in place of normal nexrad views. Added several new radar templates (they all include "ridge" in the name) - adjusted the max cache time from 30 minutes to 15 for metars. in the fc_metar.ini - adjusted Cookies.php to fix a potential bug when saving a cookie - fixed potential bug in the MetarDecoded.php that coudl cause an undefined offset error. - removed errant line feeds after the closing php tag in the FetchShortterm.php file which caused issue for some users making images with the shortterm data. - add support for passing mime type setting from INI file - changed USA.php to fix bug with xxxx night through yyyy, finding the correct low for the first night - changed the USA.php to support temp phrase "highs towards 70" - modify the Fetchwarnings.pm to allow the state to be passed by querystring or form - change to MetarDecoded.php to stop some issues that randomly occur for CAVOK - made change to the Flatfile.php to allow it to properly handle accented characters - made change tone USA.php to fix bug where some wxinfo types could be picked up incorrectly if part of another word in a forecast text. i.e. sometimes "rain" would be returned if the forecast had the word "terrain" in it. - added support for "showers likely" to wxinfo.ini - edited the USA.php to handle "Windy" in the same sentence as the temperature. - Fixed bug in FetchMOS.php getting a day of zero during the month wrapover Changes in HW3.0861 - Fixed bug in the parseplace.php (mainly affecting flatfile users) Changes in HW3.086 - fixed potential endless loop in USA.pm - fixed bug in MetarDecoded.php that was not setting the hplace, hstate and hcountry variables when using cached data. - fixed bug in INIreader that was loading commented ini settings - changed version number in hw3.php - added isset check in HandleInput.php for Arg_v parameter to prevent a warning on some servers which do not set this. - added code to handle potential bad data inthe zone forecast causing day title errors to display - altered FlatFile.php to allow the following: - if city not found in hw3dbs/XX/altplaces/XX-YY-altplaces.txt (XX=country&YY=state/province) then it will look for a hw3dbs/global/altplaces.txt and look in there. Note the global altplace, must begin with the country|state|normal - if city not found in the country specific city-places files then will look in the hw3dbs/global/city-places.txt - altered the ParcePlace.php to allow "city, country" or "city, province" Changes in HW3.085 - edited wxinfo.ini to match perl version & added support for "widespread fog" - modified templates/include/current.html, changing %%IF ('%%htempf%%' != 'N/A' && '%%htempf%%' ) THEN %%dec0_^^hwvUnitConv^^htempf%%°%%hwvUnitType%% ELSE N/A IF%% to %%IF ('%%htempf%%' != 'N/A' && '%%htempf%%' ne '') THEN %%dec0_^^hwvUnitConv^^htempf%%°%%hwvUnitType%% ELSE N/A IF%% which correct celsius issues - fixed typo in the FetchSunInfo.php in the moon_age_icon routine - fixed issue with template printining hw3.php - modified special.html template to correct displaying improper information when no special report is available. - added ability for hw3php to process command line parameters using code snippet provided by cabel sasser. (changed HandleInput.php) - added support for MIXPCPN weather type to wxinfo.ini - fixed variable not setw arning that displayed for some canadian locations. (changed FetchZandH.php) - added MST to the TZ settings in the hw3.ini.php - fixed issue in FetchMOS.pm that would not allow all available hours to display pass approx 25 - fixed bug with foecast=dpp not working in PluginRunner.php - Fixed variable name typo in HWmysql.php - Fixed end of the month bug in FetchMOS.pm - made change to correct expired tafs from dispalyingin zandh.html template - added support for "HZ" to be hazy in wxinfo.ini - fixed bug dealing with debug=3 mode - removed extra line feed after the ?> in the HandleInput.php. Could cause an "headers already outputted" warning on some servers. - fixed issue with change over from a month with 31 days to a new month showing up aas 32nd day for a few hours. Changes in HW3.084 - Included the expanded HWMoonPhases in this release. changed templates/include/astro_info.html to support this - corrected issue with MOS where 'FW' observation was displaying as N/A - change to FetchZandH.php so that %%htime%% has colon - changed templates/include/mos_found.html so that N/A in relative humidt would display as ** instead of N/A% - made changes to the MetarDecoded.php, USA.php and FetchMOS.php to make compatible with php 5 - added correction to USA.pm to stop the heat index from being interpreted as the real temp. - added support for afternoon, evening & morning tstorms to wxinfo.ini - added support for VCTS (Thunder storms in vicinity) - added support Q06 & Q12 in GFS. can access with %%get_mos_item#_vvQ06x%%% and %%get_mos_item#_vvQ12x%%% - fixed issue with cookies not always working - fixed issue with nc=hwall not working correctly - fixed bug in SimpleIni.pm that would not read in an ini file setting where the key was "0" - fixed bug in SimpleINI.pm where it would ignore a new section name that was "0" - fixed fc_gfs.ini.php to allow forecast=gfs to work correctly - Fixed issue with FetchWxData.php where if multiple URLs were to be used in case one unavailable only the first was being used. - added support for new template variables: %%lf%% = line feed %%cr%% = carriage return %%crlf%% = carriage return and line feed - added support for cloud type FW in ETA MOS as "Mostly Sunny" - added an "is_file" check in the INIReader.php in cases where an include is a directory name. - added setting in fc_zone.ini.php to import the tafzone file as well, so that errors do not occur when calling forecast=zone&icao=xxxx - fixed bug in FetchSunInfo.php dealing with moon set/rise times - fixed issue in the USA.php that sometimes cause Day1 through Day2 not to include the "day2 portion" - corrected a time/date/zone issue for metar in FetchZandh.php and MOs in FetcMOS.php - fixed query bug in HWODBC.php file dealing with checking for an altcity, if one not found it would go into an endless loop. - added hidden element to the yourweather_options.html template to pass the "config" setting - added hidden element to the yourweather_options.html template to pass the "config" setting - edited fc_gfs.ini to allow forecast=gfs to actually work correctly - edited mos_found.html, nav_mos.html to correct some GFS issues - edited the yourweather_options.html to change references of AVNMOS to GFS and to add ETAMOS - edited mos_unavail to change references to AVNMOS to GFS CHanges in HW3php 3.082 - made changes to the local_eader.html, nav_state.html and tafzone_rows.html templates to correct warning messages coming up when an ICAO was used that had an appostrophe in the name - changed the degree symbol to the proper html coded ° in the current.html and zone_rows.html templates. - Fixed cleaning logging directory when the [SystemSettings]/log_file_max_age hw3.ini.php setting is > 0. Changed hw3.ini.php, hw3.php, hamlib/HW/common.php - Fixed issue with Hourly displaying the weather type as S,R,Z instead of the actual data name. - changed "AVNMOS" to "GFS" to match new model name from NOAA. Changed nav_mos.html and mos.html. - Added fc_gfs.ini.php which can be used in place of fc_avnmos.ini.php i.e. you can use forecast=gfs or forecast=avnmos now - Fixed several bugs in HWODBC.php - Fixed bug in the Template.php which prevented variables like %%get_item#_vvTYPE%% from working when you had a formatting command in front of them such as %%uc_get_item#_vvTYPE%% - added missing paranthesis to warnings.php - added support for handling temps of phrasing of: 'highs 5 below." in USA.php - fixed bug in Flatfile.pm where the system could not find the city name if you entered a cityname only that started with an uppercase letter - corrected spelling of Daylight saving time in templates/include/icaodesc.html - bug fix in Taf2Zone.php that caused a warning to display occasionally - made change to Template.php to ensure hashes array is passed via reference - made change to temlate.php that allows for %%IF10, %%IF100 etc - made change to allow the users to set the server_name and script_path for the cookies being saved. in [SystemSettings] section of hw3.ini you can have server_name=domainname.com script_name=/ where server_name is the domain and script name is the path that the cookie should be sent to in for that domain. a "/" will make the cookie be sent for every page request on the server. - add support for airport weather warning - fixed bug in template.php which caused the state abbreviations in lower case to be removed when using the "fc_" formatting in front of a template variable. - fixed bug in Taf2Zone.php where the custom descriptions where not always being used properly. -changed version number Changes in HW3.081 PHP - fixed possible endless loop when a canadian ICAO is entered. - changed templates/include/local_nav.html to include a space before the country name, as it would be missing occassionally - changed version number Changed is HW3.08 PHP - changes to various require_once lines to help improve issues with includes on some servers. - fixed typo in template.php causing errors occassionally when using the "fc_" formatting variable - changed the special.html template to leave the report in uppercase & surrounded with pre tags - made chnage in TAF2Zone.php so that the weather display names in the wxinfo.ini.php are used when making the weather in the taf 2 zone forecast text - fixed timezone issues with dates in FetchMOS.php - Added "html_side=." tothe path section of the hw3.ini.php so that its the filepath to the directory that contains the HAMweather "images" directory. Corresponds with the same setting in HW3perl and works with HW3image_php - Fixed a referencing issue dealing with parser plugins. hw3parser.php - added new template variable %%day_title_custom#%% which will allow you to display a custom day_title in place of the one from noaa. TO use create an INI file with something like: [DayTitles] #Noaa Name=custom name Thanksgiving day = T-day add the INI section to the wxinfo.ini to have it autoloaded or you could put in its own custom INI file then either use config=xxxx in the query string or you could do a %%CONFIG=XXXX%% in a template to load it up when you need it. Also the NOAA Name portion can be a regular expression and is NOT case sensitive. This will be useful for translating to other languages - fixed bug in zandh.html which caused some TAFs to display incorrectly. -updated version number - fixed typo in local_radar_ca.html and local_radar_loop_ca.html - changes for canadian radar. Changed fc_canexrad.ini, fc_canexradloop.ini, FetchCANexradLoopInfo.php - added debug revision printing for Template.php - changed "is_file" to "file_exists" in template.pm to allow it to work with older versions of php with out getting a warning. - fixed bug in Warnings.php that caused errors when displaying puerto rico warnings. - fixed bug in hw3.php with daysonly titles not working correctly - Fixed bug in USA.php that would cause occassionally cause errors when a " xxxx through xxxx" forecast was found. - edited FetchCANexradLoopInfo.pm to match changes in evironmental canadas name for their radar images. - Fixed bug in FetchZandH.pm that would not display the canadian forecast if it was stored in the cookie. - fixed bug in USA.pm that would cause an error when using daysonly occassionally - added support for filling in 3rd day low for canadian forecasts Canada.php - fixed issue where canadian would sometimes display wind info as the temp. Canada.php - fixed bug in template.pm which caused values of "0" to be skipped - changed line in templates/include/zone_rows.html because in php version if the forecast was less than maxdays it would cut one day off. - Added code to Template.php for fix case to fix case on state/province names, abbreviations and direction abbreviations. original Code provided by user "ur" at ustinet.com - Added support for (Hard) Freeze Watch - For canadian map link I changed dpp=1 to dpp=0 in header.html - added 2 debug lines to template.php Changes in HW3.072 PHP - fixed issue with the same city possibly displaying multiple times in the SQL city name search. (HWODBC.php, HWmysql.php) - Fixed bug where the "do" parameter could not be used in a %%FORECAST command - Added new support forecast=dpp in the %%FORECAST command. This will make "do process place" on the parameters provided but not perform any weather parsing. This is useful if you have a location name that you want to get the lat/lon for etc. NOTE forecast=dpp may not work correctly at the query string. It was designed for the %%FORECAST command. In a query string you could use forecast=pass&pass=xxx&dpp=1&zipcode=24060 - fixed issue in MetarDecoded.php that kept it the %%metar%% template variable from capturing the entire metar ob is it included a "-" or "+" - added support for %%hsky_conditions_displayname%% and %%hweather_displayname%% These items will get the display name from the wxinfo file as needed. Changed FetchZandh.pm Changes in HW3.071 PHP - Fixed undefinded variable error for some zone forecasts on west coast (USA.pm) - Made change to support NWS formatting change in zone forecasts for Local temps (USA.pm) - fixed bug in the USA.pm that occasionally caused a function month_names not defined error. Changes in HW3.07 PHP - fixed bug in metardecoded.php file that prevented the hweather template variable from working - made change to metardecoded.php to always make sky_conditions be the cloud coverage, hweather always weather if any and hsky=hweather if set otherwise = hsky_conditions - Made several changes to the USA.pm to improve handling of daysonly modes, especially when "xxxx night THROUGH xxxx" is used - Fixed but in MOS.pm that caused ICAOs that ended with "HR" as in "KEHR" not to parse correctly. - fixed issue with %%FORECAST not properly using the mode=1 or dpp=1 - Fixed undefined constant error in PluginRunner.php - fixed issue with "do_round" property not set warnign in FetchMOS.pm - fixed bug with config=xxxx not always working correctly - added support for the "of" and "om" parameters to output to a file. as defined on this doc page: http://www.hamweather.net/hw3/docs/hw3php/output.html - Fixed bug in FetchShortTerm.php that caused shortterm forecasts not to display. - Updated Version number in HW3.php - changed the way Beta was displayed in hw3.php when debug mode was turned on - FIxed bug in parseplace.pm which would not allow the some zones CAZ096 to display when entered into the search box - Fixed bugs in the HWmysql.php which would cause it to go into an endless loop on some altplace searches. - Fixed bug in MetarDecoded.php which kept the %%metar%% variable from working correctly - Made a change in the FetchZandH.php to make the metar cache files match the same casing as used by HW3perl. This corrects issues where HW3perl & HW3php were installed on same server using the same cache and each were storing the same metar data but with different casings - Support for Tropical depression advisory in Warnings.pm - Switched %%html_fc_warningtext%%hwcounter%%%% in warnings.html to
%%warnings_text%%hwcounter%%%%
to give better formatting - added support for %%hvisibility_meters%% when an metar observation is used Changes in HW3.06 PHP - Added support for new Environmental Canada radar image format, changed local_radar_ca.html, local_radar_loop_ca.html, added canexrad.ini, canexradloop.ini, FetchCANexRadLoop.pm - added support for new template variables for the MOS items: Note "#" in the variables below should be between 1 & the total hours available. Wind chill: %%mos_wc#%% Heat index: %%mos_hi#%% Day of month: %%uc_get_mos_item#_vvDAY%% Day of week num between 0 (Sunday) - 6(Saturday): %%uc_get_mos_item#_vvWDAY%% Day of week name: %%uc_get_mos_item#_vvWDAY_FULL%% Day of week name - 1st three letters: %%uc_get_mos_item#_vvWDAY_SHORT%% Month number between 01 - 12 : %%uc_get_mos_item#_vvMONTH%% Month Name: %%uc_get_mos_item#_vvMONTH_FULL%% Month Name - 1st 3 letters : %%uc_get_mos_item#_vvMONTH_SHORT%% Year: %%uc_get_mos_item#_vvYEAR%% - fixed bug in template.pm that was causing HWI=XXXX:xxxxx not to work, thus causing the imaps for Canada not to work properly - updated wxinfo.ini to match the perl version - added support for %%base%% template variable which is the code_path - fixed bug in template.php which caused some variables not to display properly - fixed bug with system not always displaying the correct icons - Fixed bug when dpp= empty string it was being treated as do not parse not iw must actually be set to something. - added very simple fuzzy search ability in sql db usage. If you are using the sql DB then there are two settings you can add to the [Database Access] section of the hw3.ini: allow_fuzzy_search=1; will allow the simple fuzzy search to be turned on fuzzy_min_chars=4; sets the minumum num of chars a fuzzy search can be performed on. i.e. you wouldnt want to do a fuzzy search on "a" that woudl return hundreds of results currently the default is "4" Currently the fuzzy search only works when entering a place name only. HW3 will then look for the "place" or "place county" if not found then it will do a simple sql " like 'place%'" (where "place" is the location being searched). Thus if you type in "montgom" HW3 would return several locations that began with "montgom" in the place name. in future releases i will add the capability for fuzzy searches when looking up "place, state" and possibly support for real fuzzy searches using the various perl modules for handling such searches. (i.e. if you entered montgomeyr and meant montgomery.. a true fuzzy search would return a list of locations that were similar to what you entered thus listing "montgomery" for you to choose from.) - fixed bug where [Database Access] flatfilepath setting was not working correctly - New DEBUG mode secuirty features: 1 - added support for a new debug mode. In the HW3.ini [SystemSettings] section, You can now set debug=3, then HW3 will look in the same [SystemSettings] section and compare "debug_pw" to the querystring/post parameter "debugpw". If they equal then HW3 will set debug mode to the querystring/post parameter "debug". 2 - debug mode now can be turned on by a special config file loaded with the config parameter. Thus you can set debug_mode = 0 in the hw3.ini then no one can view the debug info, but then if you create a new ini file and put in the configs directory and add the following to it: [SystemSettings] debug_mode=1 then the standard hw3.cgi?debug=1 will not turn on debug mode you would need to use something like hw3.cgi?config=xxxx&debug=1 where xxxx is the name of the secret ini file which turns on debug mode. This second debug security feature can also be used with the 1st debug password security feature as well. just add "debug_pw=xxxx" setting to the secret xxxx.ini file as well then you will need to use a url like: hw3.cgi?config=xxxx&debugpw=yyyyy&debug=1 where xxxx is the name of the secret ini file (minus extension) and yyyyy is the debug password and debug=1 is the setting to set debug mode too. - cookie can now save any template variable that is available at the moment before a template is outputted. - "place,state" lookup will now look for "place, state" or "place county, state" but will return the place if both a place & place county are available (SQL version only) - added support for %%close_icao_total%% and the arrays %%close_icao#x%% and %%close_icao_code#x%% These are pulled from the altplace info where the 2 closest icaos are listed. In the future if additional icaos are added them you can do a "other close locations" conditions etc - Fixed issues with DST and added support to use the servers daylight savings time setting to automatically handle setting DST. In the hw3.ini [SystemSettings] section if "use_system_DST" is set to 1 then HW3 will use the servers DST setting to handle DST. If not there or set to zero then HW3 will use the older methods of using the value in the setting in the [SystemSettings] labeled "DST" - began adding support for better cache handling of expired zone forecasts. By adding support for %%forecast_expired%% for US & canadian zone forecasts as well as %%forecast_expiration%% with the expiration time in GMT format and %%forecast_local_expiration%% for the forecast expiration time in the locations local time zone if available. - fixed so when mode=1 parm is passed, county, icao, zone, fips etc parms will not be passed from previous look up - In the %%FORECAST command you can not use mode & dpp interchangably.. mode=1 & dpp=1 will both make HW3 parse the place given in the parameters of the %%FORECAST command - fixed bug with %%FORECAST .. mode=1 not resetting the BADPLACE flag. Thus if in a template you have %%FORECAST command with a bad place, it would not find any future places in %%FORECAST commands. - added found_warning template var for warning search - added support for %%warnings_expiration%%, %%watches_expiration%%, %%special_expiration%% in GMT time - added support for %%warnings_local_expiration%%, %%watches_local_expiration%%, %%special_local_expiration%% in the locations local time when possible - Added the ability to make HW3 use the day icon for %%hicon%% and %%day_icon#%% when the night icon is not defined. - Added the ability to make HW3 allow for a separate display name for weather types at night time for use with %%hicon%% and %%day_icon#%%. This will allow you to do things such as when the forecast states "clear" you could display the word "sunny" during the day and "clear" at night. If no night time display name has been defined then HW3 will continue to use the day time display name. To add a night time display name open the configs/wxinfo.ini. Each line is defined as WeatherType=DayDisplayName|DayIcon|NightIcon|NightDisplayName Most lines will look similar to: CLEAR=Clear|sunny.gif|sunnyn.gif if you wanted to change this line so that "Sunny" displayed during the day but "Clear" displayed at night.. edit the line to look like: CLEAR=Sunny|sunny.gif|sunnyn.gif|Clear - added support for HURRICANE LOCAL STATEMENT in warnings.pm - Made change to properly support county names in the search when entering a name only. I.e. if you enter "Montgomery" it will look foor Montgomery and Montgomery County - fixed bug with FetchWxData not caching data which had the word "error" in it when it was not actually an error. - fixed bug with HW3 stating "Flood Warning" in place of "Flood Statement" - added support for dpf=-# so that it will pull previosu forecasts from the beginning of the data array. "-1" will pull the 1st item from the data aray, -2 would remove the first 2 items from the data array. As normal,. positive numbers pull from the end of the data array. - added support for dpf=all to remove all previous forecast data - tweaked temp parseing for 3 new phrases in USA.pm - added the ability for you to put "debug_no_show=1" in a section and that section will not display in the HWdebug view. BTW the [Database Access] section will never display in the debug view. - added Night time name display feature - minor change so %%hwi= ... %% can have a space after the = sign Changes in HW3.02 PHP Beta 3 - now handles the Hawaii zone forecast date format. - zone_rows.html template will not attempt to display more icons than are in %%day_total%% - Made the MOS icons be based off the same INI settings as used by the current conditions. - Made change to properly support county names in the search when entering a name only. I.e. if you enter "Montgomery" it will look foor Montgomery and Montgomery County - added new template variable. %%used_icao%% will be set to 1 if an icao was used to get the place information, otherwise it will be set to 0 - made changes to the placeparser.pm and nav_state.html template so that when you search via the icao.. the nav state bar will work a little better in that it will notprompt you that the place could not be found.. but instead will only display the zandh and hourly track Options. In a future release i will make a change so that all the icaos place names are added to the altplace databases so that the normal search will work allowing it to find the matching wxzone etc - fixed so new hwvvars values can be defined in the %%FORECAST template command - Fixed bug with shwv variables - fixed bug with warning fetching, changed fc_warnings.ini as well - fixed bug with individual zone caching. - incorrect us-zones.txt file was included in previous flat file betas which blocked the lookups via the state zone number - fixed issues with the zone=xxZ### parameter. was displaying the incorrect state - fixed support for state=xx&zone=### method of searching - minor change so %%hwi= ... %% can have a space after the = sign Changes in HW3.02 PHP Beta 2 - Added support for the "alt" parameter - hwv variables are loaded from INI files before template parsing - shwv variables in INI files are now supported - fixed issues with variable instances such as %%hwvvar_^^hwvwhat^^_^^hwvever^^%% when using multi ^^hwvvar^^ within the statement they do not convert properly - fixed bug with moon_age_icon routine in the FetchSunInfo.pm - Added http_timeout to the FetchWxData.php. In a loaded ini.php (normally hw3.ini.php) in the [SystemSettings] section you can add http_timeout=XX if not set it will default to 10 (seconds) - added CVS revision info to the various modules so that CVS will auto update the revision number - made sure all files use