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.
LOAD command in scripting fails
-
- Member
- Posts: 42
- Joined: Mon Nov 24, 2003 9:19 am
- Location: Maarssen, NL
- Contact:
-
- Administrator
- Posts: 535
- Joined: Sat Nov 22, 2003 10:47 pm
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!
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!
-
- Administrator
- Posts: 535
- Joined: Sat Nov 22, 2003 10:47 pm