Quote:
jlm69 wrote:
Jere,
What cities do you want to add? I will try to see what I can find, it has been a while since I did anything with that module though.
Thanks,
John
John,
OK, I found the info and got it working. Here are the steps:
1. Go to this page
http://weather.noaa.gov/pub/data/products/zones.txt and find the zone within the state. In my case it was Barnesville, GA, and the zone is 70. Therefore, the zone info to go in the sql file is GAZ070.
2. Go to this page
http://www.nws.noaa.gov/tg/siteloc.shtml and find the meteorological station closest to the city in which you are interested. In my case, it is as follows:
Thomaston, Thomaston-Upson County Airport (-----, KOPN)
(This station is the closest to Barnesville--only 8 miles away)
The 2 things we need here are:
KOPN
Thomaston, Thomaston-Upson County Airport
3. The 4th thing we need is what we want to call this entry. For me, that is:
Barnesville
4. We build the sql statement as follows:
('[Station ID]', '[Location of meteoroligical station]', '[Country abbreviation]', '[Country]', '[What you want to call it]', '[Zone]'),
like--
('KOPN', 'Thomaston, Thomaston-Upson County Airport', 'US', 'United States', 'Barnesville', 'GAZ070'),
5. Insert this line into the vlweather sql file in alpha order by meteorological station name in the section for your country (although where you put it may not matter; I don't know) like:
('KTXK', 'Texarkana, Texarkana Regional-Webb Field', 'US', 'United States', 'Texarkana', 'ARZ070'),
('KDLS', 'The Dalles, The Dalles Municipal Airport', 'US', 'United States', 'The Dalles', 'ORZ010'),
('KTVF', 'Thief River Automatic Weather Observing / Reporting System', 'US', 'United States', 'Thief River Falls', 'MNZ013'),
('KOPN', 'Thomaston, Thomaston-Upson County Airport', 'US', 'United States', 'Barnesville', 'GAZ070'),('K3TH', 'Thompson Falls', 'US', 'United States', 'Thompson Falls', 'MTZ004'),
('PATC', 'Tin City Airways Facilities Sector', 'US', 'United States', 'Tin City', ''),
('KTIK', 'Tinker Air Force Base', 'US', 'United States', 'Oklahoma CityMidwest City', 'OKZ025'),
6. Save the sql file, upload it, deactivate the weather module, uninstall it, and re-install it. I'm sure there is an easier way to do this step, and I'll let someone who knows better than I tell us how.
7. When you add the weather block, put in the default station ID. In my case,that is KOPN.
8. Cross your fingers, take a look, and hope it works.
Jere