next up previous contents
Next: 8 Using the IDL Up: userguide Previous: 6 Tgcm utility scripts   Contents

Subsections


7 Using the fortran post-processor

The fortran post-processor, tgcmproc_f90, reads TGCM netCDF history output files, and produces graphics and/or data files for analysis (See section 1.2.1 for an introduction). As of version 1.7 (June, 2005), this serial code runs on the following systems (note this does not include Sun Solaris machines):


NCAR division Vendor/OS Name tgcmproc executable
CISL IBM/AIX bluevista, bluefire $TGCMROOT/bin.AIX/tgcmproc_f90
CISL IBM/Linux lightning $TGCMROOT/bin.Linux/tgcmproc_f90
DASG HP/Linux gale,breeze,etc $TGCMROOT/bin.Linux/tgcmproc_f90
HAO Linux (Fedora) [many] $TGCMROOT/bin.Linux/tgcmproc_f90

See sections 3.1 and 3.2 for how to set the TGCMROOT environment variable. At HAO, the single binary should work on any Linux system running Fedora core n or RedHat Enterprise. These include, but are not limited to: callisto, crumb, sundog, suncat, rhea, miranda, dione, atlas, myst, phoebe, tethys, janus, and yoda.

To access the tgcmproc_f90 executable as a command, you can add the following to your .cshrc file at CISL (separate file on each machine) and at HAO (one file under your home):

set path = ( $TGCMROOT/bin.`uname -s` $path )

(Don't forget to source your .cshrc file, and type "rehash" to reset the hash table)

The command "MkTgcmprocinp" (in $TGCMROOT/bin) can be used to obtain an example namelist read file called "tgcmproc_example.inp" for user input to the processor. After obtaining this default namelist input file for your needs, execute the processor with the following command (in this case, stdout is redirected to the file tgcmproc.out, and the processor is run interactively in backbround):

tgcmproc_f90 < tgcmproc_example.inp >&! tgcmproc.out &

The namelist input file can then be edited for your own needs and renamed if desired for subsequent runs. Tgcmproc_f90 uses the NCAR Graphics libraries to produce plots of the model output.


7.1 tgcmproc_f90 namelist input

For a complete explanation of the tgcmproc_f90 namelist input parameters, please see tgcmproc user input. Also useful is a "master" namelist input file, with examples of most namelist read parameters: tgcmproc_master.inp

To make a default tgcmproc_f90 namelist input file, use the MkTgcmprocinp command (section 6.11).

User input parameters for the f90 processor are put in a text file (e.g. tgcmproc.inp), which is passed to the processor as stdin. For example, to execute tgcmproc_f90 with the input file tgcmproc.inp, and redirect output to the file tgcmproc.out, execute the following on the command line:

tgcmproc_f90 < tgcmproc.inp >&! tgcmproc.out &

next up previous contents
Next: 8 Using the IDL Up: userguide Previous: 6 Tgcm utility scripts   Contents
Ben Foster 2008-06-19