Services Login
Username:
Password:
 
Enter your "Place, State", US Zip Code or ICAO:  
Overview Demo License Download Register Documentation HW3 Plug-ins
HAMweather 3 Change History

  Current Release: HAMweather 3.9.8.4 - June 27, 2006

Changes in HW 3.9.8.4 (Jun 27, 2006)

  • 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://www.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.

Changes in HW 3.9.8.3 (May 7, 2006)

  • 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
  • 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
  • Fixed bug in NOAAADDS.php where noaa sentthe negative sign as &#45;
    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 HW 3.98 (Mar 11, 2006)

  • 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 HW 3.9 (Aug 23, 2005)

  • 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.
  • 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
  • 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 <shameless plug>)
  • 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 HW 3.0861 (Feb 15, 2005)

  • Fixed bug in the parseplace.php (mainly affecting flatfile users)

Changes in HW 3.086 (Feb 14, 2005)

  • 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 HW 3.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%%&deg;%%hwvUnitType%% ELSE N/A IF%%
    to
    %%IF ('%%htempf%%' != 'N/A' && '%%htempf%%' ne '') THEN %%dec0_^^hwvUnitConv^^htempf%%&deg;%%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 HW 3.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 HW 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 &deg; 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
  • 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 HW 3.081

  • 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

Changes in HW 3.08

  • 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
  • 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 HW 3.071

  • 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 HW 3.07

  • 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
    <pre>%%warnings_text%%hwcounter%%%%</pre> to give better formatting
  • added support for %%hvisibility_meters%% when an metar observation is used

Changes in HW 3.06

  • 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
  • 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

Copyright © 1997-2005 HAMweather, LLC, all rights reserved.