• Antelope Release 5.2-64 SunOS 5.10 2012-04-24

 

NAME

orbwfproc_export - data export task for orbwfproc program

SYNOPSIS

As specified in orbwfproc(1) parameter file:
wf_tasks &Tbl{
 ...
<task_name>  export  <parameters>   <input>   -
 ...
}

DESCRIPTION

export is a task class used by orbwfproc(1) to export data. It can export waveform and grid data to running ORBs, and can also export waveform data to Datascope databases.

INPUT

Each export task instance reads input data objects from one orbwfproc(1) FIFO queue. The input data objects may be of type wf (see orbwfproc_import(3o)), wfgather (see orbwfproc_wfgather(3o)), or wfstack (see orbwfproc_wfstack(3o)). Currently raw import waveforms, gathered waveforms, waveform stack results and grid stack results are supported (grids are only supported for ORB output).

OUTPUT

The export task class puts all of its output into ORB packets and writes these packets to a running ORB, through a normal connection to orbserver(1), or it will write waveforms into an output Datascope database. All of the ORB-related and Datascope-related configurations and communication are managed directly by the export task instances. Note that the output specification in the wf_tasks table in the orbwfproc(1) parameter file should be set to - since export task instances do not need to write output to the internal orbwfproc(1) FIFO queues. For ORB output, the definition of ORB name is specified through the orbwfproc(1) command line and the export task parameter file entry within the orbwfproc(1) parameter file. For database output, the output database name is specified through the orbwfproc(1) command line datatag dataname arguments or the dbwfproc(1) dbout command line argument, along with the export task parameter file entry within the orbwfproc(1) parameter file.

OPTIONS FROM ORBWFPROC COMMAND LINE

OPTIONS FROM DBWFPROC COMMAND LINE

PARAMETER FILE ENTRY

An example of an export task parameter file entry within the orbwfproc(1) parameter file is:


#    This is the list of processing tasks to be run

wf_tasks &Tbl{
    #task_name class_name parameters     input    output

 ...

    myexport   export     export_params	 wfgather -   # export wfgather data to an ORB

 ...
}

export_params &Arr{  # parameters for exportg task
    output_type     db        # output to orb or db?
    output          dbout     # output to orbout tag in command line
    translations &Tbl{   # SEED code translations table - this just adds a 'g' loc code
       .*   ONETSTA_OCHAN_g
    }
    trim_overlaps   yes       # Trim time overlapping waveform data from a previous run?
    repackage &Tbl{           # used to repackage output ORB packets
      #nscl_expr      twin    suffix    subcode
       BR_Q113_HH.    10.0    MGENC     M10S
    }
    fragment_wfdisc no        # preserve wfdisc fragmentation?
    wfduration      86400.0   # time duration of output wfdisc rows
    maxduration     300.0     # maximum time duration for buffering data before flushing to disk
    realtime_thresh 60.0      # data latency threshold for reducing buffering
    datatype        auto      # output waveform data type
    gain            1.0       # gain value for converting floating data to integer data
    max_open_files  5000      # maximum number of open waveform files
    addcheck        no        # perform wfdisc add check?
    samprate_thresh 10.0      # percent change in sample rate that will trigger generation fo a new wfdisc row
    calib_thresh    1.0       # percent change in calib value that will trigger generation fo a new wfdisc row
    calper_thresh   1.0       # percent change in calper value that will trigger generation fo a new wfdisc row
    nullcalib       no        # Should output calib, calper and segtype all be set to NULL values?
    add_wfdisc_headers yes    # should a copy of the wfdisc row be added as a waveform header?
    wfname_pattern  %Y/%j/%{sta}.%{chan}.%Y.%j.%H.%M.%S # pattern for naming waveform files
    maximum_flagged_gap_duration 30.0 # largest internally flagged gap duration
}

 ...

The export task parameters are as follows.

SEE ALSO

orbwfproc(1)
dbwfproc(1)
orbwfproc_import(3o)

AUTHOR

Danny Harvey
Boulder Real Time Technologies, Inc.
Printer icon