Page 1 of 1

Asus fronts

Posted: Mon Nov 14, 2005 1:53 am
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

Posted: Mon Nov 14, 2005 12:58 pm
by Fred
Strange. I copied the script and it works fine here. Did you removed all trailing spaces?

Fred

Posted: Mon Nov 14, 2005 4:29 pm
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.

Posted: Mon Nov 14, 2005 6:31 pm
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

Posted: Mon Nov 14, 2005 10:17 pm
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!

Posted: Tue Nov 15, 2005 8:28 am
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?

Posted: Tue Nov 15, 2005 2:55 pm
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:

Posted: Tue Nov 15, 2005 8:47 pm
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

Posted: Wed Nov 16, 2005 4:09 pm
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

Posted: Thu Nov 24, 2005 3:39 am
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!