Page 1 of 1

LOAD command in scripting fails

Posted: Fri Jul 23, 2004 10:19 am
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.

Posted: Fri Jul 23, 2004 10:34 am
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

Posted: Fri Jul 23, 2004 4:59 pm
by Tim Vasquez
I will fix this. Thanks to Ton for helping.

Tim

Posted: Sat Jul 24, 2004 7:16 am
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

Posted: Sat Jul 24, 2004 7:38 am
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!

Posted: Sat Jul 24, 2004 3:22 pm
by Tim Vasquez
See my other message about the IMPORT and INGEST command... this is likely the cause of the failure.