Writer Directives

This section contains the directives that are processed by the SEG-Y writer.

The suffixes shown are prefixed by the current <WriterKeyword>_ in a mapping file. By default, the <WriterKeyword> for the SEG-Y writer is SEGY.

DATASET

This is the name of a folder that contains one or more SEG-Y files.

SEG-Y files can have any extension; however, common extensions are .segy or .sgy.

Required/Optional

Required

Mapping File Syntax

SEGY_DATASET /usr/data/output.segy

Workbench Parameter

Destination SEG-Y File(s)

COORDINATE_POSITION

This directive specifies the byte offset at which the writer will write the coordinate values in the binary trace header.

Values

The coordinate values are stored as two 4-byte values. Therefore, if the byte offset of 81 is specified, the X coordinate will be read from locations 81 to 84, and the Y coordinate will be read from locations 85-88.

Required/Optional

Optional

Mapping File Syntax

SEGY_COORDINATE_POSITION 81

Workbench Parameter

Stored coordinate location

COORDINATE_FORMAT

This directive specifies the binary encoding that the writer will use when writing the coordinate values on the feature.

Values

INT | IEEE | IBM

INT specifies that the stored value is encoded as a signed integer. IEEE specifies that the stored value is encoded as an IEEE floating point number. IBM specifies that the stored value is encoded as an IBM floating point number.

Required/Optional

Optional

Mapping File Syntax

COORDINATE_FORMAT INT

Workbench Parameter

Stored coordinate format

ENCODE_ASCII

This directive specifies whether the writer will interpret the textual header as being in ASCII encoding and will transcode the textual header into EBCDIC.

Required/Optional

Optional

Mapping File Syntax

ENCODE_ASCII YES