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.3 - Oct 16, 2006

Changes in HW 3.9.8.3 (Oct 16, 2006)

  • Updated support for canadian radars:
    canada_radars.ini, fc_cacomploop.ini, fc_cacomprad.ini, fc_canexrad.ini, fc_canexradloop.ini
    FetchCANexradLoopInfo.pm
    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.cgi

Changes in HW 3.9.8.2 (Sep 29, 2006)

  • Security Update to correct a security issue that would allow remote script execution.
    Changed Common.php and Cookies.pm
    Credit for finding the security issue goes to
    James of GulfTech Security Research
    http://www.gulftech.org/
  • edited fc_metar.ini to add FG noaa icon type to be fog.
  • fixed bug in ParsePlace.pm dealing with HWdata international Wx
  • Changed FetchIntWx.pm to allow for alphanumeric HWdata IntWx Place IDs

 

Changes in HW 3.9.8.1 (Jun 27, 2006)

  • Changed fc_special.ini and Warnings.pm to support the new IWIN replacement since
    NOAA no longer has them HWO & SPS in the XML and since the old IWIN is going away
  • update USA.php to add support for new space charactor at the beginning of each line
    in zfp on the weather.gov server
  • fixed bug with cl_ prefix in template.php
  • updated Intwx.html and associated templates for use with HWdata Intwx Service.
  • Corrected bugs in FetchIntWx.pm, FetchMetarFromDB.pm and FetchMetarSummaryFromDB.pm
    which are used with HWdata services.
  • fixed issue with searchplaces if location started with "mc". updated SQL.pm
  • Fixed FetchZandH.pm & FetchMetar.pm to handle hicon when sunset = NONE
  • added catch for temps "mid 70s to lower 80s" to USA.pm (How did this go years with out
    this catch??? LOL)

Changes in HW 3.9.8 (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.
  • Added improved PWS support (SQL only), in that you can now specify a pws Station id in the new
    pws column of the places table. This will be used for current conditions in place of
    the closest ICAO if set in the db and then in the hw3.ini [Database Access] section
    add/set
    check_pws=1
    Changed SQL.pm
  • 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, FetchZandH.pm and FetchMetar.pm
  • Since NOAA is not hosting International metar observations on their new XML server,
    support has been added to give international ICAOs a different source string With the
    addition of the following in the fc_metar.ini

    metar_url_int=weather.noaa.gov|weather.noaa.gov
    metar_prefix_int=/pub/data/observations/metar/decoded/%%find_place%%|/weather/current/%%find_place%%
    metar_postfix_int=.TXT|.html

    This will allow HW3 to skip over the NOAA XML server for international data thus saving resources
    on both your server and for NOAA.

    Changed fc_metar.ini, FetchZandH.pm and FetchMetar.pm
  • Added support for the Optional HWdata CUrrents & US zone Subscription service.
    This optional service allows HW to pull preparsed US zone forecast and world wide CUrrents
    (based on subscripion) from a local database. Thus greatly speeding HW since it no longer
    has to rely on pulling data from NOAA servers, plus allowing HW to provide data for multiple
    places (such as State summaries, Country summaries, Currents at closest X locations etc)
    very quickly and efficiently as compared to attempting to pull the data from NOAA servers
    for each location. Again this support is an options Subscription service that is not required
    for basic HW3 usage. See http://www.hamweather.com/hwdata for more information.
    - added
    /configs/fc_summary.ini
    /configs/fc_summarycloseby.ini
    /hamlib/HW3plugins/FetchMetarFromDB.pm
    /hamlib/HW3plugins/FetchMetarSummaryFromDB.pm
    /hamlib/HW3plugins/FetchZoneFromDB.pm
    /templates/summary.html
    /templates/summarycloseby.html
  • 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
    configs/intwxinfo.ini
    configs/intwxinfo_long.ini
    hamlib/HW3Plugins/FetchIntWx.pm
    templates/intwx.html
    templates/include/intwx_interval3or6.html
    templates/include/intwx_interval24.html
    templates/include/nav_intwx.html
  • Added support for new FULL_COUNTRY_XX where XX is the country 2 letter
    abbreviation. It will return the full country name. For SQL users only.
    Example usage:

    %%pc_place%%, FULL_COUNTRY_%%country%%

    Changed hw3main.pm.

    Edited multiple_places.html to support the new FULL_COUNTRY_XX mentioned
    above so that SQL users will display the full country name when a user looks
    up by city.. i.e. instead of displaying London, GB it will
    display: London, United Kingdom
  • 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
  • mods to the MOS.pm to correct date issue that can occur at night time.
  • added support for "showers in the vicinity" to wxinfo
  • line in the taf.ini had "%%sky" instead of "%%sky%%" corrected this
  • added support for guam to SQL.pm and FlatFile.pm matchstate routines
  • adjust fc_special.ini not to use iwin as a default.
  • add support for new "cl_" template formatting command that will strip all
    non word or space characters from a template variable. changed template.pm
  • edited USA.pm to handle the phrase for "Near steady temperature at xx"
  • edited SQL.pm, ParsePlace.php, Flatfile.pm and added new airports table
    to add support for 3 letter airport codes
  • edited templates/include/nav_mos.html, sql.pm, parseplace.php and updated
    icaos table to add support
    for the weather zone, fips and radaricao for US icaos..
  • edited fc_canexrad.ini, fc_canexradloop.ini, added canada_radars.ini, edited
    FetchCANexradLoopInfo.pm, templates/local_radar_ca.html, templates/local_radar_loop_ca.html,
    added nav_ca_radar.html, nav_ca_radar_loop.html to add support for Canadian regional and
    national radar from EC.
  • added scattered showers to the wxinfo.ini
  • moved "rain showers" to be after "most cloudy ... showers" & " partly cloudy .. showers"
    in the wxinfo.ini
  • Corrected issue in ASP::Common.pm (HW3asp only) that caused HW3 not to convert the "+"
    to a space in parameters when using the %%FORECAST .. FORECAST%% template command
    with in HW3.asp
  • added a fix to the USA.pm that will handle issues when NWS does not include
    the proepr leading period before all day titles in the zone forecast.
  • updated version # in hw3.cgi
  • edited the FetchZandH.pm, NOAAXML.pm and fc_metar.ini to add support for
    using the icon entry in the NOAA XML for current weather if NOAA sets the
    weather entry to "NA"
  • updated the hw3test.cgi to require perl 5.6 minimum (this had never been
    updated since the original HW3 betas and incorrectly stated perl 5.004
    would work.)
  • updated UseSockets.pm to remove the errant debug line that caused an error.
  • removed the %%hwi=nav_state%% from the multiple_places.html template since
    the links do not work on this page.
  • edited SQL.pm and ParsePlace.pm to handle county/parish better for LA
  • Updated the pcounties routine in FetchZandH.pm to name LA parishes as
    parishes and not counties
  • Updated FetchZandH.pm, FetchMater.pm and added FetchZoneFromDB.pm and FetchMetarFromDB.pm
    to support the ability to pull forecasts and currents from a database as part of the
    HWdata Premier service. Note: This is not to allow HW to cache data into the db, as that ability
    is in the upcoming HW4.
  • Updated FetchZandH.pm and FetchMetar.pm to correct potential issue with
    HW becoming confused on which parser to use for xml/non xml data. Only occurred under
    certain circumstances
  • Updated FetchNexradRidgeLoopInfo.pm to correct a typo preventing the looping
    of the relative motion ridge radars
  • updated the NOAAXML.pm to check for NA (instead of just N/A) in the weather/sky
    conditions. If NA or N/A are found it will use the default sky type which is normally
    "fair"
  • edit line 21 of the fc_warnings.ini to add "!SPS" so that Special weather statements
    were not included in the warnings by default.
  • 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.
  • Modified NOAARSS.pm to add a check to skip RSS feed entries that stated
    "NO WARNINGS"

Changes in HW 3.9.6 (Aug 31, 2005)

  • edited the hw3.cgi to update version number
  • Bug fix in the NOAAXML.pm to correct a date issue that occured on 8/31
  • edited wxinfo.ini to change Fog & mist to Fog and Mist so not to cause errors for xml output
  • mod to ParsePlace.php for better Canadian postal code support

Changes in HW 3.9.5 (Aug 23, 2005)

  • fixed bug in FetchMetar.pm that prevented XML currents from working
  • changed HW3.cgi version number
  • Added fc_nexradridgeloop.ini, FetchNexradRidgeLoopInfo.pm and altered the templates/include/local_radar_loop_ridge.html template to support the new ridge radar naming scheme
  • corrected drizzlen.gif entry for fog/mist in the wxinfo.ini
  • change in NOAAXML.pm to correct visibility issue

Changes in HW 3.9.4 (Aug 15, 2005)

  • added change to FetchZandh.pm and FetchMetar.pm to handle noaa change in their xml
    format for currents.
  • made some changes to ridge radar templates to improve efficiency
  • fixed bug with fuel moisture in MetarDecoded.pm
  • edited NOAAXML.pm to add support for ADT, KDT time zones.
  • commented out line 11 in the UseSimpleLWP.pm file that caused an error for some users
  • changed USA.pm to allow for toward xx in temps
  • fixed bug in the FetchZandH.pm which caused errors with the candian forecasts on servers with a
    space in the cache file path.
  • 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.
  • Fixed bug in the locallize_date routine of the Canada.pm what was putting the day of the month
    in the minutes position
  • Updated the local_radar_ridge.html and local_radar_loop.html templates to fix issue
    with AK & HI radars

Changes in HW 3.9.3

  • updated version # in hw3.cgi
  • removed some debug info from the templates/include/mos_found.html
  • Fixed bug in the FetchTAF.pm which caused icons not to display properly.
  • added line to the USA.pm to handle when NOAA doesnt add the proper "$$" at the end of a zone forecast
  • Updated the parse_input routine in the Common.pm so that it will pass a warn test. No functionality change though.
  • Support for "Fog/Mist" comabination added to the wxinfo.ini
  • ported code from USA.pm to Canada.pm to attempt to fix a single days missing lows for the daysonly forecasts

Changes in HW 3.9.2

  • editied the rain row in the wxinfo.ini to change it to RAIN\b=Rain|rain.gif|rain.gif so that it would not pcik up rain in the word "rainfall"
  • Fixed bug in NOAAXML.pm that would cause midnight to display as 12:XXpm and 12:xx pm to display as midnight.
  • Added Change to FetchZandh.pm and FetchMetar.pm 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.
  • Altered NOAAXML.pm to change noaa instances of "NULL" to the HW standard "N/A"
  • Changed the default setting for LatLon in the radar.ini to 0 since NOAA does not offer the LatLon maps for all locations
  • Fixed issues in the new NOAAXML.pm file for visibility, windchill, heatindex and adjustments to ensure that the hwind template variable properly matches the same variable when using normal METARs as the data source.
  • Updated version # of hw3.cgi
  • Fixed bug with the templates/include/nav_radar_ridge.html and nav_radar_loop_ridge.html
  • Fixed bug with night icons displaying in current conditions incorrectly
    for some locations.

Changes in HW 3.9.1

  • Fixed bugs with Ridge radars not displaying for all users. Changed templates/include/local_radar_ridge.html and templates/include/local_radar_ridge_loop.html
  • fixed bug with special on some servers: changed fc_special.ini
  • fixed default radar.ini setting for radar_type
  • fix date bug with new XML currents

Changes in HW 3.9

  • altered the ParcePlace.pm to allow "city, country" or "city, province"
  • added support for "morning clouds" to the wxinfo.ini
  • 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. More news on this in June
  • Added support for new NOAA Ridge radar views. Can now set radar_type=ridge in the new radar.ini section of the hw3.ini to use the ridge radars in place of normal nexrad views. Added several new radar templates (they all include "ridge" in the name)
  • 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>)
  • 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 support for parsing warnings from www.srh.noaa.gov Changed FetchWarnings.pm fc_warnings.ini
  • added "Occastional Rain" to the wxinfo.ini.php
  • several changes to the USA.pm for temperature parsing
  • Updated the Canada.pm to handle a change in the regions made by EC
  • edited Common.pm to add a fix to allow urls to have ";" as the separator and to properly allow for the html spec.
  • changed the USA.pm to support temp phrase "highs towards 70" and other minor temp updates 
  • changed USA.pm to fix bug with xxxx night through yyyy, finding the correct low for the first night
  • modify the Fetchwarnings.pm to allow the state to be passed by querystring or form
  • change to MetarDecoded.pm to stop some issues that randomly occur for CAVOK
  • added support for setting the config file path in the hw3.cgi, in case u are using multiple installations
  • added support for %%batvolt%%, %%fueltemp%% and %%fuelmoist%% when reading in HW decoded raws
  • made change to USA.pm 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. made changes to FetchZandh.pm and Canada.pm to localize the forecast date instead of using UTC always
  • removed "AMPM flag from Canadian forecast date sinc they are in 24 hour format (Canada.pm)
  • added support for "showers likely" to wxinfo.ini
  • fixed bug in the UseSockets.pm causing a warning to display because of a bad debug line
  • edited the USA.pm to handle "Windy" in the same sentence as the temperature.
  • Fixed bug in FetchMOS.pm getting a day of zero during the month wrapover

Changes in HW 3.086

  • Corrected version number & display. hw3.cgi and hw3main.pm
  • fixed potential endless loop in USA.pm
  • added support for "X_N" to the MOS.pm
  • corrected bug in FetchWarnings.pm that affected some users of older versions of perl
  • added version number to be passed to hw3mail to output correctly.

Changes in HW 3.085

  • added support for widespread fog to the wxinfo.ini
  • modified SQL.pm to improve support for potential internation zip codes/postal codes
  • 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') THEN %%dec0_^^hwvUnitConv^^htempf%%&deg;%%hwvUnitType%% ELSE N/A IF%%
    which correct celsius issues
  • made a change to the ParsePlace.pm to allow Canadian postal
    codes to be passed through. (This requires a Canadian zipcode db to be integrated)
  • Update the various mos ini files with new source url.
  • changes to HTTP modules to not output usercodes
  • Update to SimpleINI.pm to correct minor bugs
  • Update to FetchWxData.pm to not output user codes
  • Rewrite of hw3.cgi and new hw3main.pm to break out and modularize
    the core HW3 code. This was done to prepare for HW3email.
  • added support for MIXPCPN weather type to wxinfo.ini
  • broke most scripting out of hw3.cgi and put into HW::hw3main.pm
    so that HW3email could use the to routines.
  • Removed all calls to cgidie.. they are nasty and would kill HW3 & HW3email
    when it was attempting to run and an error occurs
  • added MST to the Time zone settings for DST in the hw3.ini
  • add support for hhour_gmt to get the hourly hour in gmt time,
    until now only local time was available (FetchMetar.pm)
  • fixed issue in FetchMOS.pm that would not allow all available
    hours to display pass approx 25
  • added support to grab the warnings coords if available in
    the warning text. Offers the new template vars:
    %%warnings_coords_raw#%% = copy of the raw string from the report
    (# is warning # if more than one active warning)
    %%warnings_coords_total#%% = total coord sets (to make warning box)
    (# is warning # if more than one active warning)
    %%warnings_coords#_vvLatX%% = Latitude from coord X for warning
    (# is warning # if more than one active warning)
    %%warnings_coords#_vvLonX%% = Longitude from coord X for warning
    (# is warning # if more than one active warning)
  • fixed bug with astronomical twilight rise & set
    in FetchSunInfo.pm (was missing "i" in function name)
  • fixed bug with forecast=dpp
  • Fixed end of the month bug in FetchMOS.pm
  • added support for "HZ" to be hazy in wxinfo.ini
  • fixed issue with change over from a month with 31 days to a
    new month showing up aas 32nd day for a few hours. (FetchMetar.pm
    FetchZandh.pm)
  • corrected issue with MOS where 'FW' observation was
    displaying as N/A
  • added correction to USA.pm to stop the heat index from being
    interpreted as the real temp.
  • fixed issue with daysonly=0 not working properly in a
    %%FORECAST statement (FetchZandh.pm and USA.pm)
  • 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 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"
  • added support for cloud type FW in ETA MOS as "Mostly Sunny"
  • made a change for flatfile database path to help
    on some systems which do not find the database directory
    correctly.
  • made change to FetchZandH.pm to correct bug with
    day_title_custom routine & using Taf2Zone.
  • Added day_title_custom to the FetchTAF.pm routine.

Changes in HW 3.083

  • - removed a stray debug line from the TAF.pm which caused 501 errors
    in HW3perl and unwanted debug text in HW3asp.
  • 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

  • update version number.
  • changed "AVNMOS" to "GFS" to match new model name from NOAA. Changed nav_mos.html
    and mos.html.
  • Added fc_gfs.ini which can be used in place of fc_avnmos.ini i.e.
    you can use forecast=gfs or forecast=avnmos now
  • fixed typo in the templates/include/current.html which would cause
    many places to have temps listed via Celsius in US.
  • changed the degree symbol to the proper html coded &deg; in the
    current.html and zone_rows.html templates.

Changes in HW 3.08

  • made change to the TAF.pm to fix issue with some TAFs that
    started with a TEMPO
  • Modified zandh.html & tafzone.html to display the zone portion
    only if a zone or tafzone forecast was available.
  • adjusted the hw3.ini [Database Access] section
    fuzzy_min_chars=4 to fuzzy_min_chars=5 so that if a person
    enters a 4 letter icao HW3 will not attempt to match it
    up with a word that is longer than 4 chars
  • added missing "failed" routine to SimpleIni.pm file.
  • fixed a typo in debug statement
  • added support for handling temps of phrasing of: 'highs 5 below." in USA.pm
  • corrected spelling of Daylight saving time in templates/include/icaodesc.html
  • made change to temlate.pm that allows for %%IF10, %%IF100 etc
  • add support for airport weather warning
  • 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
  • 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.pm
  • Added support for (Hard) Freeze Watch
  • Turn $place_parser and $db_access into a global variables so that hw3.cgi will work
    with fastcgi
  • 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
  • fixed issue with the same city possibly displaying multiple times
    in the SQL city name search. (SQL.pm)
  • fixed bug with spaces being removed from canadian alt_zone_info
    in SQL.pm
  • added debug line to Canada.pm
  • Fixed MOS date bug in the FetchMOS.pm

Changes in HW 3.07

  • 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
  • Made change to support NWS formatting change in zone forecasts for 
    Local temps.
  • fixed issue in MetarDecoded.pm 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 and FetchMetar.pm
  • made change to metardecoded.pm to always make sky_conditions be the cloud coverage,
    hweather always weather if any and hsky=hweather if set otherwise = hsky_conditions
  • Fixed but in MOS.pm that caused ICAOs that ended with "HR" as in "KEHR"
    not to parse correctly.
  • Made several changes to the USA.pm to improve handling of
    daysonly modes, especially when "xxxx night THROUGH xxxx" is used
  • Moved FOG & SMOKE below CLEAR in the wxinfo.pm. It was display FOG for
    days where it was early morning fog otherwise clear
  • 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
  • fixed bug in FetchWarnigns.pm where a stray "$" was in front of the workd shift

Changes in HW 3.06

  • 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 with %%metar%% not working when you called "forecast=metar". It was
    only working when you called forecast=zandh. Changed FetchMetar.pm, fc_metar.ini
  • Added support for the %%icao_place%%, %%hplace%%, %%hstate%%, %%hcountry%%
    template variables when you use forecast=metar. Changed FetchMetar.pm
  • fixed cache path bug for Canadian forecasts (did not allow uppercase paths) in
    FetchZandH.pm
  • fixed bug with warnings_local_expiration routine in FetchWarnings.pm
  • 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
  • Fixed bug when dpp= empty string it was being treated as do not parse
    not iw must actually be set to something.
  • Fixed bug with expiration date of forecast stating an incorrect year (in 2003 it would
    show 2004) on the last day of the months Jan thorugh Nov
  • made change to the template.pm to allow for vars: %%varname^^secondvar^^25%%
    normally this would return either "0" or an empty string. With the
    change it will now work correctly
  • Added support for fetching temp when NWS goes "Highs 103."
  • Fixed issue where dpp=0 was not being used if passed in the query string to force HW3 not to do a place parse
  • 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 in the FetchMOS.pm that would cause HW3 to incorrectly display
    weather as snow when the model temp was unavailable.
  • fixed bug that occured for some users where HW3 would put the word "county" appended
    to the location names.

Changes in HW 3.05

  • fixed bug with expiration date for zone forecasts. On the last day of the month it would incorrectly state the expiration date as 1st of the current month instead of the "next month"
  • fixed bug with fuzzy searches
  • 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
  • fixed bug with expiration date for warnigns, watches and special. On the last day of the month it would incorrectly state the expiration date as 1st of the current month instead of the "next month"
  • added support to determine precip type in MOS products (used for hourly track) when not available.

Changes in HW 3.041

  • bug in new %%close_icao#%% & %%close_icao_code#%% template variables. changed them too: %%close_icao#x%% & %%close_icao_code#x%% (hw3.cgi)
  • fixed a bug with flat file paths (hw3.cgi, Flatfile.pm)

Changes in HW 3.04

  • 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.
  • added support for %%close_icao_total%% and the array %%close_icao#%% 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
  • "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)
  • now handles the Hawaii zone forecast date format.
  • cookie can now save any template variable that is available at the moment before a template is outputted.
  • 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.

Changes in HW 3.03

  • Occasionally the Warnings dates would have "APM" in the date string if the time was in the 12 hour time frame. I added support for HW3 to treat this as PM and properly
    display the date.
  • 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"
     
  • fixed bug with HW3 stating "Flood Warning" in place of "Flood Statement"
  • fixed bug with stray "f" in the nav_state.html template causing some warnings/special advisories not to work
  • 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 several bugs with warnings/watches so dates display correctly, watch text display, and watch type properly display
  • 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
  • fixed bug with FetchWxData not caching data which had the word "error" in it when it was not actually an error.
  • 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
  • Add support for %%expiration_date%%, new WMO types 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 that cookies would not be parsed with a %%FORECAST command. Also fixed so when mode=1 parm is passed, county, icao, zone, fips etc parms will not be passed from previous look up
  • fixed so new hwvvars values can be defined in the %%FORECAST template command
  • broke the "process_place routine out of the hw3.cgi and put into its own class file so it can be used by plugins
  • added support for flat file dbs to specify the directory for their location if you need to override the default directory structure location by adding "flatfilepath=xxxx" in the [DatabaseAccess] section where xxxx is a relative or full path. if blank then defaults to the standard hw3dbs subdirectory.
  • modified the debug handling in the simpleini.pm
  • made %FORM a global reference so it would work properly with Fast CGI
  • change localization of the $configs_path var in hw3.cgi so that it works better with fast_cgi
  • added CVS revision string to verison output of hw3.cgi
  • fixed some cache path settings in various plugins to allow the cache path to be moved
  • fixed bug in zone_ca that cause the canadian forecasts not to work when the path to the cache directory had an uppercase letter.
  • added support for winter weather outlook (warnings.pm)
  • added support for Special Weather Statement (warnings.pm)
  • changed the "blocks" to "\03" in regular expressions (warnings.pm, USA.pm uvi.pm)
  • added support for a couple warnings/weather outlooks not being picked up
  • fixed several bugs in the warnings.pm
  • fixed bug with the dpf=1 not properly pulling the previous forecast information from the template hash array
  • fixed issue with call to clean cache not allowing a full path name for the cache path
  • tweaked temp parseing for 3 new phrases in USA.pm
  • changes configs path to be a $configs_path variable which can be changed in the hw3.ini if needed.
  • 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.
  • fixed bug with the _fix_tz code int he FetchMetar.pm
  • fixed bug with the Night time name display feature in HW3.01
  •  minor change so %%hwi= ... %% can have a space after the = sign

Changes in HW 3.02 release:

  • Updated copyrights in .cgi & .pm files
  • Fixed bug in parse_place that caused some canadian location not to display properlly & do an unneeded http request to the EC servers to attempt to get data when the location was an icao. (FetchZandh.pm, hw3.cgi)
  • Fixed issue with zone code #3 being improperly used as a tafzone forecast instead of a zone. (FetchZandh.pm, hw3.cgi)
  • Added support for Lake Effect Snow Watches (warning.pm)
  • Fixed bug in HW3 when daysonly parameter was used and if after midnight and the first forecast item was for "tonight" then HW3 woudl assume it was tonight of the new day (past midnight) and start the forecast with the next days name. Thus being a day off.
  • Fixed issue that with some current conditions the place, state was not in the decoded metar. in these cases HW3 will use the requested place,state
  • Added ability for the cache path setting in the hw3.ini [Paths] section to be a full path name to a directory.
  • Added new template variable for use with astro info. %%moon_age_icon#%%. This template variable will allow you to have multiple moon phase icons on your server and then you can call this template variable where # is the total number of icons you have. It will return which icon to use starting with 1 being a new moon, then waxing phases, then full moon then waning phases. So if you have 29 images. 1=new moon and 15=fullmoon. An example of how this may be used. If you have 29 moon images with names like, moon1.gif, moon12.gif ... moon29.gif you would could use the following to display the correct one:
    <img src="images/moonphases/moon%%moon_age_icon29%%">
  • Added the weather dictionary links to the templates/include/current.html template
  • Added config=%%config%% to all instances of %%scripturl%% and %%FORECAST in the core templates to help insure that config info is properly passed.
  • Solved the following issue:
    When the IWIN allwarnngs.html listed a single warning multiple times, the plug-in would see these as multiple warnings. this has now been corrected.(warnings.pm)
  • Fixed bug with warnings.html template where it was only displaying the 1st warning or advisory, or warnign if there was more than one.
  • Added the ability to make HW3 use the day icon for %%hicon%% and %%day_icon#%% when the night icon is not defined.
  • Added a few various weather types to the configs/wxinfo.ini
  • 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 the ability for the %%CONFIG=xxx%%, %%CFG:XXXX:YYYY%%, %%COOKIE:XXXX%%, %%USE=xxxx%%, %%UNUSE=xxx%% templare commands to include template variables. The difference is that the template varaiables with in these commands should use the secondary level ^^ instead of %%. For example: %%CONF=^^hwvconfigfilename^^%%
  • Added fix in template.pm so that if a a temp being converted with celsius_ or fahrenheit_ is not a number then do not convert it. This solves the bug where a temp
    may be 'N/A' and celsius_xxxx would have converted the 'N/A' to -18 C
  • Added ability to auto delete old HW3 log files from the logs directory. If logging is turned on (in hw3.ini [SystemSettings] logging=1) and if the hw3.in [SystemSettings] section if the "log_file_max_age" is set to the max minutes to keep log files for then HW3 will check the log files once per day and
    delete the older ones. 
    NOTE: Set log_file_max_age to the max age in minutes. 1440 = 1 day, 43200 = 30 days (changes to Common.pm & hw3.cgi)
  • Added support for new template variable: %%hwinddir_deg%% its available with metar current conditions and will be the wind direction in degrees. If the winds are calm it will be "0" or if winds are variable it will be "VRB"
  • Fixed bug in Warnings.pm where the same warning listed multiple times in the IWIN warning file would be counted as multiple warnings.
  • Changed the "REPEAT" loops in warnings.html and special.html templates to "_REPEAT" (changes to template.pm)
  • Add support for %%mos_text%% variable.
  • Fixed bug with some shortterm (NOWcast) forecasts not displaying
  • Added support for rain and snow showers to display as rain/snow showers
  • Fixed bug with HW mistaking "below" as the beginning of the low temperature portion of the days forecast.
  • Fixed bug with the %%pwsurltext%% not working
  • Added catch to the hw3.cgi to help alleviate one of the biggest problems with HW3 installs
    If a user does not properly set the $hw_cgi_path then the script would die with a 500 error now, the script will test the path, if it is not a valid path it will then attempt to figure the path on its own.. After this it will make sure the 'hamlib' directory is with in this directory. If it is not it will spit out a nice error and end the script, thus helping stop the pesky 500 errors.
  • added catch to the dbaccess.pm to catch if the requested DBaccess methods library file is not available. If it is not then it will try the default Flatfile method. if that fails then it will output a nice error to the user. This will stop 500 errors especially when the installer does not properly set the type setting in the hw3.ini [Database Access] section.
  • Fixed bug in MOS that could not handle the "H" obstruction type
  • Added support for ETA MOS in hourly track. Added to the FetchMos.pm and mos.pm. mos.html and mos_nav.html
  • Added additional debug code to the SimpleINI.pm
  • Fixed bug in FetchWxData.pm - if it could not fetch the data it was returning a scalar instead of a scalar reference causing the script to output an error, killing it in a web environment (caused a 500 error)
  • Added support for a default dpp=0 to be set in the [Defaults] Section of the ini file. This works well for users who have set a pass template in HW3 as their home page.
  • Fixed bug in SQL.pm which caused the WxZone number to come back incorrectly when using the fips/county parameters. This would cause errors in warnings/watches at times. (only affected users using the SQL dbs)
  • Made change to the FetchMetar.pm, FetchZandh.pm and FetchMos.pm to fix bug in time zone correction routine when the timezone change crossed over midnight
  • Fixed MetarDecoded.pm so that the %%hwvisibility_miles%% handles fractions properly
  • made change to the FetchZandH.pm to allow canadian locations to display a taf when forecast=zandh or zone and an icao is specified
  • Added support for forecast=pass&pass=xxxxx without having to set xxxx as a pass template in the fc_pass.ini file. If the ini setting "[SystemSettings]/pass_template_security" is set to 0 then HW3 will 1st look for xxxx in the pass template settings. If that fails then it will see if the template xxxx.html exists and if so use it. If the setting "[SystemSettings]/pass_template_security" is set to a non-zero value then xxxx must be setup as a pass template in the fc_pass.ini otherwise an error will occur.
  • Added fix for when a pass template does not exist.

Changes in HW 3.01 release:

  • added weather catch for "isolated shower" to wxinfo.ini
  • Fixed bug in warnings.pm that caused error with some zones not being handled correctly.
  • Fixed bug in the multiple_places.html template which caused an errant comma to be in the links for multipleplaces
  • added '&county=%%county%%&zone=%%zone%%' to the zonesection.html template to fix some cases where warnings would not display correctly when you clicked on a warning link above a zone forecast.
  • added missing <tr> tag to zandh.html and zone.html templates
  • fixed bug in FetchZandh.pm and FetchMetar.pm causing the %%htime%% and other similar template variables to alwasy display N/A
  • make change to make the flat file mode return %%place%% as blank when a zipcode search fails. this makes it work the same as in sql mode.
  • Added support for the parameter "dpf" which stands for "Delete Previous Forecast" This can be set to 1 "dpf=1" in a %%FORECAST .... FORECAST%% line in a template, to force HW3 to dleet the previously fetched forecast. Thus solving issues where if an item such as a low doesnt exist for the current forecast but did for a previously fetched forecast (in the same template) HW3 may display the previous data which was incorrect.
  • added new templates and adjusted the zandh.html and zone.html templates to allow canadian locations which have a 3-5 day zone forecast to be able to display the closest nexrad radar. It links to the radar image on the Environmental Canada Servers.
  • added %%moon_illumination%% which will return the percentage of the moon illuminated this replaces %%moon_illumination_phase%% which gives incorrect data.
  • added support for %%hsky_conditions%% and %%hweather%% in metar observations which will be the actual values from the NWS not the "blended" value that %%hsky%% is. the values will be "N/A" when not available.
  • added links to Environmental Canada Radar maps when a 3-5 day forecast is available.
  • made a change in the hw3.cgi to set the country to lowercase when you specify "place, state/province, country" so that it works properly.
  • made change to the FetchMetar.pm, FetchZandh.pm and FetchMos.pm to fix bug in time zone correction routine when the timezone included partial hours. i.e. -3.5 for NST
  • made change to FetchZandH.pm so that when you look up the zandh forecast for a location, and an icao is used for current conditions, the new template variable
    %%icao_place%% will contain the ICAO place name.
  • changed %%hvisibility%% to include the unit. as some visbilities will be in statute miles and some international may be in meters. (only affects metar observations)
  • added support for %%hvisibility_miles%% which will be the visibility in statute miles in decimal form. i.e. fractions such as 1/4 mile will be turned into .25, thus "1 3/4" will be 1.75. This new template variable will allow for easier conversions from one type to another. If there is no visibility this variable will return null (nothing).
  • fixed issues with montreal in the ca-qc-altplace database as well as sql db and other minor canadian altplace issues.
  • fixed bug in the FetchWxData.pm which caused HW3 not to grab US tafs correctly when a US icoa was entered.
  • Removed the hw3admin email from the badplace.html and badforecast.html templates

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