The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Tue Oct 17, 2017 10:26 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Generate charts- Problem
PostPosted: Thu Mar 26, 2009 12:01 pm 
Offline
Junior Member

Joined: Sun Feb 25, 2007 5:02 pm
Posts: 4
Location: Genova Italy
Hi
I've a problem with scheduler script.
I want to generate weather charts with SYNOP and SHIP data plotted and MSLP contours to publish those on my web site.
I have created a script (in attachment) but DAE generates the same charts using different data.
For example yesterday I tried to generate by script a chart in a different time (06, 09, 12utc) but the chart was the same.
I checked in data directory the "obs" file and it was corrected.
This morning I have tried to generate a chart with data of today at 06utc but the generated chart is the same of yesterday and the "obs" file contains the SYNOP data of today at 06utc.
My OS is Windows Vista.
Can you help me?
Thanks a lot
Rox

LOAD,italia.DMF
download,[url]http://www.atmos.albany.edu/weather/data1/surface/syn/@Y@M@D@S_syn.wmo,C:\Program[/url] Files\DigAtmEquinox\data\obs.dat
import,C:\Program Files\DigAtmEquinox\data\obs.dat
PRODUCT,plf,0,PRESENT WEATHER
ANALYZE, CONT CINT=4 SMTH=2 ANLB LINE=2 COLOR=0:0:200 HILO HSFC SLPR
SFCPLOTMODEL,C:\Program Files\DigitalAtmosphereWS\wx.sps
STAMP
EXPORT,C:\Program Files\DigAtmEquinox\data\ITALY.jpg
erase


Top
 Profile  
 
 Post subject: Generate charts- Problem
PostPosted: Sun Mar 29, 2009 8:46 pm 
Offline
Member

Joined: Sun Nov 13, 2005 10:03 pm
Posts: 97
Location: Mid-Wales
I suspect you have the same problem I am experiencing with DA 2.01
The problem here is that the IMPORT command doesn't work.
The data is downloaded but when you ask to analyse the data it analyses the old data even though new data in in the \data sub-directory.

DAWS or Equinox worked fine but not DA 2.0 or 2.01

I run a script to download a group of files but have to manually select File - Import Specific file then select all the files and analyse them.
Everything is fine by doing this but I have tried various options but ingest or import doesn't appear to work for me in DA 2.01.
Therefore try manually importing the files and check if the charts are different.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 02, 2009 5:14 pm 
Offline
Junior Member

Joined: Sun Feb 25, 2007 5:02 pm
Posts: 4
Location: Genova Italy
thank you Peter for your answer but my problem is that DAE should work automaticaly and it should generate the charts 4 times per day (every 6 hours).
Thanks a lot
Rox


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 04, 2009 7:29 pm 
Offline
Member

Joined: Sun Nov 13, 2005 10:03 pm
Posts: 97
Location: Mid-Wales
Try changing the file extensions to .TXT as below:-

download,[url]http://www.atmos.albany.edu/weather/...wmo,C:\Program[/url] Files\DigAtmEquinox\data\obs.txt
import,C:\Program Files\DigAtmEquinox\data\obs.txt

Using Equinox on one of my computers this was the only way I could get DAE to work on a download script.
For me it was strange because 1 computer worked fine yet the other required a change to the extension, but both computers were running Windows XP SP3.

Hope it helps.

Regards Peter


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 04, 2009 9:17 pm 
Offline
Member

Joined: Sun Nov 13, 2005 10:03 pm
Posts: 97
Location: Mid-Wales
Rox,

You have an IMPORT line and I believe an INGEST command should be used.

Refer Help file Appendix - Scheduler scripting - Data Management Commands
quote << INGEST,filename
Imports the specified data file (filename is a fully qualified file name).>> unquote.

Therfore replace your IMPORT command with INGEST.

The data is being downloaded as you say but DAE is not processing the new file and continues to analyse old data.

Regards


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 05, 2009 5:59 pm 
Offline
Junior Member

Joined: Sun Feb 25, 2007 5:02 pm
Posts: 4
Location: Genova Italy
Hi Peter
thanks a lot for your suggestion and cooperation.
I'll try this as soon as possible.
Rox


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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