Program M3FAKE

Usage

    setenv  <outfile>     <path name>
    m3fake
where outfile is the logical name of the output file.

Summary

The M3FAKE program prompts the user, one item at a time, for the contents of a file description including starting date and time, time step and number of steps, and for choice of formula to be used for the fill values. The program then builds a file according to these specifications. In order to describe the horizontal coordinate system and grid, the user may either supply the name of the horizontal grid, as found in the GRIDDESC file, or else may supply all parameters in a complete description of the grid and coordinate system, entry by entry.

Currently, only the following file types are supported:

The following formulas are currently available, on a per-variable basis:

Before you run the program, you need to assign a logical name to the physical file names of the output file, according to Models-3 conventions, using the operation(s)

        setenv GRIDDESC  <pathname>
        setenv <lname>   <pname>
    
The program will prompt you for the logical name you have chosen for the output file, and for its description. The prompts will have default responses whichcan be accepted by hitting <RETURN>. The specification ofstarting date and time, and duration for the file specification follow Models-3 date and time conventions.

Note that the set of specifications for which files can be constructed by one execution of M3FAKE is quite complex, being dependent upon the file type, variables and other structures in the file being constructed. If you want to run this program in batch mode (i.e., from a script), the recommended way to develop the script is to run the program once interactively while noting the pattern of responses to prompts which generate the particular analysis you want. The pattern of responses then becomes either a command-output file which is redirected into the program's execution by the script, or becomes a "here-document" fed into the execution.

Versions of the program are available for each supported architecture (workstation versions are currently in the directories /env/apps/(SunOS5 | IRIX5 | alphaOSF1)/bin; Cray versions are in /work/xcc/m3tools on sequoia) and /flyer/com/epa/coats/bin or /usr/local/edss/framework/EDSSv0.3pre/unicos9_TS/bin/OPTIMIZE on flyer.

Source code for program m3fake 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.).


Previous: M3XTRACT

Next: M4FILTER

Up: Related Programs

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