Re: Script help please!

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
tornadoforecaster

Re: Script help please!

Post by tornadoforecaster »

Guys:

With some help, the following script was created for me to have radar loops on my web site. It worked fine when it was made several months back, but when I tried it out tonight, it now displays an error saying "access violation in ?? Read of address ??"

I hope someone can help me fix this....................

load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arx100base.dmf
BLANK
RADAR,BREF2,ARX GRB MPX
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\baseradararx100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grb100base.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\baseradargrb100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regionalbase.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\baseradarregional.gif
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arx100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grb100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regional100.bat,,1
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arx100base.dmf
BLANK
RADAR,BVEL2,ARX GRB MPX
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\basevelarx100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grb100base.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\basevelgrb100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regionalbase.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\basevelregional.gif
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arxvel100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grbvel100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regionalvel100.bat,,1
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arx100base.dmf
BLANK
RADAR,OHP,ARX GRB MPX
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\basepreciparx100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grb100base.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\baseprecipgrb100.gif
load,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regionalbase.dmf
BLANK
RADARPLOT
stamp
export,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\baseprecipregional.gif
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\arxprecip100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\grbprecip100.bat,,1
SPAWN,C:\Program Files\DigitalAtmosphereWS\radarloop\Stevens Point\regionalprecip100.bat,,1
timeron

Randy
tornadoforecaster

Re: Help urgently requested!

Post by tornadoforecaster »

Can someone please examine the script I submitted, and help me fix this.

RG
Les
Member
Posts: 34
Joined: Thu Jan 19, 2006 11:11 pm
Location: UK
Contact:

Post by Les »

Randy,

I copied your script, and initially it produced errors.

However, when I edited out the extra space from the end of each line, it worked fine.

Do check EVERY line of your script for a trailing space. It will prevent the analysis working.

In my case, EVERY line had a trailing space, although this may just have been an artifact arising from my cut/paste of your code.

As I said, basically the script works fine.

Les
tornadoforecaster

Re: Above script

Post by tornadoforecaster »

Les,

I am not really sure what you mean by extra spaces at the end of each line, because I checked it but did not see any. And I am still getting the access violation errors. Can you explain more, or revise my script?

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

Post by britbob »

I haven`t checked the script myself Randy.

Highlight the script you posted by dragging the mouse/cursor over it. You`ll see a space at the end of each line. DAWS is quite fussy about these. Remove those spaces and see if it works.
tornadoforecaster

Re: radar loop Script

Post by tornadoforecaster »

Bob:

Okay, this may sound stupid, but how do I get rid of those spaces?

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

Post by britbob »

Just use your backspace :)
tornadoforecaster

Re: Above script

Post by tornadoforecaster »

Bob:

Thanks, I got it working but now a different problem. It collects and plots the radar data, but on a blank backdrop and no map. I have maps made, but it won't use them. What should I do?

Randy :cry:
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

take out the BLANK and see if that work!
tornadoforecaster

Re: background maps

Post by tornadoforecaster »

In order for me to show what it's doing, someone would need to contact me offlist. I tried cut and paste to the forum, and it don't work, and I just don't have the time to fool around with that.

Interested parties can reach me "forecaster@charter.net"

Thanks,

Randy
Post Reply