Using Same Data!

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
ajwhall
Junior Member
Posts: 4
Joined: Mon Jan 14, 2008 2:56 pm
Location: Germany
Contact:

Using Same Data!

Post by ajwhall »

Hello to the Group,

Please have a look at my script below:

download,http://www.atmos.albany.edu/weather/dat ... C:\Program Files\DigAtmEquinox\data\websitecharts.dat
import,C:\Program Files\DigAtmEquinox\data\websitecharts.dat
load,C:\Program Files\DigAtmEquinox\northatlanticcolour.dmf
analyze,HILO CONT CINT=3 COLOR=0:0:0 LINE=1 SLPR ANLB
stamp
export,E:\mysite\charts\imgslp.jpg
upload,ftp://%%myusername%%:%%mypassword%%@ftp ... imgslp.jpg
erase
sleep,15
load,C:\Program Files\DigAtmEquinox\europecolour.dmf
analyze,CONT CINT=2 COLOR=200:0:0 LINE=1 TEMP ANLB
stamp
export,E:\mysite\charts\imgtemp.jpg
upload,ftp://%%myusername%%:%%mypassword%%@ftp ... mgtemp.jpg
erase
sleep,15
analyze,VECT COLOR=0:0:200 WIND ANLB
stamp
export,E:\mysite\charts\imgwind.jpg
upload,ftp://%%myusername%%:%%mypassword%%@ftp ... mgwind.jpg
erase
sleep,15
analyze,CONT CINT=5 COLOR=0:0:200 LINE=1 RELH ANLB
stamp
export,E:\mysite\charts\imghumid.jpg
upload,ftp://%%myusername%%:%%mypassword%%@ftp ... ghumid.jpg
erase



I wrote this script to send the four charts up to mysite at 14:00 GMT everyday. What I found out after a couple of day is the same data from the first download is reused but just dated with the current date! Have cleared data directory but with no joy! What am I doing wrong because it seems as if the data is been held else where from the data directory. If I down load the data manually and then run the script with out the download or import part then there are no problems!

Any help would be most welcomed however please note that I am a newbe to scripting on DAE.

Most Kindest Regards,

Andrew Hall.
Post Reply