Tutorial for the installation, running and visulaisation of the sample location problem.
Overview - Installing the sample location - Running the sample location tutorial - [NonLinLoc Home]
The following steps will lead you through the installation of files, the creation of a model grid and calculation of travel time grids, and the location and visualisation of the sample location.
Before doing the sample location, you must download and install:
TauP.x.x.x.jar
available at TauPToolkit
into your java directory, i.e. my_java_dir
DO NOT
UNPACK THE JAR FILE.my_java_dir/edu/sc/seis/TauP/
CLASSPATH
to the file
TauP.x.x.x.jar
and to
the directory my_java_dir
, i.e. setenv CLASSPATH my_java_dir/
TauP.x.x.x.jar:
my_java_dir
(all on one command line) set CLASSPATH =
my_java_dir\
TauP.x.x.x.jar;
my_java_dir
(all
on one command line)CLASSPATH
set accordingly, you may see
a message of the form: Exception in thread "main"
java.lang.NoClassDefFoundError: edu/sc/seis/TauP/TauP_Table_NLL
mkdir $HOME/NLLoc
Copy the samples tar file to this directory, i.e.:
cp $HOME/download/NLLVersion_samples.tar.gz
$HOME/NLLoc
where: Version
is the NNloc version you
are using (i.e. NLLoc3.03_samples.tar.gz
).
Go to the working directory, i.e.:
cd $HOME/NLLoc
Unzip and unpack the files:
gunzip NLLVersion_samples.tar.gz
tar -xvf NLLVersion_samples.tar
This will create the directory nlloc_global_sample/
with sub-directories:
loc/ obs/
run/ taup/
and the files seismicitydefaults
and run_global_sample.sh
.
Make the script run_global_sample.sh
executable:
chmod a+x
run_global_sample.sh
cd
$HOME/NLLoc/nlloc_global_sample
Examine the UNIX/Linux shell script: run_global_sample.sh
,
this script runs the tutorial and contains examples of the commands
used to run and analyze NonLinLoc GLOBAL
mode locations
Make the script run_global_sample.sh
executable:
chmod
a+x run_global_sample.sh
To run the tutorial, enter:
./run_global_sample.sh
Back to the NonLinLoc site Home page.
Anthony Lomax