C-SNAP

TL;DR: run build.sh

This dirctory structure contains the SACLANTCEN C-SNAP normal mode
code.  The modification to UNIX platforms of C-SNAP, the MAKE
environment, and the interfacing to the graphics has been performed at
MIT by H. Schmidt.

C-SNAP is linked to the OASES graphics packages using the MINDIS
library or PLOTMTV. Therefore, installation of the OASES export
package should be installed before attempting installation of C-SNAP.

To install, simply issue the commands

  > mkdir build_dir # the build directory can be in any location you desire
  > cd build_dir
  > cmake ../       # replace '../' with the path to the C-SNAP repository
                    # alternatively, for installation in a custom directory
                    #  add the cmake flag : -DCMAKE_INSTALL_PREFIX:PATH=~/custom/
  > make
  > make install

The C-SNAP export package includes sample data files in the
Csnap/tloss and Csnap/pulse dirctories. The SACALANTCEN C-SNAP User Guide is
available in Csnap/doc/c-snap.ps. 

The execution of C-SNAP is OASES-like, for example for the ASA
ideal wedge benchmark:

  >  cd ~/Csnap/tloss
  >  csnap case1
  >  mplot case1
  >  cplot case1

It should be noted that PLOTMTV cannot currently be applied for all
C-SNAP line plots. The default MINDIS package does, however.

An example of generating contour plots is

  >  cd ~/Csnap/tloss
  >  snap case3
  >  cplot case3

cplot uses MINDIS for generating the contour plots unless PLOTMTV
raster contours is selected through the environmental variable:

  >  setenv CON_PACKGE mtv

C-SNAP is also compatible with the OASES PP pulse-postprocessor for
broadband time series computation. An example of its use is

  >  cd ~/Csnap/pulse
  >  csnap pulse

This generates the transfer function file pulse.trf which is
directly compatible with PP.

  >  pp

For pp, PLOTMTV can be used for timeseries plots by setting an
environmental variable:

  >  setenv PLP_PACKGE mtv