The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Sat Dec 16, 2017 11:14 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Using Same Data!
PostPosted: Wed Apr 30, 2008 9:14 am 
Offline
Junior Member

Joined: Mon Jan 14, 2008 2:56 pm
Posts: 4
Location: Germany
Hello to the Group,

Please have a look at my script below:

download,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D12_syn.wmo,C:\Program[/url] 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,[url]ftp://%%myusername%%:%%mypassword%%@ftp.mysite.com/web/charts/imgslp.jpg,E:\mysite\charts\imgslp.jpg[/url]
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,[url]ftp://%%myusername%%:%%mypassword%%@ftp.mysite.com/web/charts/imgtemp.jpg,E:\mysite\charts\imgtemp.jpg[/url]
erase
sleep,15
analyze,VECT COLOR=0:0:200 WIND ANLB
stamp
export,E:\mysite\charts\imgwind.jpg
upload,[url]ftp://%%myusername%%:%%mypassword%%@ftp.mysite.com/web/charts/imgwind.jpg,E:\mysite\charts\imgwind.jpg[/url]
erase
sleep,15
analyze,CONT CINT=5 COLOR=0:0:200 LINE=1 RELH ANLB
stamp
export,E:\mysite\charts\imghumid.jpg
upload,[url]ftp://%%myusername%%:%%mypassword%%@ftp.mysite.com/web/charts/imghumid.jpg,E:\mysite\charts\imghumid.jpg[/url]
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group