Store metar data

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
tuono
Junior Member
Posts: 2
Joined: Sun Jul 03, 2005 9:02 pm
Location: italy - naples
Contact:

Store metar data

Post by tuono »

Hi all,
anyone can say how to download at regular interval and store metar data in a file in metar format?
Does exist a software that do this?
Ciao to all.
Weasel

Post by Weasel »

Portions of this thread explain how to do this...a little:)

http://weathergraphics.com/forum/viewto ... af2b8b0f35

Pat
texsky
Senior Member
Posts: 172
Joined: Fri Dec 12, 2003 9:42 pm

Post by texsky »

Tuono,

You'll have to do a couple of things.

1.) Write the script that will download your data. It should look something like this...download,http://weather.cod.edu/digatmos/sao/@Y@ ... DZ@HHZ.dat

where: @YYZ=Year, @MMZ=Month, @DDZ = Day, and @HHZ = Hour

The first part of the script retrieves the data and the second part stores it on your harddrive. In this example, I've given you the location on MY harddrive where data is stored "d:\daws\data\etc..., but you should change this to suit your own needs.

Note: You can change the download location as well, if you like, and you can also change the order of the "time tokens".

Save this script with the name of your choice but be sure that the extension is ".dsf"

2.) You need to open the script scheduler and enter the time when you want this data to be retrieved. It should look something like...

**20 scripts/surface.dsf

where the **20 instructs the scheduler to retrieve the data at 20 past the top of the hour and the second part is the location of your script.

Note: The "**20" can be changed to a time of your choosing.

3.) Simply turn the script scheduler on by clicking on the checkbox that says "Enable scheduler". DAWS will then fetch the METAR data for you completely "hands-free".

hth,
Bob
tuono
Junior Member
Posts: 2
Joined: Sun Jul 03, 2005 9:02 pm
Location: italy - naples
Contact:

Post by tuono »

Many thanks to Bob and Pat for suggestions.
My goal is the storage of data in metar format for a certain number of stations in single files for each station. To do this I need to download data at hourly interval and process the data to extract the line of data of the station I am interested to, than save the new data to a specific file by append mode. This way allows me to build an archiv of data coming from some stations and get statistic data at any time. So I could process the archiv files at any moment by a software tool such as MetarWeather ecc...
Do scripts allow all this?
Ciao Bob, Ciao Pat.
Post Reply