RIP Tutorial : Compile
Before you compile RIP, make sure that you either type
setenv NCARG_ROOT /usr/local/ncarg
(note: location of NCAR Graphics library may vary on your
machine)
or include the above line in your .cshrc file.
Type the following to compile RIP:
make
This will display a list of machines on which
RIP has been tested.
Pick the correct type for your machine and type:
make your-machine >& make.out
(i.e., make dec >& make.out)
If it is successful, an number of executables will be created
and linked to the top directory as shown here:
lrwxrwxrwx 1
mesouser users 7 Jan 27 2005 rip@ -> src/rip*
lrwxrwxrwx 1 mesouser users 11 Jan 27 2005 ripcomp@
-> src/ripcomp*
lrwxrwxrwx 1 mesouser users 9 Jan 27 2005 ripdp@
-> src/ripdp*
lrwxrwxrwx 1 mesouser users 13 Jan 27 2005 ripinterp@
-> src/ripinterp*
lrwxrwxrwx 1 mesouser users 11 Jan 27 2005 ripshow@
-> src/ripshow*
lrwxrwxrwx 1 mesouser users 12 Jan 27 2005 showtraj@
-> src/showtraj*
lrwxrwxrwx 1 mesouser users 11 Jan 27 2005 tabdiag@
-> src/tabdiag*
lrwxrwxrwx 1 mesouser users 11 Jan 27 2005 upscale@
-> src/upscale*
rip |
RIP is a post-processing program for the PSU/NCAR
mesoscale. The name "RIP" stands for Read/Interpolate/Plot.
The program is intended for use with hydrostatic or
nonhydrostatic mm4v8 output, mm5v0 output, mm5v1 input or
output, or mm5v3 input or output (including pre-processor
p-level data). The data must first be converted to
the appropriate format expected by this program, using the
program RIPDP. |
ripcomp |
This program reads in two rip data files and compare
their contents. |
ripdp |
RIPDP (which stands for RIP Data Preparation) is a data
preparation program that reads in data from the PSU/NCAR
mesoscale modeling system and makes data files appropriate
for input to the RIP data analysis and visualization program. |
ripinterp |
This program reads in model output (in rip-format
files) from a coarse domain and from a fine domain, and
creates a new file which has the data from the coarse domain
file interpolated (bi-linearly) to the fine domain.
The header and data dimensions of the new file will be that
of the fine domain, and the case name used in the file name
will be the same as that of the fine domain file that was
read in. |
ripshow |
This program reads in a rip data file and prints
out the contents of the header record. |
showtraj |
Sometimes, you may want to examine the contents
of a trajectory position file. Since it is a binary file,
the trajectory position file cannot simply be printed out.
showtraj, reads the trajectory position file and prints
out its contents in a readable form. When you run
showtraj, it prompts you for the name of the trajectory
position file to be printed out. |
tabdiag |
If fields are specified in the plot specification
table for a trajectory calculation run, then RIP produces
a .diag file that contains values of those fields along
the trajectories. This file is an unformatted Fortran file,
so another program is required to view the diagnostics.
tabdiag serves this purpose. |
upscale |
This program reads in model output (in rip-format
files) from a coarse domain and from a fine domain, and
replaces the coarse data with fine data at overlapping points.
Any refinement ratio is allowed, and the fine domain borders
do not have to coincide with coarse domain grid points. |
Now you are ready to run RIPDP
|