Installing CLAVR-x
This page will take you the steps to install the most recent version of CLAVR-x. It assumes
you are installing this into the directory refered to as
$CLAVRX_HOME (i.e. $CLAVRX_HOME = /home/heidinger/clavrx on my system).
CLAVR-x is currently run using the G95, Intel or xlf90 Fortran 90
compilers. It has not been tried on other compilers. If you
do try compiling using other compilers, you will need to modidy the
configure script or manually modify the Makefile.
1. Obtain latest code source. New users can obtain the location of the source code from Andrew Heidinger.
2. Extract this into a directory (i.e. src) under $CLAVRX_HOME
3. Run the configure script.
Running the configure script with the --help option provides the following output
CLAVR-x configure script. Run it in order to configure CLAVR-x build
process. It should be executed in the CLAVR-x source directory.
Usage: configure [command line options...]
Command line options:
--with-ifort[=<path>]
Intel FORTRAN compiler will be used. A path to the executable is
optional.
--with-g95[=<path>]
GNU FORTRAN 95 compiler will be used. A path to the executable is
optional.
--with-xlf90[=<path>]
IBM AIX FORTRAN compiler will be used. A path to the executable is
optional.
--hdflib=<directory>
Path to the directory where HDF library files are stored.
Default is /usr/local/hdf/lib.
--with-szip[=<directory>]
Path to the SZIP library, if required by the HDF library. If
directory not given, the argument of '--hdflib' option used.
--help
Display this help message.
4. Compile
After running the configure script, your Makefile should be ready to
go. In the source directory, type "make" and if all works the
three main executables should appear in $CLAVRX_HOME.
The three main executables are
- clavrxorb: processed the orbits into the selected output files
- comp_asc_des: compiles mapped orbital files into daily
ascending and descending files. This only takes data from one
satellite.
- comp_time: compiles mapped orbital files into global files
comprised of data within the specified time window. This can
include data from multiple satellites.