VCS Scripts:  Script Command: Raster    


Description

The Raster command is used to store data attribute sets as raster images. If no path/file name is given and no previously created raster file has been designated, then file

will be used for storing raster images. However, if a previously created raster file is designated, that file will be used for raster output.

There are two modes for saving a raster file: `append' mode appends raster output to an existing raster file; `replace' mode overwrites an existing raster file with raster output. If a file cannot be opened for appending output, then no raster images will be written. Note. VCS saves raster images in Sun raster format.


Assignments

RASTER([path/file name], mode)

where mode is either `append' or `replace'


Script Examples

Append to an existing file:

RASTER(/home/williams/example.ras,append)

Replace an existing file:

RASTER(/home/williams/example.ras,replace)



Last update January 7, 1997. For further information, contact: Dean N. Williams (vcs@pcmdi.llnl.gov).
This page is maintained by Anna McCravy (mccravy@pcmdi.llnl.gov).
 and LLNL Disclaimers

UCRL-MI-122902