TXT

TrcSelectByPort

By Jeff Bradley,2014-05-27 14:59
11 views 0
TrcSelectByPort

     ??ÎÄÓÉfathwh??Ï×

    pdfÎĵµ?ÉÄÜÔÚWAP?Ëä?ÀÀÌåÑé???Ñ????ÒéÄúÓÅÏÈÑ?ÔñTXT???òÏÂÔØÔ?ÎÄ?þµ????ú?é????

     Trace Select By Port (TRC_SELECT_BY_PORT)

     Abstract

     Trace selection/rejection is based on user-defined criteria. Multiple sets of selection/rejection criteria may be specified. The traces corresponding to each criteria set will be output to a separate port, and any non-selected traces may optionally be output to the REMAINDER ( last ) port. Note For trace selection based on 3-D Processing Grids, choose the Grid Define (GRID_DEFINE) SFM. For trace selection of 3-D gridded data based on a user-defined profile, choose the 3-D Survey Trace Select (TRACE_SELECT_3_D) SFM.

     NOTICE Copyright protection as an unpublished work is claimed by WesternGeco. The work was created in 2008. Should publication of the work occur, the following notice shall apply. " 2008 Westerngeco". This work contains valuable tradesecrets; disclosure without written authorization is prohibited.

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     1

     Trace Select By Port

     Contents

     1.0 Technical Discussion 1.1 1.2 1.3 Introduction Trace Select On Input Trace Select Parameter Set 1.3.1 Include/Exclude Flag 1.3.2 AND/OR Usage 1.3.3 Examples of TRC_SELECT Table Entries 1.4 2.0 Simple Trace Select

     Inputs and Outputs 2.1 2.2 Inputs Outputs

     3.0 4.0 5.0

     Literal Summary Parameter Set Summary Setup Parameters 5.1 5.2 5.3 5.4 GENERAL Trace Select On Input Trace Select Simple Select

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     2

     Trace Select By Port

     1.0 Technical Discussion

     1.0 Technical Discussion

     1.1 Introduction

     The Trace Select By Port (TRC_SELECT_BY_PORT) Seismic Function Module (SFM) selectively processes traces based on user-defined criteria. This SFM allows the definition of multiple selection criteria. Each set of selection criteria is associated with a specific output port. Thus it is possible to define multiple output streams, each with

    a different set of traces. Input traces will be output to every port for which the selection criteria are met. Thus a specific trace may be written to zero, one or many output ports. The user can optionally set a course of action for non-selected traces and multiply-selected traces through the setting of parameters UNSELECTED_OPT and MULTI_SELECTED_OPT of the GENERAL parameter set, respectively.

     1.2 Trace Select On Input

     The TRC_SELECT_INPUT parameter set can be used to globally select traces to be passed from the input port. Any traces not meeting the criteria are deleted immediately and not output to any port. They traces not selected from the input port are not considered when testing for the UNSELECTED_OPT of the GENERAL parameter set. An example would be to select only those traces whose STACK_WORD=1. Any traces whose STACK_WORD is not one would then not be passed from the input port for further selection by the SFM

     1.3 Trace Select Parameter Set

     Table entry is used to define a key on which to base the decision to process or not to process a particular trace. The user may define a range of values for which traces are processed. The user also may define a high and low range of values, plus increment and tolerance values to define a modulus operation. A rejection operation can be defined by using the include/exclude flag. If EXCLUDE is selected, it tells the SFM to reject any trace that falls within the range of values defined. The selection criteria can be restricted further by using the AND/OR flag. This flag tells the SFM that the limits defined on the next row also must be satisfied for a trace to be processed. This parameter set can be specified up to 14 times. By right mouse clicking on the subscript of one of the specified TRC_SELECT_CRITERIA_* tables, the user can define multiple criteria to be used for outputting traces to different output ports ( A-N ). Any traces not specifically selected to go to an output port may be output to the REMAINDER port just by connecting the last port.

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     3

     Trace Select By Port Figure 1. Right mouse clicked on Trace Selection Criteria [1]

     1.0 Technical Discussion

     1.3.1 Include/Exclude Flag

     Rule 1

     If a trace meets all the criteria supplied in a trace selection subset, the trace is accepted if EXCLUDE = NO on the last row of the subset. The trace is rejected if EXCLUDE = YES.

     Rule 2

     If a trace does not meet all the criteria of a trace selection subset, the next TRACE_SELECT subset is checked.

     Rule 3

     If a trace is not explicitly accepted or rejected by one of the trace selection subsets (via Rule 1), the trace is rejected if EXCLUDE = NO on the last row, or accepted if EXCLUDE = YES on the last row. As Rule 1 states, the setting of the exclusion flag to YES effectively forces a trace that meets the subset??s criteria to be rejected. For example, given the subset:

     24 24 INC 1 1 1 TOLR 0 0 0 OPER NOT_USED NOT_USED NOT_USED EXCLUDE NO NO YES AND_OR AND AND OR >

     If a trace had: CMP between 406 and 410, AND TRACE_NUM was between 13 and 24, AND STACK_WORD was between 1 and 24 the trace would be rejected (Rule 1). If a different trace did not meet these criteria, the next subset would be checked (Rule 2). If a trace is not explicitly accepted or rejected by one of the trace selection subsets, then according to Rule 3, the trace is accepted or rejected depending on the value of the exclusion flag of the last row. For example:

    

     (Subset 1) CMP NO TRACE_NUM 4O (Subset 2) CMP NO

     404 13

     405 24

     1 1

     0 0

     NOT_USED NO NOT_USED NO

     AND OR

     406

     410

     1

     0

     NOT_USED NO

     AND

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     4

     Trace Select By Port

     TRACE_NUM NO STACK_WORD NO 13 1 24 24 1 1 0 0 NOT_USED NO NOT_USED YES AND OR

     1.0 Technical Discussion

     >

     If a trace has: CMP=407 TRACE_NUM=13 STACK_WORD=20 The trace does not meet the criteria of the first row in Subset 1. Therefore, Subset 2 must be checked (Rule 2). The trace meets the criteria of all three

    trace selection rows of Subset 2, and the exclusion flag is ??on?? (EXCLUDE = YES); therefore, the trace is rejected (Rule 1). If a trace has: CMP=407 TRACE_NUM=13 STACK_WORD=0 Again, the trace does not meet the criteria set forth in Subset 1 so Subset 2 is checked. Because the trace does not meet the criteria in Subset 2 either and the exclusion flag is ??on,?? the trace is accepted (Rule 3). Note that it can be easily seen that the trace selection rows are order sensitive when any subset has the exclusion flag ??on,?? while other subsets have their exclusion flag turned ??off.?? For example, swap the two subsets.

    

     (Subset 1) CMP NO TRACE_NUM NO STACK_WORD NO (Subset 2) CMP NO TRACE_NUM NO

     406 13 1

     410 24 24

     1 1 1

     0 0 0

     NOT_USED NOT_USED NOT_USED

     NO NO YES

     AND AND OR

     404 13

     405 24

     1 1

     0 0

     NOT_USED NOT_USED

     NO NO

     AND OR

     >

     If a trace has: CMP=407 TRACE_NUM=13 STACK_WORD=20

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     5

     Trace Select By Port

     1.0 Technical Discussion

     The trace meets the criteria for all three trace selection rows for Subset 1, and the exclusion flag is ??on??; therefore, the trace is rejected (Rule 1). If a trace has: CMP=407 TRACE_NUM=13 STACK_WORD=0 The trace does not meet the criteria in Subset 1. Therefore, Subset 2 must be checked regardless of the status of the exclusion flag (Rule 2). The trace does not meet the criteria of Subset 2 and because the exclusion flag is ??off,?? the trace is rejected (Rule 3).

     1.3.2 AND/OR Usage

     The AND/OR flag determines how a row is associated with the following row; it can be used to logically divide the table into subsets. A logical OR operation marks a particular row as the last row of a subset. Three

    separate subsets are illustrated by: In order to satisfy the search criteria for a given subset, a trace must meet all the conditions defined in the rows for that subset. If a trace satisfies the search criteria for any subset, it is accepted.

     1.3.3 Examples of TRC_SELECT Table Entries

     Example 1: Defining a Minimum Value

     NO AND_OR OR >

     All traces with CMP numbers greater than or equal to 10 are selected.

     Example 2: Defining a Maximum Value

     NO AND_OR OR >

     All traces with CMP numbers less than or equal to 50 are selected.

     Example 3: Using a Character Key

     OPER BOTH_IN EXCLUDE NO AND_OR OR >

     All traces whose FIELD_LINE_DETECT is equal to ABCDE are selected. November 2008 - WesternGeco TRC_SELECT_BY_PORT 6

     Trace Select By Port

     1.0 Technical Discussion

     Example 4: Defining an Increment

     NO AND_OR OR >

     All traces with CMP numbers equal to 10, 20, 30, 40 or 50 are selected.

     Example 5: Defining an Increment and a Tolerance Value

     NO AND_OR OR >

     All traces with CMP numbers equal to 3,4,5,6,7 ( 5 +/- 2 ) or 13,14,15,16,17 or 23,24,25,26,27 or 33,34,35,36,37 or 43,44,45,46,47 are selected.

     Example 6: Defining an AND Operation

     0 OPER NOT_USED NOT_USED EXCLUDE NO NO AND_OR AND OR>

     Both tests must be satisfied before a trace is selected. All traces whose CMP number is between 1 and 8 inclusively and whose TRACE_NUM is between 21 and 25 inclusively are selected.

     Example 7: Using the AND operation with the OPER parameter

     GE LT EXCLUDE NO NO AND_OR AND OR >

     All traces whose CMP number is greater than or equal to 2 and less than 10 are selected.

     Example 8: Defining an OR Operation

     0 0 OPER NOT_USED NOT_USED EXCLUDE NO NO AND_OR OR OR >

     Either test can be satisfied in order that a trace be selected. All traces with CMP numbers between 100 and 110 inclusively and all traces whose TRACE_NUM is between 1 and 10 inclusively are selected.

     Example 9: Defining a Rejection-type Operation

     YES AND_OR OR >

     All traces whose CMP number is between 10 and 20 inclusively are not selected. ( If only rejection table entries are coded, all traces not explicitly rejected, are accepted. )

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     7

     Trace Select By Port

     1.0 Technical Discussion

     Example 10: Defining Multiple Rejection Criteria

     0 OPER NOT_USED NOT_USED EXCLUDE NO YES AND_OR AND OR >

     Any trace whose CMP number is between 10 and 20 inclusively and whose TRACE_NUM is between 5 and 10 inclusively is rejected. ( CMPs 10?C20 are selected and then TRACE_NUMs 5?C10 are rejected ).

     Example 11: Defining Multiple Acceptance Criteria

     FIRST 10 1 LAST 1000 100 10 1 INC 1 1 1 1 TOLR 0 0 0 0 OPER NOT_USED NOT_USED LE NOT_USED EXCLUDE NO NO NO NO AND_OR OR AND OR OR >

     If any of the following three conditions are met, the trace is selected. 1. CMP number is less than or equal to 1000. 2. IDENT_NUM i less than or equal to 100 and TRACE_NUM is less than or equal to 10. 3. STACK_WORD is equal to 1.

     Example 12: Defining Trace Sample Acceptance Criteria

     0.0 OPER NOT_USED EXCLUDE NO AND_OR OR >

     All traces whose samples 1,3,5,7 and 9 are greater than or equal to 1.0 and less than or equal to 2.0 are selected.

     1.4 Simple Trace Select

     A single key is used to query a trace for selection. The absolute value of the key may optionally be used to query for selection. Each of the 14 output ports ( A-N ) may accept traces whose key exactly matches a user specified value.

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     8

     Trace Select By Port

     2.0 Inputs and Outputs

     2.0 Inputs and Outputs

     2.1 Inputs

     Standard Input (Optional) Default Standard Input port STANDARD_INPUT

     2.2 Outputs

     A (Optional) B (Optional) C (Optional) D (Optional) E (Optional) F (Optional) G (Optional) H (Optional) I (Optional) J (Optional) K (Optional) L (Optional) M (Optional) N (Optional) Remainder (Optional) A B C D E F G H I J K L M N REMAINDER

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     9

     Trace Select By Port

     3.0 Literal Summary

     3.0 Literal Summary

     Identification Header

     LITERAL EARLIEST_TIME MAX_REFLECT_TIME SAMP_INT DESCRIPTION Earliest TIME_SHIFT_ALIGNMENT Maximum Reflection Time Sampling Interval ACCESSED UPDATED X X X

     Trace Header

     LITERAL LTRSAM DESCRIPTION Length of the Trace in Samples ACCESSED UPDATED X

     NOTES

     It is possible that any trace header literal will be accessed.

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     10

     Trace Select By Port

     4.0 Parameter Set Summary

     4.0 Parameter Set Summary

     Parameter Set Name Geophysical Language GENERAL UNSELECTED_OPT MULTI_SELECTED_OPT MAX_GATHER_MULT TRC_SELECT_INPUT TABLE KEY ABS FIRST LAST INC TOLR OPER INCLUDE_EXCLUDE AND_OR TRC_SELECT PORT_NAME TABLE KEY ABS FIRST LAST INC TOLR OPER INCLUDE_EXCLUDE AND_OR SIMPLE_SELECT SELECTION_LIT ABS VALUE_FOR_PORT_A VALUE_FOR_PORT_B VALUE_FOR_PORT_C VALUE_FOR_PORT_D VALUE_FOR_PORT_E VALUE_FOR_PORT_F VALUE_FOR_PORT_G Parameter Set Title Parameter Title GENERAL Unselected Trace Option Multi Selected Trace Option Max Gather Mult Trace Select On Input Table Key Use Absolute Value of Key First Last Increment Tolerance Operator For End Points of Range Include_Exclude And/Or Trace Select Port name Table Key Use Absolute Value of Key First Last Increment Tolerance Operator For End Points of Range Include_Exclude And/Or Simple Select Selection Literal Name Absolute Value of Selection Literal Selection Value For Port A Selection Value For Port B Selection Value For Port C Selection Value For Port D Selection

    Value For Port E Selection Value For Port F Selection Value For Port G Status Required

     Optional

     Optional

     Required

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     11

     Trace Select By Port Parameter Set Name Geophysical Language VALUE_FOR_PORT_H VALUE_FOR_PORT_I VALUE_FOR_PORT_J VALUE_FOR_PORT_K VALUE_FOR_PORT_L VALUE_FOR_PORT_M VALUE_FOR_PORT_N Parameter Set Title Parameter Title Selection Value For Port H Selection Value For Port I Selection Value For Port J Selection Value For Port K Selection Value For Port L Selection Value For Port M Selection Value For Port N

     4.0 Parameter Set Summary Status

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     12

     Trace Select By Port

     5.0 Setup Parameters

     5.0 Setup Parameters

     5.1 GENERAL

     General Information

     General Options.

     GENERAL

     (Status: Required, Type: standard)

     PARAMETERS:

     UNSELECTED_OPT Unselected Trace Option This parameter specifies the action to take when an input trace is not selected for output on any port , is not deleted by the TRC_SELECT_INPUT parameter set, and the REMAINDER port is not connected. If the REMAINDER port is connected, this parameter is ignored. Optional: Type: Trace-varying: Multi-valued: Options: 'DELETE' 'ABORT' No option No No Delete traces and print warning and total number of traces that are not output to any port Abort job at first trace that is not deleted (by the TRC_SELECT_INPUT parameter set) and not output to any port ABORT

     Default:

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     13

     Trace Select By Port MULTI_SELECTED_OPT Multi Selected Trace Option

     5.0 Setup Parameters

     This parameter specifies the action to take when an input trace is

    selected for output on more than one port. Optional: Type: Trace-varying: Multi-valued: Options: 'PRINT' 'ABORT' Default: MAX_GATHER_MULT Max Gather Mult If specified, the value for the Maximum Gather Multiplicity in the Identification Header is updated. This parameter should be specified when the trace selection options used cause the maximum multiplicity to change. If the default value of COMPUTED is used, the Maximum Gather Multiplicity value in the Identification Header is not changed. Optional: Type: Trace-varying: Multi-valued: Options: 'COMPUTED' Default: No integer No No No option No No Print a summary of traces that are output to multiple ports. Abort job when a trace is output to multiple ports. PRINT

     COMPUTED

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     14

     Trace Select By Port

     5.0 Setup Parameters

     5.2 Trace Select On Input

     General Information

     TRC_SELECT_INPUT

     (Status: Optional, Type: standard)

     This parameter set selects traces from the input port. Any traces not selected are deleted immediately (not output on any port).

     PARAMETERS:

     TABLE Table Optional: No

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     15

     Trace Select By Port KEY Key

     5.0 Setup Parameters

     This parameter defines the value to be used for comparison in the trace select operation. It can define a single trace header literal, a multi-element trace header literal or the seismic trace samples. Values to compare for single element trace header literals are designated by the literal name alone. Multi-element trace header literals are specified by their name and subscripts of the form: MULTI_LITERAL_NAME(FIRST_ELEMENT;LAST_ELEMENT;ELEMENT_INCREMENT;AND/OR) where the AND/OR describes whether all elements specified ( AND ) or at least one element ( OR ) must pass the criteria for the trace to be selected. If it is desired to examine the seismic trace samples to determine trace selection, the form is:

    SEISFLOAT(FIRST_SAMPLE;LAST_SAMPLE;SAMPLE_INCREMENT;AND/OR) or SEISMIC_TRC(FIRST_SAMPLE;LAST_SAMPLE;SAMPLE_INCREMENT;AND/OR) where the AND/OR is as above. The use of the subscript zero eg - SEISMIC_TRC(0)

    SEISFLOAT(0) MULTI_LITERAL_NAME(0) defines the use of all elements or samples. The use of no subscript eg - SEISMIC_TRC SEISFLOAT MULTI_LITERAL_NAME defines the use of the first element or sample. If only one subscript is entered, the last element/sample is set to the value of the first element/sample, the increment is set to one ( 1 ) and the AND/OR is set to OR. If only two subscripts are specified, the increment is set to one ( 1 ) and the AND/OR

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     16

     Trace Select By Port is set to OR. If only the AND/OR is not specified, it is set to OR. *** NOTE *** Either : or ; is a valid subscript delimeter. *** NOTE *** Either ( ) or [ ] can be used to enclose subscripts. Optional: Type: Trace-varying: Multi-valued: Options: 'CMP' 'IDENT_NUM' 'SHOTPOINT_NUM' 'SEQ_GATHER' 'SOURCE_DETECT_DIST'

    'STATION_NUM_SOURCE' 'STATION_NUM_DETECT' 'TRACE_NUM'

    '3DT_PRIM_ORD_CELCTR' '3DT_SEC_ORD_CELCTR' 'XCORD_SOURCE' 'YCORD_SOURCE' 'XCORD_DETECT' 'YCORD_DETECT' 'XCORD_MIDPT' 'YCORD_MIDPT' 'SEISFLOAT' Constraint: Default: ABS Use Absolute Value of Key No trace-attribute No No

     5.0 Setup Parameters

     param()!='FIELDSHOT_ID' dataset( 'SORT_LITERAL' )

     This parameter allows the absolute Key value to be used for comparison. Optional: Type: Trace-varying: Multi-valued: Options: 'NO' 'YES' Default: No option No No

     'NO'

     November 2008 - WesternGeco

     TRC_SELECT_BY_PORT

     17

     Trace Select By Port FIRST First

     5.0 Setup Parameters

     This parameter defines the smallest value for the trace select operation. If specifying FIELDSHOT_ID in the parameter, ensure that the format of this parameter is consistent with the FIELDSHOT_ID type. Optional: Type: Trace-varying: Multi-valued: Options: 'FIRST' 'NO_LOWER_LIMIT' No number No No All values less than or equal to LAST parameter. If option NO_LOWER_LIMIT is selected and INC is value of specified, then the selection is based on the value of KEY being evenly divisible by the value of INC. 'FIRST'

     Default: LAST Last

     This parameter defines the largest value for the trace select operation. If specifying FIELDSHOT_ID in the parameter, ensure that the format of this parameter is consistent with the FIELDSHOT_ID type. Optional: Type: Trace-varying: Multi-valued: Options: 'LAST'

Report this document

For any questions or suggestions please email
cust-service@docsford.com