setenv <infile1> <path name> ... setenv <infileN> <path name> setenv <outfile> <path name> selmrg2d (and answer the prompts)where infile1, ...,infileN, and outfile are the logical names of the input and output files.
SELMRG2D
program extracts multiple user-selected 2D
variable/layer combinations for a specified
time step sequence from multiple gridded I/O API files,
infile1, ..., infileN and writes them to a
different single-layer gridded I/O API file, outfile.
The input files infile1, ..., infileN must all
have the same horizontal grid structure, althought they are not required
to have the same vertical grid structure (or be single-layered, having
no vertical structure at all).
The normal use of SELMRG2D
is to script the production of
files for input to 2-D graphics/visualization programs, e.g., for the
automated graphical web-page-delivered analyses needed in various
real-time meteorology/air quality forecasting projects such as
NCSC's Numerical Air Quality Prediction
Project.
Requires Fortran-90 for compilation.
Before you run the program, you need to assign logical names to the physical file names of the input and output files according to Models-3 conventions, using the operation
"setenv <lname> <pname>"The program will prompt you for
[LIKE THIS]
, which can be accepted by hitting
<RETURN>. The specification of starting date and time, target
date and time, and number of time step records for the run follow
Models-3 date and time conventions.
If you want to run this program in batch mode (from a script), the recommended way to develop the script is to run the program once interactively noting the pattern of responses to prompts which generate the particular analysis you want. The pattern of responses then becomes either a command-input file which you may redirect into the program in the script, or may become a "here-document" fed into the execution by the script.
To: Models-3/EDSS I/O API: The Help Pages