Creating SEG-Y templates
Although SEG-Y files are a 'standard' format, they come in many variations so you may have to use a customized template file to import the seismic data correctly. You can create this customized template in the Import SEGY form or you can create the necessary XML - based file in a text editor.
Requirements
To customize the template, you need one <Field /> tag for each individual field included in the SEG-Y format. For each field, you must specify:
- StartByte – the starting column of the field data.
- Type – the type of data in this field:
- Short 2-byte two’s complement integer
- Int 4-byte two’s complement integer
- Float 4-byte IEEE floating point or 4-byte IBM floating point (auto detect)
- AutoIntFloat 4-byte two’s complement integer, 4-byte IEEE floating point or 4-byte IBM floating point (auto detect)
- Double 4-byte two’s complement integer (0-3) as mantissa and a 2-byte two’s complement integer (4-5) as the power of ten exponent.
- Name – the field mnemonic code
- Description – the field label: a word or short phrase to describe the contents of the field.
The Name and Type attributes of the Field elements are case sensitive.
You must specify the following fields inside the template file:
- SequenceNumber or FieldRecordNumber. One of these fields is required for the inline counter.
- EnergySourcePoint. Required for the Shot point counter of 2D seismic data. Also referred as Shot point number.
- CdpEnsembleNumber. Required for the crossline counter of 3D seismic data or the CDP number of 2D seismic.
- SourceCoordinateX and SourceCoordinateY.
- RecordingTimeDelay. (Need to be the same for all traces in the SEG-Y file)
- SampleInterval. (Need to be the same for all traces in the SEG-Y file)
- ShotPointScalar. Required for 2D seismic data.
A more detailed example template is available with your installed software.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<joaTraceHeaderTemplate>
<Field StartByte="5" Type="Int" Name="SequenceNumber" Description="Inline counter"/>
<Field StartByte="9" Type="Int" Name="FieldRecordNumber" Description="Inline counter"/>
<Field StartByte="21" Type="Int" Name="CdpEnsembleNumber" Description="Crossline counter"/>
<Field StartByte="73" Type="AutoIntFloat" Name="SourceCoordinateX" Description="X (m/ft)"/>
<Field StartByte="77" Type="AutoIntFloat" Name="SourceCoordinateY" Description="Y (m/ft)"/>
<Field StartByte="109" Type="Short" Name="RecordingTimeDelay" Description="Delay recording time (ms)"/>
<Field StartByte="117" Type="Short" Name="SampleInterval" Description="Sample interval (us)"/>
</joaTraceHeaderTemplate>
A more detailed example template is available with your installed software.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <joaTraceHeaderTemplate> <Field StartByte="17" Type="Int" Name="ShotPoint counter"/> <Field StartByte="201" Type="Short" Name="ShotPoint scalar"/> <Field StartByte="5" Type="Int" Name="Inline counter"/> <Field StartByte="21" Type="Int" Name="Crossline counter"/> <Field StartByte="73" Type="AutoIntFloat" Name="X coordinate"/> <Field StartByte="77" Type="AutoIntFloat" Name="Y coordinate"/> <Field StartByte="71" Type="Short" Name="Coordinate scalar"/> <SettingField ImportAsTime="false" Is3DData="false" LateralUnit="m" VerticalUnit="m"/> </joaTraceHeaderTemplate>