Program M3COMBO

Usage

    setenv  <infile>   <path name>
    setenv  <outfile>  <path name>
    setenv COMBO_VBLES       <Comma-delimited list of names for
                              the output variables>
    setenv COMBO_UNITS  <units for the output variables>
    For each output variable <name>,
        setenv  <name>_VBLES  <list of input variable names>
        setenv  <name>_COEFS  <list of REAL coefficients>
    
    M3COMBO <and respond to the prompts>

where infile and outfile are the logical names of the input and output files.

Summary

The M3COMBO program computes linear combinations of sets of variables for a specified time step sequence from one I/O API file, infile, , and writes them to a different I/O API file, outfile. The input variables must be of basic data type M3REAL; the file type must be one of the following:

Requires Fortran-90 for compilation. Source code for program m3combo is available under the GNU GPL License, Version 2, and can be downloaded here (Note: NetScape advised; there seems to be a bug in Micrrosoft Internet Explorer.).

Before you run the program, you need to assign logical names to the physical file names of both files, according to Models-3 conventions, using the operation

    "setenv <lname> <pname>"
The program will prompt you for the logical names you have chosen for the input files, and for the time step sequence to process. The prompts have default responses indicated in square brackets [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.

Versions of the program are available for each supported architecture (on MCNC EMC systems, workstation versions are currently in the directories /env/proj/ppar/(SunOS5f90 | IRIX6n32f90 | IRIX64f90 | Linux2_x86ifc)/bin.

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.

See Also:


Previous: BCWNDW

Next: M3CPLE

Up: Related Programs

To: Models-3/EDSS I/O API: The Help Pages