Page 1 of 1

Exporting

Posted: Thu Jun 07, 2007 11:56 am
by Roy Leep
Is there a way to export a map on a scheduled basis? What would the script be for this?

Thanks

Re: Exporting

Posted: Tue Jun 12, 2007 5:15 pm
by gkasica
Roy Leep wrote:Is there a way to export a map on a scheduled basis? What would the script be for this?

Thanks
Roy, you would just need to write a script and then schedule it to run at a set time. It might look someting like this (this will export a jpg image but you'll have to edit the drive and direcories etc. but you'll see the commands used at least:

LOAD,E:\Program Files\DigitalAtmosphereWS\Great Lakes Satellite.dmf

PRODUCT,plf,0,METAR
ANALYZE,CONT COLOR=0:200:0 VKNT WSPD
ANALYZE,BKNT COLOR=0:0:200 WIND
EXPORT,W:\DAWS\GREATLAKES.jpg

Posted: Tue Jun 12, 2007 6:59 pm
by Roy Leep
Thanks, George.

I used the "save" command at the end of some scheduled maps and acheived the desired results.


Roy

Posted: Tue Jun 12, 2007 7:28 pm
by gkasica
Roy Leep wrote:Thanks, George.

I used the "save" command at the end of some scheduled maps and acheived the desired results.


Roy
That'll work too :) EXPORT may give you more choices of frmats though that might be smaller thana BMP file.

From the docs:

SAVE,filename
Saves a map. The filename parameter is the fully qualified filename without the extension (i.e. without .bmp).


EXPORT,filename
Exports a map (i.e. saves it to a variety of formats and without the accompanying .atr file). The filename parameter is the fully qualified
filename with a valid extension (may be bmp, gif, jpg, png, pcx, or tif). Compressed TIFF saving is not available.

Posted: Wed Jun 13, 2007 3:28 pm
by Roy Leep
Thanks again;

Roy