Hello everyone. I'm definately a newbie at this so go easy. I am trying to get together a script to access some aviation weather from noaa. They have an anonymous ftp server that you can access txt files with weather data in them. I'd like to make a script to access the airports from a specific state (which are defined in the script which airports for which state) and echo that to an html file. The script would have to 'find' the airports in the txt file then parse out the info. Here is an example of what's in the data files.
2006/01/18 17:00
GCFV 181700Z 190024 35006KT 9999 SCT030
BECMG 0911 10007KT
TEMPO 0818 VRB03KT
2006/01/18 17:00
GCLP 181700Z 190024 01010KT 9999 FEW030
BECMG 0911 06008KT
TEMPO 0818 VRB03KT
2006/01/18 17:00
GCRR 181700Z 190024 35006KT 9999 FEW030
BECMG 0911 09007KT
TEMPO 0818 VRB03KT
2006/01/18 17:00
GCTS 181700Z 190024 05008KT 9999 SCT030
BECMG 0911 15008KT
TEMPO 0024 VRB03KT
Can someone kind of point me in the right direction on how to do this?