The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Exporting
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=1258
Page 1 of 1

Author:  Roy Leep [ Thu Jun 07, 2007 11:56 am ]
Post subject:  Exporting

Is there a way to export a map on a scheduled basis? What would the script be for this?

Thanks

Author:  gkasica [ Tue Jun 12, 2007 5:15 pm ]
Post subject:  Re: Exporting

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

Author:  Roy Leep [ Tue Jun 12, 2007 6:59 pm ]
Post subject: 

Thanks, George.

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


Roy

Author:  gkasica [ Tue Jun 12, 2007 7:28 pm ]
Post subject: 

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.

Author:  Roy Leep [ Wed Jun 13, 2007 3:28 pm ]
Post subject: 

Thanks again;

Roy

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/