Seismic2dReader

An OpenSpirit activity that outputs either an image or the bulk values from a 2D line. The input of the activity takes a Post Stack 2D OpenSpirt data key. The extent of the 2D line that is output can be specified on the input panel. The output type of image or bulk values is specified on the configuration panel. If the output type is image, there are various inputs that can be specified to customize the image that is generated.

General

The General tab contains the following fields.

Field Module Property? Description
Name No The name to be displayed as the label for the activity in the process.
Output Type No Specifies the output type. The options are: Image or Bulk Values. The default is Image.
Color Model No Specifies the color model to be used when generating the image. This field is only visible when the output type is Image. The options are: Grey Scale, Red White Blue, Rainbow and Custom. The first three are predefined color models. If Custom is chosen, additional inputs will be displayed to specify the minimum color, maximum color and optional zero color. A color ramp will be created based on the HSB (Hue, Saturation and Brightness) color space that includes the color spectrum within the range specified.
Activity Timeout No The number of minutes to wait before the activity is canceled. 0 means never cancel.

Description

Provide a short description for the activity.

Input

The following is the input for the activity.

Input Item Data Type Description
OspInput Complex Root element for all input elements
DataKey String This is the OpenSpirit data key from the Post Stack 2D entity (EpiSeismic_PostStack2d).
ShotpointStart Float Optionally defines the first shotpoint of the line that is output. If nothing is supplied, the first shotpoint of the data extent of the line will be used.
ShotpointEnd Float Optionally defines the ending shotpoint of the line that is output. If nothing is supplied, the last shotpoint of the data extent of the line will be used.
MinZ Float Optionally defines the minimum Z value of the line that is output. If nothing is supplied, the minimum Z of the data extent of the line will be used.
MaxZ Float Optionally defines the maximum Z value of the line that is output. If nothing is supplied, the maximum Z of the data extent of the line will be used.
ColorModel Complex Defines the color model used when generating the image. This input is only displayed when the output type is Image.
  Factor Float A multiplier (0 - 1+) applied when calculating the pixel value. A value of 1 is the normal contrast and has no change on the output. The contrast decreases as fractional values less than 1 approach 0. Values greater than 1 increase the contrast. This is typically only be used when the data is generally symmetric about zero. The color model is also typically two color dominant (e.g. Grey Scale or Red White Blue).
  ReverseScale Boolean If true, the color ramp generated will be in reverse order.
  Symmetric Boolean If true, the largest amplitude value (minimum or maximum) will be used as the absolute minimum and maximum values when creating the color ramp scale.
  SimpleModelName String If supplied, the value would override what was specified on the configuration panel. Valid values are: grey_scale, red_white_blue or rainbow.
  Custom Complex Specifies the values used when creating the custom color model. If the SimpleModelName is supplied, these values are ignored.
    MinColor OspColor Specifies the minimum color of the spectrum to include when creating the color ramp. The spectrum will be calculated in the HSB (Hue, Saturation and Brightness) color space.
    MaxColor OspColor Specifies the maximum color of the spectrum to include when creating the color ramp. The spectrum will be calculated in the HSB (Hue, Saturation and Brightness) color space.
    ZeroColor OspColor Optionally specifies the mid-range color of the spectrum to when creating the color ramp. The spectrum will be calculated in the HSB (Hue, Saturation and Brightness) color space.
ImageWidth Integer Optionally specify the width of the image that is generated. This value is ignored unless ImageHeight is also supplied.
ImageHeight Integer ImageHeight

Output

The following is the output for the activity.

Output Item Data Type Description
OspOutput Complex The root element for all output items for the activity.
Image Binary A base 64 byte array containing the image of the specified 2D line in PNG format. This field is only visible if the output type is Image
BulkValues Binary A base 64 byte array containing the bulk values of the specified 2D line. This field is only visible if the output type is Bulk Values. The DataType output field specifies the actual data type of the values contained in the byte array (e.g. FLOAT, INTEGER, SHORT or BYTE). The INTEGER data type indicates 4 bytes per value (high byte first), SHORT is 2 bytes per value (high byte first) and BYTE is 1 byte per value. The FLOAT data type is 4 bytes per value and the 32 bits are structured as follows: http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html#floatToIntBits(float).
DatasetName String The name of the 2D data set of the supplied data key.
LineName String The name of the parent 2D line of the supplied data key.
ShotpointStart Float The first shotpoint of the returned 2D line.
ShotpointEnd Float The last shotpoint of the returned 2D line.
CDPStart Float The first CDP (Common Data Point) of the returned 2D line.
CDPEnd Float The last CDP (Common Data Point) of the returned 2D line.
NumTraces Integer The number of traces in the returned 2D line.
NumSamples Integer The number of samples per trace in the returned 2D line.
MinZ Float The minimum Z value of the returned 2D line.
MaxZ Float The maximum Z value of the returned 2D line.
DataType String Specifies the data type returned from the OpenSpirit bulk accessor (e.g. FLOAT, INTEGER, SHORT or BYTE). This value should be used to determine how to process the BulkValues output byte array.

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string The error message returned by the plug-in.
msgCode string The error code returned by the plug-in
Fault Thrown When...