Yes the data is old, they have changed the site slightly since my last post :-( THey are
now serving the data up from ASP pages, with a bit more <table> padding to make
parsing the data more interesting.
I've run my script with the new URLs though and it still works OK
Agree with what you say, for stuff here you could parse these pages first then fall back
to NWS.
Here are my notes on the script for you to investigate at your leisure...
--------- snip -----------
They've moved the swedish metars to another server which uses ASP. You can either
get their headers
or build your own when you can figure out what text files are available.
Based on this it should be possible to build your own customised page or just grab
everything!
http://www.aro.lfv.se/metais/MetInfo.asp?TextFile=metar.eg.list.txt&TextFile=metar.ed.l
ist.txt&TextFile=metar.benelux.list.txt&TextFile=metar.alps.list.txt&TextFile=metar.lf.list
.txt&TextFile=metar.le.list.txt&TextFile=metar.lp.list.txt&TextFile=metar.li.list.txt&TextFi
le=metar.baltic.list.txt&Te
http://www.aro.lfv.se/metais/MetInfo.asp?TextFile=metar.eg.list.txt&SubTitle=United%A
0Kingdom&T=METAR%A0Europe&Frequency=30
http://www.aro.lfv.se/metais/MetInfo.asp?TextFile=metar.eg.list.txt&SubTitle=NoWhere
&T=METAR%A0UK&Frequency=30
http://www.aro.lfv.se/metais/MetInfo.asp?TextFile=metar.others.list.txt&SubTitle=&T=&
Frequency=30
The files in use are:
sweden
metar.sweden.list.txt
nordic
metar.en.list.txt
metar.ef.list.txt
metar.ek.list.txt
metar.bi.list.txt
europe
metar.eg.list.txt
metar.ed.list.txt
metar.benelux.list.txt
metar.alps.list.txt
metar.lf.list.txt
metar.le.list.txt
metar.lp.list.txt
metar.li.list.txt
metar.baltic.list.txt
metar.others.list.txt
----------------- unsnip -----------------
Best Regards,
Nick
|