LOAD command in scripting fails

This is the place to get help with Digital Atmosphere, suggest improvements, and get tips.
Post Reply
TimWest
Member
Posts: 23
Joined: Sun Nov 23, 2003 9:22 pm
Location: UK

LOAD command in scripting fails

Post by TimWest »

I have a saved basemap which I can load from the menu without problem.

When I run this command in the script window it also works fine
load,D:\DigitalAtmosphereWS\maps\euromap.dmf

However, if I put this command into a script file and try to run it from there I get an error saying "Floating Point Overflow" and the only way out is to shutdown DAWS.
Meteo Maarssen
Member
Posts: 42
Joined: Mon Nov 24, 2003 9:19 am
Location: Maarssen, NL
Contact:

Post by Meteo Maarssen »

Tim,

Maybe a small suggestion to try, as I found that the .dsf-files are connected with DA2000. Force to DAWS by in your .bat-file:

D:\DigitalAtmosphereWS\Digatmos.exe Driveletter:\folder\scriptname.dsf

Hope this helps,

Ton Lindemann
Netherlands
Tim Vasquez
Administrator
Posts: 535
Joined: Sat Nov 22, 2003 10:47 pm

Post by Tim Vasquez »

I will fix this. Thanks to Ton for helping.

Tim
TimWest
Member
Posts: 23
Joined: Sun Nov 23, 2003 9:22 pm
Location: UK

Post by TimWest »

Thanks Ton, it does look as though it is the file associations that are the problem. I reassociated the dmf files to DAWS rather than my old version of DA1.0 and it now seems to work fine.

Thanks for your suggestion.

TimW
TimWest
Member
Posts: 23
Joined: Sun Nov 23, 2003 9:22 pm
Location: UK

Post by TimWest »

Well I sort of spoke too soon, it is working now that I changed the file associations but I'm getting some strange behaviour. I have the following script.

set,1,D:\DigitalAtmosphereWS
download,http://www.atmos.albany.edu/weather/dat ... sfuk30.dat
download,http://www.atmos.albany.edu/weather/dat ... sfuk31.dat
import,$$1\sferics\*.*
blank
load,$$1\maps\ukmap.dmf
erase
product,sf6
stamp
export,$$1\exports\uksf6.jpg
blank
load,$$1\maps\euromap.dmf
erase
product,sf6
stamp
export,$$1\exports\eurosf6.jpg

If I have DAWS open on the ukmap to begin with and then run this script it firstly behaves as expected and plots the 6 hour sferics on the ukmap, it then loads the euromap and as soon as it gets to the second product,sf6 it switches the map back to the ukmap and plots the data as though it was showing the euromap, ie the placement of the data is in the correct place if it was the euromap but with the wrong image under it!
Tim Vasquez
Administrator
Posts: 535
Joined: Sat Nov 22, 2003 10:47 pm

Post by Tim Vasquez »

See my other message about the IMPORT and INGEST command... this is likely the cause of the failure.
Post Reply