The NonLinLocPlugin module needs configuration files for localization: NonLinLoc.xml containing the method of cooperation between the SWIP5 program and the module, the original NonLinLoc configuration file, and files appropriate for each station containing the arrival times of the waves between the station and all nodes of the spatial grid.

The NonLinLoc.xml file is in the following form:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="12">
<Parameters class_id="0" tracking_level="0" version="0">
     <fixedZ>0</fixedZ>
     <initX>0.00000000000000000e+000</initX>
     <initY>0.00000000000000000e+000</initY>
     <initZ>0.00000000000000000e+000</initZ>
     <initTime>0.00000000000000000e+000</initTime>
     <ttimeFileRoot>c:\Users\user\Documents\NLLoc\time</ttimeFileRoot>
     <outputFileRoot>c:\Users\user\Documents\SVN\NonLinLoc\NLLoc\out</outputFileRoot>
     <swapttime>0</swapttime>
     <earthModelID>LaiChau_Lizurek_etal_2017</earthModelID>
     <controlFile>c:\Users\user\Documents\NLLoc\LaiChau.in</controlFile>
     <defaultPickError>1.00000000000000000e-001</defaultPickError>
     <preferredOrigin>0</preferredOrigin>
     <oneOrigin>0</oneOrigin>
     <autoLocate>0</autoLocate>
<map class_id="1" tracking_level="0" version="0">
          <minY>-2.00000000000000000e+005</minY>
          <maxY>2.00000000000000000e+00 5</maxY>
          <minX>-2.00000000000000000e+005</minX>
          <maxX>2.00000000000000000e+005</maxX>
          <shapeFile>LaiChauLakeXY.xml</shapeFile>
     </map>
</Parameters>
</boost_serialization>

In the NonLinLoc.xml file, set the following parameters:

  1. <earthModelID> contains the name of the velocity model used. It will be saved to the focus parameters.
  2. <controlFile> contains the full name and location of the NonLinLoc configuration file.
  3. <ttimeFileRoot> contains the root of the filenames with the arrival times of the waves - Travel Times (path and initial filename see LOCFILES http://alomax.free.fr/nlloc/soft7.00/index.html )
  4. <outputFileRoot> contains the root of the output file names. The <ttimeFileRoot> and <outputFileRoot> values replace the LOCFILES entry in the NonLinLoc configuration file.
  5. <defaultPickError> default pick time error set for NonLinLoc if not defined in pick.time.uncertainty.
  6. <map> map display parameters with location.
  7. <oneOrigin> 0 or 1 determines whether to save the first origin when NonLinLoc has generated multiple locations. When 1 it only saves one location value, when 0 all.
  8. <preferredOrigin> 0 or 1 determines whether the NonLinLoc location should be set as preferred.
  9. <autoLocate> 1 causes the location to be counted automatically. Corresponds to pressing the Compute and Ok keys.

The remaining items are for the development of the module.

The NonLinLoc configuration file is compatible with the original program. It is described in detail in the NonLinLoc documentation ( http://alomax.free.fr/nlloc/soft6.00/control.html ). SWIP5 has the ability to modify the contents of this file. The plugin NonLinLocSuport serves this purpose. It has the ability to set the position: LAYER based on the speed model file for HybritMT, GTSRC based on the loaded station parameters and region definition (saves the XYZ coordinates of the station), and TRANS SIMPLE based on the region definition. Other information in the configuration file should be described manually in a text editor. The files with the velocity grid and the arrival times of the waves should be generated with the VEL2GRID and GRID2TIME programs, respectively, included in the NonLinLoc package.

There are two programs in Matlab to help. The first ISEPOSVelcityModel_to_Vel2Grid.m is used to generate the LAYER line definition of the configuration file based on the one-dimensional velocity model from the EPISODES Platform. The result of the operation should be replaced in the configuration file for VEL2GRID. The second program reads the grid NLL files and allows you to display their contents.


  • No labels