[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Extracting Weather text out of a web page - Newbie Question
On Sat, Jul 01, 2000 at 02:19:20PM +1000, Jeff Waugh wrote:
> Certainly - you're best best for parsing a webpage for "stuff" is Perl, but
> the trouble is, the site will always change, forcing you to rewrite the
> code.
Actually, I dont think the "data" pages on the BOM website havent changed
format for at least about 7 years - they were using the same layout before
the Web even existed (anyone else remember gopher://babel.ho.bom.gov.au/ ??)
> Better solution: Go to *their* source! (well, likely source)
>
> http://weather.noaa.gov/
>
> Read about METAR coded observations at the bottom, or, just grab the one
> from Sydney Airport which is right here:
>
> ftp://weather.noaa.gov/data/observations/metar/decoded/YSSY.TXT
YSSY is not "Sydney". Of course, most people probably aren't in "Sydney"
(wherever Sydney is as far as the BOM is concerned - Observetory Hill I'd
guess) so it may not matter.
(For anyone that's interested, YSSY is the ICAO code for Sydney Airport.)
Scott.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text