Generate charts- Problem

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
multidatasat
Junior Member
Posts: 4
Joined: Sun Feb 25, 2007 5:02 pm
Location: Genova Italy
Contact:

Generate charts- Problem

Post by multidatasat »

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,http://www.atmos.albany.edu/weather/dat ... C:\Program 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

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

Generate charts- Problem

Post by Peter »

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.

multidatasat
Junior Member
Posts: 4
Joined: Sun Feb 25, 2007 5:02 pm
Location: Genova Italy
Contact:

Post by multidatasat »

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

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

Post by Peter »

Try changing the file extensions to .TXT as below:-

download,http://www.atmos.albany.edu/weather/...wmo,C:\Program 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

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

Post by Peter »

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

multidatasat
Junior Member
Posts: 4
Joined: Sun Feb 25, 2007 5:02 pm
Location: Genova Italy
Contact:

Post by multidatasat »

Hi Peter
thanks a lot for your suggestion and cooperation.
I'll try this as soon as possible.
Rox

Post Reply