HAMWeather

From Amahi Wiki
Revision as of 15:23, 1 September 2009 by Khelmar (talk | contribs) (New page: These instructions are for the unregistered version (which is what the app installs). If you register, they send you a database update with make all this unnecessary. See their website for...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

These instructions are for the unregistered version (which is what the app installs). If you register, they send you a database update with make all this unnecessary. See their website for details.

The installation script is set up to add your closest airport, which is used to get the current conditions. This only works for folks in the US - if you're outside the US, see below.

The ICAO identifier for your airport in the US is the 3-letter identifier (i.e., ORD for Chicago O'Hare) with a K at the front (KORD). Pick the airport closest to you.

If your city isn't found, follow the directions below.

If you're outside the US or your city isn't found, you need to edit the SQL database, using the instructions from:

http://www.hamweather.com/kb/index.php?article=21

The easiest way to do this is using phpMyAdmin (another webapp), which lets you modify the MySQL database. To do this, you need the 4 letter ICAO abbreviation for the airport closest to you. If you live in the US, it's going to be "K" followed by the 3-letter airport abbreviation - i.e., for Gainesville, it's "KGNV" instead of just GNV.

To add my town (Gainesville, FL) in phpMyAdmin, I clicked "Databases", picked "weather", and then picked "places". Click "Search" at the top, and enter your city under "Name". Gainesville brings up 7 choices, but I picked the one in FL. Write down the number under "places_id".

Next, click "alt_cc_info" on the left. Click the "insert" tab at the top, and fill in the "places_id" field with the number you wrote down, the "ICAO" field with the 4-letter airport ID, put "3" for the type_code, and 1 for precedence. Click "go", and you should be all set.

If you have multiple locations you want, you can repeat these instructions to add all of them.

An alternative is to register HAMWeather - http://www.hamweather.com/hw3/store/, in which case they'll send you a complete database that is already updated.