Last updated

API / geotoolkit / seismic / data / SeismicMetaData / SeismicMetaData

Class: SeismicMetaData

data.SeismicMetaData.SeismicMetaData

Seismic meta data is a map of general properties of the seismic data source like: number of traces, sample rate, ... The seismic toolkit creates instances of SeismicMetaData inside the toolkit. Toolkit users do not need to create instances of this class.

Table of contents

Constructors
Methods

Contents

Constructors

new SeismicMetaData(samplePower)

new SeismicMetaData(samplePower?)

Creates meta data

Parameters

Name Type Description
Optional samplePowernumberAn integer power of 10 that is multiplied by the sample rate from the seismic dataset header before the sample rate is used. Defaults to -6 if not specified. This default value implies that the sample rate in the dataset is stored in micro-seconds.
Methods

clone

clone(): SeismicMetaData

Create a copy of seismic meat data

Returns

SeismicMetaData

a new instance of meta data


getBinaryHeader

getBinaryHeader(): string

Gets Binary header information or text.

Example

// to get binary header information if it's available and assume you have pipeline instance.
pipeline.getReader().getMetaData().getBinaryHeader();

Returns

string

Binary header text, which can also be null.


getClassName

getClassName(): string

Returns

string


getEBCDICHeader

getEBCDICHeader(): string | string[]

Gets EBCDIC header information or text.

Example

// to get EBCDIC information if it's available and assume you have pipeline instance.
pipeline.getReader().getMetaData().getEBCDICHeader();

Returns

string | string[]

EBCDIC text, can be null.


getHeaderValues

getHeaderValues(): Map<string | number, number>

Returns

Map<string | number, number>


getIndexType

getIndexType(): IndexType

Returns the index type of the under

Returns

IndexType


getLineHeadersSize

getLineHeadersSize(): number

Return header line size in bytes

Returns

number


getNullSampleValue

getNullSampleValue(): number

Return sample null value

Returns

number


getNumberOfTraces

getNumberOfTraces(): number

Gets the number of traces

Returns

number


getSampleDataFormat

getSampleDataFormat(): SampleDataFormatType

Returns sample data format

Returns

SampleDataFormatType


getSampleRate

getSampleRate(): number

Gets the sample rate for the seismic data. The sample rate is specified in the units returned by getZUnit().

Returns

number


getSampleSize

getSampleSize(): number

Return sample size in bytes

Returns

number


getSamplesPerTrace

getSamplesPerTrace(): number

Gets the samples per trace

Returns

number


getSections

getSections(): number[]

Gets the sections.

Sections describes any optional seismic subdivisions.
This is typically used to identify seismic panels in an arbitrary line.

Returns

number[]

The sections


getStartValue

getStartValue(): number

Returns start value of first sample.

Returns

number


getTraceHeaderSize

getTraceHeaderSize(): number

Return trace header size in bytes

Returns

number


getTraceSize

getTraceSize(): number

Gets trace size in bytes

Returns

number


getVolumeDefaultKeyNames

getVolumeDefaultKeyNames(): VolumeKeyNames

Returns the volume default key names If available, null otherwise. Those keys are the grid coordinates key names that may eventually be used to map IJ to XY

Returns

VolumeKeyNames

Json containing default key names


getVolumeKeyNames

getVolumeKeyNames(): VolumeKeyNames

Returns the volume key names IF available, null otherwise. Those keys are the grid coordinates key names that can eventually be used to map IJ to XY

Returns

VolumeKeyNames

Json containing key names


getXYKeyInformation

getXYKeyInformation(): XYKeyInformation

Returns the XY key information IF available, null otherwise. Those keys can be used to retrieve the X,Y coordinate of a given trace by looking up the values in the header.

Returns

XYKeyInformation

Json containing default key names


getZUnit

getZUnit(): AbstractUnit

Returns the sample unit

Returns

AbstractUnit


setOptions

setOptions(options): SeismicMetaData

Sets options

Parameters

Name Type Description
optionsOptionsoptions

Returns

SeismicMetaData

this


getClassName

Static getClassName(): string

Returns

string