Resource: in_file
Resource | in_file |
Command Line | -if=in_file |
Environment Variable | wxpinfile |
Default Value | program specific |
The in_file resource is a program specific input file setting and describes what type of input file will be as well as the naming convention of the file. In most cases, the input file format will be deduced from the file itself but may need to be specified in the cases of nids and nowrad for the rad program and for GOES tap images in xsat.
The input file naming convention is based on program defaults and doesn't need to be specified unless you are wanting a different naming convention. This can be done in two ways:
- name convention tag - this specifies to use a name convention defined in the name
convention file (see name_conv resource). This
tag uniquely specifies a complete name convention:
sfc_cvt %C/%y%m%d%h_sao.wxp
The tag is sfc_cvt and that would be listed in the resource.
- full name convention - this specifies the full name convention. Using the
above example, "
%C/%y%m%d%h_sao.wxp
" would be specified with the out_file resource. You will notice the name convention wildcard characters:Wildcards Description PATHS
%F file_path resource %D data_path resource %C con_path resource %G grid_path resource %R raw_path resource %I image_path resource %W watch_path resource DATE
%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) PRESET VALUES
%r region %l vertical level %f forecast time %v variable %x model %p program name %i loop/frame index %e tag extension
Most of these are preset by the program and the in_file resource just takes advantage of these values in generating a file name based on time and type of plot.
Last updated July 30, 1998