Asus fronts

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
britbob
Senior Member
Posts: 218
Joined: Sun Nov 07, 2004 6:38 pm
Location: New Brunswick, Canada

Asus fronts

Post by britbob »

Yup, the fronts subject is back again :)

Seriously, what am I doing wrong with the following script? Everything plots fine, except once the map is exported my frontal depictions have vanished!!
erase
load, d:\DAW-Charts\canada.dmf
download,http://www.hamweather.net/weather/asus0 ... fronts.dat
download,http://weather.cod.edu/digatmos/sao/@Y@ ... \synop.dat
download,http://www.atmos.albany.edu/weather/dat ... ynbuoy.dat
ingest,d:\DAW-Charts\fronts.dat
product,wxp,0,fronts
ingest,d:\DAW-Charts\syn*.dat
product,plf,0,surface plots
analyze,hilo cont cint=2 line=1 slpr
stamp
export,d:\DAW-Charts\product\surface.gif
Fred
Senior Member
Posts: 198
Joined: Tue Nov 25, 2003 4:22 pm
Location: Suoi Tien, Vietnam

Post by Fred »

Strange. I copied the script and it works fine here. Did you removed all trailing spaces?

Fred
britbob
Senior Member
Posts: 218
Joined: Sun Nov 07, 2004 6:38 pm
Location: New Brunswick, Canada

Post by britbob »

Now this is wierd!!

This morning, I cannot get the script to run at all!!

If I start off with a US basemap, then run the script, it should call up canada.dmf - correct?

It does not, the basemap does not change. It goes straight to importing the data from the url`s. Then as soon as it gets to the ingest line, the program freezes up and I get some `cannot find style bla bla bla`, this error repeatedly flashes up. I have to ctrl, alt, delete my machine to exit.
Fred
Senior Member
Posts: 198
Joined: Tue Nov 25, 2003 4:22 pm
Location: Suoi Tien, Vietnam

Post by Fred »

In the load is a space after the ",". Perhaps it helps if you removes it. In my case (with space) I get another map, but no problems.

Fred
britbob
Senior Member
Posts: 218
Joined: Sun Nov 07, 2004 6:38 pm
Location: New Brunswick, Canada

Post by britbob »

Got the script working again. I left a space at the end of one of my lines by mistake.

Only problem I have is the dissapearing fronts!! They plot fine when the script is run. However, the exported charts have no fronts. They simply vanish!
Fred
Senior Member
Posts: 198
Joined: Tue Nov 25, 2003 4:22 pm
Location: Suoi Tien, Vietnam

Post by Fred »

I really don't understand. In my script the exported file is exactly as the screen. Does they also dissapear when you make a jpg?
britbob
Senior Member
Posts: 218
Joined: Sun Nov 07, 2004 6:38 pm
Location: New Brunswick, Canada

Post by britbob »

No I really don`t understand it either!!

I tried to export as a jpg, but nothing happens. It will not export as a jpg, only the gif file remains from previous runs of the script.

Funny thing is, I can export the image manually as a gif, and all the fronts are there. I can export as a jpg too. It just has issues with the script side of things :shock:

Ps. Now it`s not exporting at all using scripts :shock:
synoptic
Member
Posts: 64
Joined: Fri Aug 26, 2005 7:05 pm
Location: Almere, netherlands
Contact:

Post by synoptic »

Hello,
I tested your script as above to and first no image was exported.
But after a delete of a space on the last line it worked 100% for me.

Code: Select all

erase 
load, c:\digital\canada.dmf 
download,http://www.hamweather.net/weather/asus01/asus01.txt,c:\digital\fronts.dat 
download,http://weather.cod.edu/digatmos/sao/@Y@M@D@H.sao,c:\digital\synop.dat 
download,http://www.atmos.albany.edu/weather/data1/surface/boy/@Y@M@D@H_boy.wmo,c:\digital\synbuoy.dat 
ingest,c:\digital\fronts.dat 
product,wxp,0,fronts 
ingest,c:\digital\syn*.dat 
product,plf,0,surface plots 
analyze,hilo cont cint=2 line=1 slpr 
stamp 
export,c:\digital\surface.gif
britbob
Senior Member
Posts: 218
Joined: Sun Nov 07, 2004 6:38 pm
Location: New Brunswick, Canada

Post by britbob »

Man, I`m always leaving a space at the end :D I forget how fickle DAWS can sometimes be!!!

I have another one here. I`m running a couple of surface scripts together, I have no doubt there is a better way for what I`m try to achieve? It works, but for the the last three maps, the asus fronts are not plotting...
erase
load,d:\DAW-Charts\canada.dmf
download,http://www.hamweather.net/weather/asus0 ... fronts.dat
download,http://weather.cod.edu/digatmos/sao/@Y@ ... \synop.dat
download,http://www.atmos.albany.edu/weather/dat ... ynbuoy.dat
ingest,d:\DAW-Charts\fronts.dat
product,wxp,0,fronts
ingest,d:\DAW-Charts\syn*.dat
product,plf,0,surface plots
analyze,hilo cont cint=2 line=1 slpr
stamp
export,d:\DAW-Charts\product\surface_can.gif


erase
load,d:\DAW-Charts\eastern_canada.dmf
product,wxp,0,fronts
product,plf,0,surface plots
analyze,hilo cont cint=2 line=1 slpr
stamp
export,d:\DAW-Charts\product\surface_caneast.gif


erase
load,d:\DAW-Charts\western_canada.dmf
product,wxp,0,fronts
product,plf,0,surface plots
analyze,hilo cont cint=2 line=1 slpr
stamp
export,d:\DAW-Charts\product\surface_canwest.gif


erase
load,d:\DAW-Charts\northern_canada.dmf
product,wxp,0,fronts
product,plf,0,surface plots
analyze,hilo cont cint=2 line=1 slpr
stamp
export,d:\DAW-Charts\product\surface_cannorth.gif
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

all the scripts must be together. you can not have that space apart between your scripts! That is why it isnt working. At least i think! put them all together and it will work. Watch out for those spaces though!
Post Reply