Is there a way to export a map on a scheduled basis? What would the script be for this?
Thanks
Exporting
Re: Exporting
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:Roy Leep wrote:Is there a way to export a map on a scheduled basis? What would the script be for this?
Thanks
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
That'll work too EXPORT may give you more choices of frmats though that might be smaller thana BMP file.Roy Leep wrote:Thanks, George.
I used the "save" command at the end of some scheduled maps and acheived the desired results.
Roy
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.