# Waveman2disk Configuration File

(last revised April 22, 2002)

## 1. EXAMPLE CONFIGURATION FILE

    # Configuration file for waveman2disk:
    #
    # If you wish to write PC-SUDS files suitable for viewing with
    # sudsplot you will need to run waveman2disk on a Windows 2000 machine AND
    # with all earthworm modules compiled with the /Zp1 flag (accomplished
    # by adding /Zp1 to %EW_HOME%\%EW_VERSION%\environment\tools.ini file)
    #   (Lucky Vidmar Mon Mar 15 12:04:59 MST 1999)
    #
    #

    LogFile 		1		# 0 means don't create a disc log file. 1=> do.

    #
    # Debug switch: the token "Debug" (without the quotes) can be stated.
    # If it is, lots of weird debug messages will be produced
    #Debug

    #
    # Data input method:
    #  triglist - read the file specified by TrigFile option, and
    #             process the TYPE_TRIGLIST2K messages in there
    #
    #  interactive - specify one of more SaveSCNL entries in this file
    #                 or an external file included with @. Then, the
    #                 user is prompted for start and end time of trace
    #                 snippets to be saved
    #
    #InputMethod triglist
    InputMethod interactive

    #
    # TrigFile - name of the file containing TYPE_TRIGLIST2K msgs
    #  required only if InputMethod is triglist.
    #
    TrigFile /home/lucky/working/src/waveman2disk/trigmsg

    #
    # SaveSCNL - List SCNLs to save in the interactive mode. The user
    #           will specify start and end time
    #  required only if InputMethod is interactive.
    #
    #SaveSCNL * EHZ MB *
    SaveSCNL LYMT EHZ MB --
    SaveSCNL CHMT EHZ MB 10
    SaveSCNL LRM EHZ MB 01

    #
    # OPTIONAL - specify StartTime and Duration for the interactive
    #   trace request. If these are not specified, waveman2disk will
    #   prompt the user for them.
    #   StartTime Format: yyyymmddhhmmss
    #

    StartTime 19990804140000
    Duration  60

    # Setup for WaveServers we'll interrogate:
    # list of ip addresses and ports of the  WaveServers we're to use
    WaveServer aaa.bbb.ccc.ddd 16022

    # If a WaveServer doesn't talk to us in this
    # many seconds, we'll abort that request
    #
    # NOTE: If you are requesting large blocks of time, e.g
    #  in the tank mode, you will want to set this value to
    #  something quite high - longer than the time interval
    #  requested.
    #

    #TimeoutSeconds 30
    TimeoutSeconds 500

    # Sizes of trace memory. Determines how much memory we'll try to grab
    # Max number of traces we'll ever see in one event
    MaxTraces 100

    # largest trace snippet we'll ever have to deal with
    # in bytes/1000.
    # NOTE: if you intend to produce PC-SUDS files for viewing
    # with sudsplot viewer, you will want to keep this number
    # low (around 1000) because of sudsplot's memory limitations
    TraceBufferLen 1000

    #
    # number of sample periods to declare a gap
    #
    GapThresh 20

    #
    # SCNL list of stations to write for each trigger message,  these get
    #      written in addition to scn's in the trigger message, or
    #      those listed in SaveSCN section
    # This is OPTIONAL and only meaningful in triglist mode
    #
    TrigStation GCMT EHZ MB --
    TrigStation BZMT EHZ MB *
    #
    # Minimum length duration (in integer seconds) for stations in StationFile
    #
    MinDuration 60
    #
    # format of data output (sac, ah, suds, seisan, gse, and tank are currently supported)
    #

    # output base directory for trigger files
    #       subdirectory is made in this directory
    #
    # SUDS
    #DataFormat suds
    #OutDir "/tmp/SACfiles"
    # SAC
    #DataFormat sac
    #OutDir "/tmp/SACfiles"
    # AH
    #DataFormat ah
    #OutDir "/home/lucky/params/run_trig/AH"
    #
    # SEISAN
    #
    #DataFormat                  seisan
    #OutDir                     "/home/earthworm/seisan"
    #
    # GSE
    #
    #DataFormat                  gse_int
    #OutDir                     "/home/earthworm/gse"
    #
    # Tankplayer
    DataFormat tank
    OutDir "/tmp/tanks/"
    #
    # Specify on what platform the output files will be used:
    # intel or sparc - with this information, files will be written out
    # in the correct byte order.
    OutputFormat sparc

Module Index | Waveman2disk Overview