1.3.1. NonLinLoc Software Package Control File
Overview - Definitions - Generic Control Statements - Vel2Grid Program - Vel2Grid3D Program - Grid2Time Program - Time2EQ Program - NLLoc Program - Loc2ssst Program
1.3.1.1. Overview
[newline]
. Blank lines and lines
with #
in the first column are ignored. Use #
in the first
column for comments and to “comment out” a statement.1.3.1.2. Definitions
0, 5, 285
)1.3.1.3. Generic Control Statements
TRANS
and
MAPLINE` and their parameters must be the same for all programs
runs for a g*n location project.INCLUDE
includeFile
includeFile
(string) path and name of file to includeCONTROL
messageFlag randomNumberSeed
messageFlag
(integer, min:-1
, default:1
) sets the
verbosity level for messages printed to the terminal ( -1
=
completely silent, 0
= error messages only, 1
= 0
+
higher-level warning and progress messages, 2
and higher = 1
+
lower-level warning and progress messages + information messages, …)randomNumberSeed
(integer) integer seed value for generating
random number sequences (used by program NLLoc to generate Metropolis
samples and by program Time2EQ to generate noisy time picks)TRANS
GLOBAL
TRANS
SIMPLE latOrig longOrig rotAngle
TRANS
NONE
TRANS
SDC latOrig longOrig rotAngle
TRANS
LAMBERT refEllipsoid latOrig longOrig firstStdParal secondStdParal rotAngle
TRANS
TRANS_MERC refEllipsoid latOrig longOrig rotAngle [useFalseEasting] [falseEasting] [mapScaleFactor]
TRANS
AZIMUTHAL_EQUIDIST refEllipsoid latOrig longOrig rotAngle
SIMPLE
,
SDC`, LAMBERT
, TRANS_MERC
and AZIMUTHAL_EQUIDIST
options make transformations
of geographic coordinates into a Cartesian/rectangular system. The
NONE` transformation performs no geographic conversion.latOrig
(float, min:-90.0
, max:90.0
) latitude in
decimal degrees of the rectangular coordinates originlongOrig
(float, min:-180.0
, max:180.0
) longitude
in decimal degrees of the rectangular coordinates originrotAngle
(float, min:-360.0
, max:360.0
) rotation
angle of geographic north in degrees clockwise relative to the
rectangular coordinates system Y-axisrefEllipsoid
(choice:
WGS-84 GRS-80 WGS-72 Australian Krasovsky International Hayford-1909 Clarke-1880 Clarke-1866 Airy Bessel Hayford-1830 Sphere`)
reference ellipsoid namelatOrig
(float, min:-90.0
, max:90.0
) latitude in
decimal degrees of the rectangular coordinates originlongOrig
(float, min:-180.0
, max:180.0
) longitude
in decimal degrees of the rectangular coordinates originfirstStdParal secondStdParal
(float, min:-90.0
,
max:90.0
) first and second standard parallels (meridians) in
decimal degreesrotAngle
(float, min:-360.0
, max:360.0
) rotation
angle of geographic north in degrees clockwise relative to the
rectangular coordinates system Y-axisuseFalseEasting
(choice: 0 1`) whether to use
false easting in UTM coordinates or notfalseEasting
(int) false easting in meters to use in UTM coordinates,
defaults to 500000
(500km) if not specified and useFalseEasting
is
switched onmapScaleFactor
(float) map scale factor to use in UTM coordinate
conversion, defaults to 1.0
if not specifiedrotAngle
= 0
gives
North along the positive Y-axis,
rotAngle
= -30
gives
North along the axis 30 deg counterclockwise from the positive Y-axis
of the rotated, rectangular system.GLOBAL
mode uses a “spherical earth”,
longitude,latitude,depth coordinate system (positive X = East,
positive Y = North, positive Z = down). Longitude and latitude units
are degrees, depth is in kilometers, most input/output distance
quantities are expressed in geographic ( longitude,latitude,depth)
coordinates, most, but not all, horizontal distances are in degrees.SIMPLE
transformation only corrects longitudinal
distances as a function of latitude Algorithm:
` x = (long - longOrig) * 111.111 * cos(lat_radians); y = (lat - latOrig) * 111.111; lat = latOrig + y / 111.111; long = longOrig + x / (111.111 * cos(lat_radians)); `NONE
transformation performs no geographic conversion,
The input, cartesian/rectangular XYZ coordinates are used throughoutSDC
transformation is a “Short Distance Conversion”
projection indended for use with very small study regions. For
algorithm details see MAP_TRANS_SDC
in GridLib.cLAMBERT
Lambert Conformal Conic projection is adapted from
the source code of the GMT plotting packageTRANS_MERC
Transverse Mercator projection is adapted from
the source code of the GMT plotting packageAZIMUTHAL_EQUIDIST
Projection is adapted from
the source code of the GMT plotting packageMAPLINE
formatType name red green blue lineStyle
formatType
(choice:
GMT_LATLON GMT_LONLAT XY_LONLAT GMT_LONLATDEPTH GMT_LONLATELEV_M GMT_GRD`)
line file format or GMT grd file formatname
(string) full path and file namered green blue
(float, min:0.0
, max:1.0
) red,
green and blue intensities (0.0-1.0) (not implemented)lineStyle
(choice: SOLID DASHED DOTTED DASHDOT
) line
style (not implemented)GMT_GRD
specify 2D or 3D line files. Use
GMT_GRD
to specify GMT grd files, these will be plotted as a
background image with a green-greyscale by default. If a GMT cpt file
exists with the same path and name as the GMT grd file, but ending
with “.cpt”, it will be used to determine the color scale.GMT_GRD
) cannot be used with a rotated
coordinate system.TRANS
above for syntax (replacing
TRANS` by MAPTRANS
).MAPTRANS
specifies the transformation for Grid2GMT output to
GMT plotting.MAPTRANS
superseeds any other TRANS
statement in the
control file for Grid2GMT output.MAPGRID
xNum yNum zNum xOrig yOrig zOrig dx dy dz gridType`xNum yNum zNum
(integer, min:2
) number of grid nodes in
the x, y and z directionsxOrig yOrig zOrig
(float) x, y and z location of the grid
origin in km relative to the geographic origin.dx dy dz
(float) grid node spacing in kilometers along the x,
y and z axesgridType
(choice: XXX
) grid type (ignored).MAPGRID
specifies the plot region for GRid2GMT output to GMT
plotting. MAPGRID
superseeds any other xxxGRID
statements in
the control file.1.3.1.4. Vel2Grid Program
VGOUT
fileRoot
fileRoot
(string) full or relative path and file root name
(no extension) for outputfileRoot.waveType.mod
.*FileExtension*.buf
or .hdr
.VGTYPE
waveType
waveType
(choice: P S
) wave typeVGGRID
xNum yNum zNum xOrig yOrig zOrig dx dy dz gridType`xNum yNum zNum
(integer, min:2
) number of grid nodes in
the x, y and z directionsxOrig yOrig zOrig
(float) x, y and z location of the grid
origin in km relative to the geographic origin.dx dy dz
(float) grid node spacing in kilometers along the x,
y and z axesgridType
(choice:
VELOCITY VELOCITY_METERS SLOWNESS VEL2 SLOW2 SLOW_2_METERS SLOW_LEN`)
physical quantity to store on grid ( VELOCITY
= km/s,
VELOCITY_METERS
= m/s, SLOWNESS
= s/km, VEL2
= vel**2,
SLOW2
= (s/km)**2, SLOW_2_METERS
= slow**2 ((s/m)**2),
SLOW_LEN
= slow*dx (sec)).LAYER
depth VpTop VpGrad VsTop VsGrad rhoTop rhoGrad
depth
(float) depth to top of layer (use negative values for
layers above z=0)VpTop VsTop rhoTop
(float) P velocity, and S velocity in km/s
and density in kg/m**3 at the top of the layer.VpGrad VsGrad rhoGrad
(float) Linear P velocity and S
velocity gradients in km/s/km and density gradient in kg/m**3/km
increasing directly downwards from the top of the layer.2DTO3DTRANS
xOrig yOrig rotation
xOrig yOrig
(float) x and y coordinates in kilometers of the
center of rotation in the 3D model.rotation
(float, min:-360.0
, max:360.0
) rotation
angle in degreees COUNTERCLOCKWISE.VERTEX
id_num zloc xloc yloc
id_num
(integer) vertex identification number (must be
unique)zloc xloc yloc
(float) z (positive DOWN), x and y location in
kilometers of vertex ( yloc ignored for 2D models)EDGE
id_num vertex1 vertex2
id_num
(integer) edge identification number (must be unique)POLYGON2
id_num n_edges depth Vp_top Vp_grad Vs_top Vs_grad p_top p_grad [NEW_LINE] edge1, edge2, ...
id_num
(integer) polygon identification number (must be
unique)n_edges
(integer, min:0
) the number of edges defining
this polygondepth
(float) reference depth for velocity and density (use
negative values for depths above z=0)VpTop VsTop rhoTop
(float) P velocity, and S velocity in km/s
and density in kg/m**3 at the reference depth (
`depth ` ).VpGrad VsGrad rhoGrad
(float) Linear P velocity and S
velocity gradients in km/s/km and density gradient in kg/m**3/km
increasing directly downwards from the reference depth (
`depth ` ).edge1, edge2, ...
(integer) new line containing list of edge
indexes defining this polygon1.3.1.5. Vel2Grid3D Program
VGINP
inputFile fileType params
inputFile
(string) full or relative path and filenamefileType
(choice: SIMUL2K FDTOMO
) File type of input 3D
velocity models defined by interpolation between control point nodes.params
(float) For FDTOMO type requires: orig_x orig_y
orig_z num_x num_y num_z d_x d_y d_zVGCLIP
Vmin Vmax
Vmin Vmax
(float) minimum and maximum clip limits for the
output velocity values.1.3.1.6. Grid2Time Program
GTFILES
ttimeFileRoot outputFileRoot waveType iSwapBytesOnInput`ttimeFileRoot
(string) full or relative path and file root
name (no extension) for input velocity grid (generated by program
Vel2Grid)outputFileRoot
(string) full or relative path and file root
name (no extension) for output travel-time and take-off angle gridswaveType
(choice: P S
) wave typeiSwapBytesOnInput
(integer, min:0
, max:1
,
default:0
) flag to indicate if hi and low bytes of input
velocity grid file should be swapped
- `outputFileRoot.waveType . label `
. gridType . FileExtension
where label is a source label ( i.e. a station or N_S_L_C codes code), gridType is
time
or angle
, FileExtension is .buf
or .hdr
.
GTMODE
gridMode angleMode
gridMode
(choice: GRID3D GRID2D
) grid type (
`GRID3D ` for a
3D, Nx*Ny*Nz grid or
`GRID2D ` for a
2D, 2*Ny*Nz grid)angleMode
(choice: ANGLES_YES ANGLES_NO ANGLES_INCLINATION
) sets if take-off
angles are calculated and an angles grid is output ( ANGLES_YES
for angles calulcation or ANGLES_NO
for no angles calculation,
or ANGLES_INCLINATION
for inclination angle calculation only with full precision)GTSRCE
label XYZ xSrce ySrce zSrce elev
GTSRCE
label LATLON latSrce longSrce zSrce elev
GTSRCE
label LATLONDM latDegSrce latMinSrce latDir longDegSrce longMinSrce longDir zSrce elev`GTSRCE
label LATLONDS latDegSrce latMinSrce latSecSrce latDir longDegSrce longMinSrce longSecSrce longDir zSrce elev`XYZ
(rectangular grid coordinates), LATLON
(decimal
degrees for latitude/longitude), LATLONDM
(degrees + decimal
minutes for latitude/longitude) and LATLONDS
(degrees + minutes +
decimal seconds for latitude/longitude).label
(string) source label ( i.e. a station or N_S_L_C codes code: ABC
)xSrce ySrce
(float) x and y grid positions relative to
geographic origin in kilometers for sourcezSrce
(float) z grid position (depth, positive DOWN) in
kilometers for sourceelev
(float) elevation above z grid position (positive UP) in
kilometers for sourcelatSrce
(float, min:-90.0
, max:90.0
) latitude in
decimal degrees for source (pos = North)longSrce
(float, min:-180.0
, max:180.0
) longitude
in decimal degrees for source (pos = East)latDegSrce latMinSrce latSecSrce
(float) latitude degrees,
minutes and seconds for sourcelongDegSrce longMinSrce longSecSrce
(float) longitude
degrees, minutes and seconds for sourcelatDir
(choice: N S
) geographic directionlongDir
(choice: W E
) geographic directionGT_PLFD
hs_eps_init message_flag
hs_eps_init
(float, min:0.0
) fraction (typically
1.0E-3) defining the tolerated model inhomogeneity for exact
initialization. A tolerance larger than 0.01 will potentially create
errors larger than those involved by the F.D. scheme without any exact
initialization.message_flag
(integer, min:0
, max:2
) Message flag
(0:silent, 1:few messages, 2:verbose) A negative value inhibits
“clever” initialization.1.3.1.7. Time2EQ Program
EQFILES
ttimeFileRoot outputFileName
ttimeFileRoot
(string) full or relative path and file root
name (no extension) for input time grids (generated by program
Grid2Time)outputFileName
(string) full or relative path and name for
output phase/observation fileP
or S
).EQEVENT
label xEvent yEvent zEvent originSeconds
label
(string) event identification labelxEvent yEvent zEvent
(float) x, y and z grid coordinates of
hypocenteroriginSeconds
(float) origin time in secondsEQSTA
label phase errorType error errorReportType errorReport probActive`label
(string) station or N_S_L_C code label ( i.e. NN_STA
)phase
(string) phase type ( i.e. P
or S
)errorType
(choice: GAU BOX FIX NONE
) calculated random
timing error type ( GAU
for normal deviate with zero mean and
variance = error ` ,
or ``BOX
for boxcar deviate with zero mean and width = 2 *
error ` , or ``FIX`
for time error/static =
error ` , or ``NONE`
for time error/static =
`0.0 ` )error
(float) error magnitude in secondserrorReportType
(choice: GAU
) timing error type to write
to output phase/observation file Err field (The current version of
NLLoc recognizes only GAU
)errorReport
(float) error magnitude in seconds to write to
output phase/observation file ErrMag field.probActive
(float, default:1.0
) Probability (0-1) that
a time for this station/phase should be created.EQSRCE
label XYZ xSrce ySrce zSrce elev
EQSRCE
label LATLON latSrce longSrce zSrce elev
EQSRCE
label LATLONDM latDegSrce latMinSrce latDir longDegSrce longMinSrce longDir zSrce elev`EQSRCE
label LATLONDS latDegSrce latMinSrce latSecSrce latDir longDegSrce longMinSrce longSecSrce longDir zSrce elev`XYZ
(rectangular grid coordinates), LATLON
(decimal degrees for
latitude/longitude), LATLONDM
(degrees + decimal minutes for
latitude/longitude) and LATLONDS
(degrees + minutes + decimal
seconds for latitude/longitude).label
(string) source label ( i.e. a station or N_S_L_C code NN_STA
)xSrce ySrce
(float) x and y grid positions relative to
geographic origin in kilometers for sourcezSrce
(float) z grid position (depth, positive DOWN) in
kilometers for sourceelev
(float) elevation above z grid position (positive UP) in
kilometers for sourcelatSrce
(float) latitude in decimal degrees for source (pos =
North)longSrce
(float) longitude in decimal degrees for source (pos
= East)latDegSrce latMinSrce latSecSrce
(float) latitude degrees,
minutes and seconds for sourcelongDegSrce longMinSrce longSecSrce
(float) longitude
degrees, minutes and seconds for sourcelatDir
(choice: N S
) geographic directionlongDir
(choice: W E
) geographic directionEQMECH
mechType strike dip rake
mechType
(choice: DOUBLE ISO NONE
, default:NONE
)
source mechanism type ( DOUBLE
for double couple, or ISO
for
isotropic/explosion, or NONE
for no first motion calculation)strike
(float, min:0.0
, max:360.0
) strike of
fault plane in degrees (0,360) clockwise from North in the Geographic
reference frame (any
rotAngle ` specified
in the generic control statement ``GTSRCE` will be added to
`strike ` ).dip
(float, min:0.0
, max:90.0
) dip of the fault
plane in degrees (0,90) down from the horizontal.rake
(float, min:-180.0
, max:180.0
) angle in
degrees (-180,180) on the fault plane between the strike direction and
the slip direction.EQMODE
mode
mode
(choice: SRCE_TO_STA STA_TO_SRCE
,
default:SRCE_TO_STA
) SRCE_TO_STA
for single sources to
multiple stations or STA_TO_SRCE
for single station to multiple
sources.EQQUAL2ERR
Err0 ... ... ... ...
0.5
) to quality 0,1,2,3
or 4
).Err0 ... ErrN
(float, min:0.0
) one time uncertainty
value for each quality level that may be output to the
phase/observation file. Synthetic errors less than or equal to the
first value Err0 are output with quality 0
, less than or equal
to the second are output with 1
, etc.EQVPVS
VpVsRatio
1.3.1.8. NLLoc Program
LOCSIG
signature
signature
(line) signature textLOCCOM
comment
comment
(line) comment textLOCSRCE
...
LOCFILES
obsFiles obsFileType ttimeFileRoot outputFileRoot iSwapBytes`obsFiles
(string) full or relative path and name for
phase/observations files, mulitple files may be specified with
standard UNIX “wild-card” characters ( *
and ?
)obsFileType
(choice:
NLLOC_OBS HYPO71 HYPOELLIPSE NEIC CSEM_ALERT SIMULPS HYPOCENTER HYPODD SEISAN NORDIC NCSN_Y2K_5 NCEDC_UCB ETH_LOC RENASS_WWW RENASS_DEP INGV_BOLL INGV_BOLL_LOCAL INGV_ARCH`)
format type for phase/observations files (see Phase File Formats)ttimeFileRoot
(string) full or relative path and file root
name (no extension) for input time grids (generated by program
Grid2Time, edu.sc.seis.TauP.TauP_Table_NLL, or other software.outputFileRoot
(string) full or relative path and file root
name (no extension) for output filesiSwapBytes
(integer, min:0
, max:1
,
default:0
) flag to indicate if hi and low bytes of input time
grid files should be swapped. Allows reading of travel-time grids from
different computer architecture platforms during TRANS GLOBAL mode
location.LOCHYPOUT
fileType1 ... ... ... ... ...
fileType1 ... fileTypeN
(choice:
SAVE_NLLOC_ALL SAVE_NLLOC_SUM NLL_FORMAT_VER_2 FILENAME_DEC_SEC SAVE_NLLOC_EXPECTATION SAVE_NLLOC_OCTREE SAVE_FMAMP SAVE_HYPOELL_ALL SAVE_HYPOELL_SUM SAVE_HYPO71_ALL SAVE_HYPO71_SUM SAVE_HYPOINV_SUM SAVE_HYPOINVERSE_Y2000_ARC SAVE_NLLOC_OCTREE`,
default:SAVE_NLLOC_ALL SAVE_HYPOINVERSE_Y2000_ARC
) File format
types to be output: SAVE_NLLOC_ALL
= save summary and event files
of type NLLoc Hypocenter-Phase file , Phase Statistics file , Scatter
file and Confidence Level file ; SAVE_NLLOC_SUM
= save summary
file only of type NLLoc Hypocenter-Phase file ; NLL_FORMAT_VER_2
=
save NLLoc Hypocenter-Phase files in new format (WARNING: this new
output format is currently under development and subject to
modification.) NLLoc Hypocenter-Phase file , Phase Statistics file ,
Scatter file and Confidence Level file ; FILENAME_DEC_SEC
= output
file named with 2 decimal second precision instead of default integer
second precision - avoids overwriting of output files for multiple
events or multiple locations with earliest observation time in same
second ; SAVE_NLLOC_EXPECTATION
= hypocenter, location statistics
and phase statistics results are based on expectation hypocenter
instead of maximum likelihood hypocenter (default) NLLoc
Hypocenter-Phase file ; SAVE_NLLOC_OCTREE
= saving of oct-tree
structure to disk file when LOCSEARCH OCT used ); SAVE_FMAMP
=
saving of fmamp hypocenter-phase file for input to fmamp,
probabilistic first-motion mechanism program ); SAVE_HYPOELL_ALL
=
save summary and event files of type Quasi-HYPOELLIPSE file ;
SAVE_HYPOELL_SUM` = save summary file only of type
Quasi-HYPOELLIPSE file ; SAVE_HYPO71_ALL
= save summary and event
files of type HYPO71 Hypocenter/Station file ; SAVE_HYPO71_SUM
=
save summary file only of type HYPO71 Hypocenter/Station file ;
SAVE_HYPOINV_SUM` = save summary file only of type HypoInverse
Archive file ; SAVE_HYPOINVERSE_Y2000_ARC
= save summary file only
of type HypoInverse Y2000 Archive file ;LOCSEARCH
GRID numSamplesDraw
LOCSEARCH
MET numSamples numLearn numEquil numBeginSave numSkip stepInit stepMin stepFact probMin`LOCSEARCH
OCT initNumCells_x initNumCells_y initNumCells_z minNodeSize maxNumNodes numScatter useStationsDensity stopOnMinNodeSize`GRID
(grid search), MET
(Metropolis), and OCT
(Octtree).numSamplesDraw
(integer) specifies the number of scatter
samples to draw from each saved PDF grid ( i.e. grid with
gridType ` =
`PROB_DENSITY` and
saveFlag ` = ``SAVE`
) No samples are drawn if
`saveFlag ` < 0.numSamples
(integer, min:0
) total number of accepted
samples to obtainnumLearn
(integer, min:0
) number of accepted samples
for learning stage of searchnumEquil
(integer, min:0
) number of accepted samples
for equilibration stage of searchnumBeginSave
(integer, min:0
) number of accepted
samples after which to begin saving stage of search, denotes end of
equilibration stagenumSkip
(integer, min:1
) number of accepted samples to
skip between saves (
numSkip ` = ``1`
saves every accepted sample)stepInit
(float) initial step size in km for the learning
stage ( stepInit ` <
`0.0
gives automatic step size selection. If the search takes too
long, the initial step size may be too large; this may be the case if
the search region is very large relative to the volume of the high
confidence region for the locations.)stepMin
(float, min:0.0
) minimum step size allowed
during any search stage (This parameter should not be critical, set it
to a low value.)stepFact
(float, min:0.0
) step factor for scaling step
size during equilibration stage (Try a value of 8.0 to start.)probMin
(float) minimum value of the maximum probability
(likelihood) that must be found by the end of learning stage, if this
value is not reached the search is aborted (This parameters allows the
filtering of locations outside of the search grid and locations with
large residuals.)initNumCells_x initNumCells_y initNumCells_z
(integer)
initial number of octtree cells in the x, y, and z directionsminNodeSize
(float) smallest octtree node side length to
process, the octree search is terminated after a node with a side
smaller than this length is generatedmaxNumNodes
(integer) total number of nodes to processnumScatter
(integer) the number of scatter samples to draw
from the octtree resultsuseStationsDensity
(integer, min:0
, max:1
,
default:0
) flag, if 1 weights oct-tree cell probability values
used for subdivide decision in proportion to number of stations in
oct-tree cell; gives higher search priority to cells containing
stations, stablises convergence to local events when global search
used with dense cluster of local stationsstopOnMinNodeSize
(integer, min:0
, max:1
,
default:1
) flag, if 1, stop search when first min_node_size
reached, if 0 stop subdividing a given cell when min_node_size
reachedLOCMETH
method maxDistStaGrid minNumberPhases maxNumberPhases minNumberSphases VpVsRatio maxNum3DGridMemory minDistStaGrid iRejectDuplicateArrivals`method
(choice: GAU_ANALYTIC EDT EDT_OT_WT EDT_OT_WT_ML
)
location method/algorithm ( GAU_ANALYTIC
= the inversion approach
of Tarantola and Valette (1982) with L2-RMS likelihood function.
EDT` = Equal Differential Time likelihood function cast into the
inversion approach of Tarantola and Valette (1982) EDT_OT_WT
=
Weights EDT-sum probabilities by the variance of origin-time estimates
over all pairs of readings. This reduces the probability (PDF values)
at points with inconsistent OT estimates, and leads to more compact
location PDF’s. EDT_OT_WT_ML
= version of EDT_OT_WT with EDT
origin-time weighting applied using a grid-search, maximum-likelihood
estimate of the origin time. Less efficient than EDT_OT_WT which
uses simple statistical estimate of the origin time.)maxDistStaGrid
(float) maximum distance in km between a
station and the center of the initial search grid; phases from
stations beyond this distance will not be used for event locationminNumberPhases
(integer) minimum number of phases that must
be accepted before event will be locatedmaxNumberPhases
(integer) maximum number of accepted phases
that will be used for event location; only the first
`maxNumberPhases ` read
from the phase/observations file are used for locationminNumberSphases
(integer) minimum number of S phases that
must be accepted before event will be locatedVpVsRatio
(float) P velocity to S velocity ratio. If
`VpVsRatio ` > 0.0 then
only P phase travel-times grids are read and
`VpVsRatio ` is used to
calculate S phase travel-times. If
`VpVsRatio ` < 0.0 then
S phase travel-times grids are used.maxNum3DGridMemory
(integer) maximum number of 3D travel-time
grids to attempt to read into memory for Metropolis-Gibbs search. This
helps to avoid time-consuming memory swapping that occurs if the total
size of grids read exceeds the real memory of the computer. 3D grids
not in memory are read directly from disk. If
`maxNum3DGridMemory ` <
0 then NLLoc attempts to read all grids into memory.minDistStaGrid
(float) minimum distance in km between a
station and the center of the initial search grid; phases from
stations closer than this distance will not be used for event locationiRejectDuplicateArrivals
(int) flag indicating if duplicate
arrivals used for location (1=reject, 0=use if time diff < sigma / 2);
duplicate arrivals have same station label and phase nameEDT
method.LOCGAU
SigmaTime CorrLen
i
and j
using the relation ( Tarantola and
Valette, 1982 ):`Covariance ij = SigmaTime 2 exp(-0.5(Dist 2 ij )/ CorrLen 2 ) `
Dist
is the distance in km between stations i
and j
.SigmaTime
(float, min:0.0
) typical error in seconds for
travel-time to one station due to model errorsCorrLen
(float, min:0.0
) correllaton length that
controls covariance between stations ( i.e. may be related to a
characteristic scale length of the medium if variations on this scale
are not included in the velocity model)LOCGAU2
SigmaTfraction SigmaTmin SigmaTmax
SigmaTfraction
(float, min:0.0
, max:1.0
) fraction
of of travel-time to use as errorSigmaTmin
(float, min:0.0
) minimum trave-time error in
secondsSigmaTmax
(float, min:0.0
) maximum trave-time error in
secondsLOCPHASEID
stdPhase phaseCode1 ... ... ... ... ...
pg
or Sn
) to standardized phase codes ( i.e. P
or S
).stdPhase
(string) standardized phase code (used to generate
time-grid file names)phaseCode1 ... phaseCodeN
(string) one or more phase codes
that may be present in a phase/observation file that should be mapped
to the stdPhase
.P
and S
.
Thus it is important to use these codes, if possible.LOCPHASEID
statement.LOCQUAL2ERR
Err0 ... ... ... ...
0,1,2,3
or 4
) to time uncertainties in seconds (
i.e. 0.01
or 0.5
).Err0 ... ErrN
(float, min:0.0
) one time uncertainty
value for each quality level that may be used in a phase/observation
file. The first value Err0 is assigned to picks with quality 0
,
the second to picks with quality 1
, etc.LOCQUAL2ERR
statement allows a
conversion of commonly used integer quality codes to float time
values.99999.9
) to indicate a
phase pick that should have zero weight (infinite uncertainty).LOCGRID
xNum yNum zNum xOrig yOrig zOrig dx dy dz gridType saveFlag`LOCGRID
statements is critical (see
Notes).xNum yNum zNum
(integer, min:2
) number of grid nodes in
the x, y and z directionsxOrig yOrig zOrig
(float) x, y and z location of the grid
origin in km relative to the geographic origin. Use a large, negative
value ( i.e. -1.0e30
) to indicate automatic positioning of grid
along corressponding direction (valid for nested grids only, may not
be used for initial grid).dx dy dz
(float) grid node spacing in kilometers along the x,
y and z axesgridType
(choice: MISFIT PROB_DENSITY
) statistical
quantity to calculate on gridsaveFlag
(choice: SAVE NO_SAVE
) specifies if the results
of the search over this grid should be saved to diskLOCGRID
statements is critical: the first
LOCGRID` is the initial search grid which may not have automatic
positionig along any axes. The succeeding LOCGRID
statements may
specify automatic positioning along one or more axes (
` xOrig, yOrig, zOrig ` =
-1.0e30` ), but must all be sized ( i.e.
` dx*(xNum-1) ` , etc.) so that
they can be fully contained within the preceeding grid. The NLLoc
program will attempt to translate a nested grid that intersects a
boundary of the initial grid so that it is contained inside of the
initial grid; if this is not possible the location will be terminated
prematurely.PROB_DENSITY
is time consuming and should generally only be used for a nested grid
on which the full PDF is required and will be saved to disk. Use
` gridType ` = MISFIT
for
the initial grid, for larger nested grids, and for smaller nested
grids in maximum-likelihood hypocenter searches ( i.e. where the PDF
is not if interest).LOCPHSTAT
RMS_Max NRdgs_Min Gap_Max P_ResidualMax S_ResidualMax Ell_Len3_Max Hypo_Depth_Min Hypo_Depth_Max Hypo_Dist_Max`RMS_Max
(float, default:VERY_LARGE_DOUBLE
) the maximum
allowed hypocenter RMS in secondsNRdgs_Min
(integer, default:-1
) the minimum allowed
hypocenter number of readingsGap_Max
(float, default:VERY_LARGE_DOUBLE
) the maximum
allowed hypocenter gap in degreesP_ResidualMax S_ResidualMax
(float,
default:VERY_LARGE_DOUBLE
) the maximum allowed residual in
seconds for a P or S phaseEll_Len3_Max
(float, default:VERY_LARGE_DOUBLE
) the
maximum allowed ellipsoid major semi-axis length (km)Hypo_Depth_Min Hypo_Depth_Max
(float,
default:VERY_LARGE_DOUBLE
) the minimum and maximum allowed
maximum likelihood hypocenter depth (km)Hypo_Dist_Max
(float, default:VERY_LARGE_DOUBLE
) the
maximum allowed maximum likelihood hypocenter distance (km)P
and S
. Thus it is important to use these
codes, if possible.LOCANGLES
angleMode qualtiyMin
angleMode
(choice: ANGLES_YES ANGLES_NO
,
default:ANGLES_YES
) sets if take-off angles are read from angles
grid files and output to locations files. ( ANGLES_YES
for angles
determination or ANGLES_NO
for no angles determination)qualtiyMin
(integer, default:5
) sets the minimum
quality (see Take-Off Angles Algorithm ) for writing take-off angles
and corresponding phase to the HypoInverse Archive file . ( 0
to
10` )LOCMAG
ML_HB f n K Ro Mo
LOCMAG
MD_FMAG c1 c2 c3 c4 c5
ML_HB
(Local (Richter) magnitudeM:sub:`L`fromHutton and
Boore (1987)),M:sub:`L` = log(A f) +nlog(r/100) +K(r-100) + 3.0 +S,
MD_FMAG
(Duration magnitudeM:sub:`L`fromLahr, J.C., (1989)
HYPOELLIPSE),MD = C:sub:`1` + C:sub:`2`log(Fc) + C:sub:`3`r + C:sub:`4`z + C:sub:`5`[log(Fc))2,
f
(float, min:0.0
) scaling factor to convertAto
an equivalent Wood-Anderson amplitude.n
(float) n from Hutton and Boore (1987), related to
geometrical spreading.K
(float) K from Hutton and Boore (1987).Ro
(float, default:100
) Optional Reference distance
(km) from Hutton and Boore (1987).Mo
(float, default:3.0
) Optional Reference magnitude
from Hutton and Boore (1987).c1 c2 c3 c4 c5
(float) c1 c2 c3 c4 c5 from Lahr, J.C.,
(1989) HYPOELLIPSELOCCMP
label inst comp ampFactor sta_corr_ml_hb sta_corr_fd_fmag`label
(string) station or N_S_L_C code label ( i.e. NN_STA
)inst
(string) instrument identification ( i.e.
SP, BRB, VBB` ) If inst begins with *
, then arrival is taken
as having no absolute timing (can currently only be used with the EDT
location methods)comp
(string) component identification ( i.e.
Z, N, E, H` )ampFactor
(float, min:0.0
) amplitude factor, amplitude
read from phase file is multiplied by
`ampFactor ` to obtain
the amplitude used for magnitude calculation.sta_corr_ml_hb
(float) ML_HB
station correction, from
Hutton and Boore (1987)sta_corr_fd_fmag
(float) FD_FMAG
station correction, from
Lahr, J.C., (1989) HYPOELLIPSE?
or *
to disable matching of label, instrument or component.LOCALIAS
code alias yearStart monthStart dayStart yearEnd monthEnd dayEnd`code
(string) station code (or station name or source label)
as read from the phase/observation files, or from the result of
another alias evaluationalias
(string) new station code which will replace
`code ` if the relevant
phase pick time falls within the start and end dates of validity of
the aliasyearStart monthStart dayStart
(integer) year (including
century), month and day of start date of validity of the alias (
0 0 0` = no start date)yearEnd monthEnd dayEnd
(integer) year (including century),
month and day of end date of validity of the alias ( 9999 99 99
=
no end date)LOCALIAS
statements. Thus, when
selecting and specifying alias names, beware of infinite recursion.ABC
to be aliases to the name ABC_
to enforce
certain dates of validity for the station, this requires that the time
grids generated by Grid2Time use the station code ABC_
; in all
NLLoc output, the code ABC
will be used.LOCEXCLUDE
name phase
name
(string) station or N_S_L_C code label ( i.e. NN_STA
) identifier after application of any aliasphase
(string) phase code beofore mapping by LOCPHASEID
(
P` , S
, PN
, etc).LOCDELAY
code phase numReadings delay
code
(string) station or N_S_L_C code code (after all alias evaluations)phase
(string) phase type ( P
or S
)numReadings
(integer) number of residuals used to calculate
mean residual/delay (not used by NLLoc, included for compatibility
with the format of a summary, phase statistics file)delay
(float) delay in seconds, subtracted from observed timeLOCELEVCORR
flag velP velS
flag
(integer, min:0
, max:1
, default:0
)
flag to set activation of simple elevation correction (0=NO, 1=Yes)velP
(float) sets the P velocity to use for calculation of
the elevation correction for P type phases (last leg of phase is P or
p)velS
(float) sets the S velocity to use for calculation of
the elevation correction for S type phases (last leg of phase is S or
s)LOCTOPO_SURFACE
gmtGrdFile flagDumpDecimation
gmtGrdFile
(string) path and file name of a GMT grid2xyz
ascii (*.asc) or binary (*.bin and *.bin.hdr) file(s) defining the
topographic surface in coordinates lat(deg)/long(deg)/elev(m)flagDumpDecimation
(integer) if
`flagDumpDecimation ` >
0 write surface data to x-y-z-elev file using decimation factor
`flagDumpDecimation `.
Output file is in NLL Scatter file format; this format can be plotted
in SeismicityViewer.LOCSTAWT
flag cutoffDist
wieght:sub:`i` = 1.0 / [ SUMj exp(-dist2/cutoffDist:sup:2 ]
flag
(integer, min:0
, max:1
, default:0
)
flag to set activation of station distribution weighting (0=NO, 1=Yes)cutoffDist
(float) sets the cutoff distance for weighting
calculation.
cutoffDist ` < ``0.0`
sets automatic cutoff distance: equal to the mean distance between all
pairs of stations used for location.LOCPOSTERIOR
Type GridFile DefaultValue CoherenceMin MaxOtherWeight MaxSE3 MaxNother MaxMagDiff MinMag
Type
(choice: OCT_TREE GRID
) type of grid file(s)GridFile
(string) grid file path to use with weight 1.0, or *.stream_coherences files specifying one or more grid file paths and corresponding coherence values to map to stacking weights.DefaultValue
(float) default pdf value to use if no value available in grid file (e.g. 1e-30)CoherenceMin
(float) minimum coherence to use for mapping coherence to NLL-cohernce pdf stack weightMaxOtherWeight
(float) maximum total of coherence weight for other events; if exceeded, other event coherences normalized to sum to this value; recommended value is -1.0, disabled.MaxSE3
(float) maximum event se3 (ellipsoid.len3) to include event in pdf stack. Use negative value to disable this check.
Excludes events with poor location constraint and large pdf extent. Such event pdf’s would only contribute noise to stack,
but due to potentially high complexity of stack pdf, including such pdf’s may cause oct-tree search to get trapped
in a local minimum within this event pdf (especially if LOC_SEARCH init_num_cells_x/y/z are too few). When this trapping occurs, some
NLL-coherence events may cluster far from any events in SSST reference events (LOC_PATH), with unusual epicenter or depth.
May typically have same or similar value as maximum distance in km between epicenters used to obtain cross-correlation coherences.MaxNother
(float) maximum number of other events to include in pdf stack, Use negative value for no limit.
limit processing time and number of files open when a large number of events have high coherency.
Recommended value is -1.0, no limit.MaxMagDiff
(float) maximum magnitude difference to include other event in pdf stack (-1.0 to disable).
Excludes events that are not likely to have waveform similarity with target due to differences in spectral peak.
May help avoid false high correlation due to filtering or clipping.
Recommended value is -1.0, disabled.MinMag
(float) minimum magnitude to process event (-999 to disable).
Enables not processing smaller magnitude events, e.g. for avoiding possible noisy waveforms or for speeding up testing.
Recommended value is -999, disabled.1.3.1.9. Loc2ssst Program
LSOUT outputFileRoot
outputFileRoot
(string) full or relative path and file root name (no extension) for output ssst and updated travel-time gridswhere label is a source label ( i.e. a station or N_S_L_C code code), gridType is
ssst
or time
, FileExtension is .buf
or .hdr
.
LSLOCFILES
inputFileRoot
(string) full or relative path and file name (with .hyp extension and optional wild-cards) specifying input NLLoc *.hyp filespg
or Sn
) to standardized phase codes ( i.e. P
or S
). These parameters should be identical to NLLoc Program->LOCPHASEID used to generate NLLoc *.hyp files specified in LSLOCFILES.LSPARAMS
CharDist WeightFloor UseRejected
CharDist
(*float*`) Characteristic event-station distance for weighting contribution of an event to SSST correction for a station calculation.WeightFloor
(float, min:0.0
) Small value added to events-node weights so ssst values at large event-node distance remain non-zero (station static).UseRejected
(integer, min:0
, max:1
, default:0
) flag to indicate that NLL REJECTED locations should be accepted for SSST processing.LSMODE
angleMode
angleMode
(choice: ANGLES_YES ANGLES_NO ANGLES_INCLINATION
) sets if take-off
angles are calculated and an angles grid is output ( ANGLES_YES
for angles calulcation or ANGLES_NO
for no angles calculation,
or ANGLES_INCLINATION
for inclination angle calculation only with full precision)LSGRID
xNum yNum zNum xOrig yOrig zOrig dx dy dz gridType`xNum yNum zNum
(integer, min:2
) number of grid nodes in
the x, y and z directionsxOrig yOrig zOrig
(float) x, y and z location of the grid
origin in km relative to the geographic origin. Use a large, negative
value ( i.e. -1.0e30
) to indicate automatic positioning of grid
along corressponding direction (valid for nested grids only, may not
be used for initial grid).dx dy dz
(float) grid node spacing in kilometers along the x,
y and z axesgridType
(choice: SSST_TIMECORR
) statistical quantity to calculate on gridLSOUTGRID
xNum yNum zNum xOrig yOrig zOrig dx dy dz gridType`xNum yNum zNum
(integer, min:2
) number of grid nodes in
the x, y and z directionsxOrig yOrig zOrig
(float) x, y and z location of the grid
origin in km relative to the geographic origin. Use a large, negative
value ( i.e. -1.0e30
) to indicate automatic positioning of grid
along corressponding direction (valid for nested grids only, may not
be used for initial grid).dx dy dz
(float) grid node spacing in kilometers along the x,
y and z axesgridType
(choice: TIME
) statistical quantity to calculate on gridLSPHSTAT
RMS_Max NRdgs_Min Gap_Max P_ResidualMax S_ResidualMax Ell_Len3_Max Hypo_Depth_Min Hypo_Depth_Max Hypo_Dist_Max`RMS_Max
(float, default:VERY_LARGE_DOUBLE
) the maximum
allowed hypocenter RMS in secondsNRdgs_Min
(integer, default:-1
) the minimum allowed
hypocenter number of readingsGap_Max
(float, default:VERY_LARGE_DOUBLE
) the maximum
allowed hypocenter gap in degreesP_ResidualMax S_ResidualMax
(float,
default:VERY_LARGE_DOUBLE
) the maximum allowed residual in
seconds for a P or S phaseEll_Len3_Max
(float, default:VERY_LARGE_DOUBLE
) the
maximum allowed ellipsoid major semi-axis length (km)Hypo_Depth_Min Hypo_Depth_Max
(float,
default:VERY_LARGE_DOUBLE
) the minimum and maximum allowed
maximum likelihood hypocenter depth (km)Hypo_Dist_Max
(float, default:VERY_LARGE_DOUBLE
) the
maximum allowed maximum likelihood hypocenter distance (km)P
and S
. Thus it is important to use these
codes, if possible.LSSTATIONS sta1,sta2,...
sta1,sta2,...
(string) comma separated list without whitespce of stations to use for ssst processing