|Default Value||program specific|
The out_file resource is a program specific output file setting and describes what the format of the output file will be as well as the naming convention of the file. The output formats are specific to each program but most use (refer the program reference for program specific values):
The output file naming convention is based on program defaults and doesn't need to be specified unless you are wanting a different naming convention. If a file type is specified, the type is appended to the tag: sfc_cvt_wxp and sfc_cvt_cdf which can be used to denote specific file name conventions for each file type:
sfc_cvt_wxp %C/%h%m%d%y_sao.wxp sfc_cvt_cdf %C/%h%m%d%y_sao.nc
The output filename is based on a default or specified file name convention. The filename can be explicitly defined in the out_file resource (using wildcards, see below) or left as a tag in which the filename convention is resolved in the name convention file.
%C/%y%m%d%h_sao.wxp" would be specified with the out_file resource. You will notice the name convention wildcard characters:
|%Y||Current year (1900-)|
|%y||Current year (00-99)|
|%B||Current month (JAN-DEC)|
|%b||Current month (jan-dec)|
|%m||Current month (01-12)|
|%j||Current Julian day (0-365)|
|%d||Current day (01-31)|
|%h||Current hour (00-23)|
|%n||Current minute (00-59)|
Most of these are preset by the program and the out_file resource just takes advantage of these values in generating a file name based on time and type of plot.
The output would be a WXP ASCII converted file using sfc_cvt as the file name tag. If this tag is not in the name convention file, it will be used as a filename.
This specifies just the output file type. This is normally associated with a default file name tag such as sfc_cvt_wxp.
This specifies both the output file type and the file name tag.
This specifies that the program will generate a GIF file named output.gif from the completed plot. The image_path resource is prepended to the filename unless the filename is a full path. Also, wildcard characters can be used.
For further information about WXP, email firstname.lastname@example.org
Last updated by Dan Vietor on July 30, 1998