-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsy_dict.py
132 lines (131 loc) · 5.49 KB
/
sy_dict.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
def init_hdic():
head_keys = {
'JobID' : 3201,
'LineNumber' : 3205,
'ReelNumber' : 3209,
'Traces' : 3213,
'AuxTraces' : 3215,
'Interval' : 3217,
'IntervalOriginal' : 3219,
'Samples' : 3221,
'SamplesOriginal' : 3223,
'Format' : 3225,
'EnsembleFold' : 3227,
'SortingCode' : 3229,
'VerticalSum' : 3231,
'SweepFrequencyStart' : 3233,
'SweepFrequencyEnd' : 3235,
'SweepLength' : 3237,
'Sweep' : 3239,
'SweepChannel' : 3241,
'SweepTaperStart' : 3243,
'SweepTaperEnd' : 3245,
'Taper' : 3247,
'CorrelatedTraces' : 3249,
'BinaryGainRecovery' : 3251,
'AmplitudeRecovery' : 3253,
'MeasurementSystem' : 3255,
'ImpulseSignalPolarity' : 3257,
'VibratoryPolarity' : 3259,
'Unassigned1' : 3261,
'SEGYRevision' : 3501,
'TraceFlag' : 3503,
'ExtendedHeaders' : 3505,
'Unassigned2' : 3507,
}
return head_keys
def init_tdic():
trace_keys = {
'TRACE_SEQUENCE_LINE' : 1,
'TRACE_SEQUENCE_FILE' : 5,
'FieldRecord' : 9,
'TraceNumber' : 13,
'EnergySourcePoint' : 17,
'CDP' : 21,
'CDP_TRACE' : 25,
'TraceIdentificationCode' : 29,
'NSummedTraces' : 31,
'NStackedTraces' : 33,
'DataUse' : 35,
'offset' : 37,
'ReceiverGroupElevation' : 41,
'SourceSurfaceElevation' : 45,
'SourceDepth' : 49,
'ReceiverDatumElevation' : 53,
'SourceDatumElevation' : 57,
'SourceWaterDepth' : 61,
'GroupWaterDepth' : 65,
'ElevationScalar' : 69,
'SourceGroupScalar' : 71,
'SourceX' : 73,
'SourceY' : 77,
'GroupX' : 81,
'GroupY' : 85,
'CoordinateUnits' : 89,
'WeatheringVelocity' : 91,
'SubWeatheringVelocity' : 93,
'SourceUpholeTime' : 95,
'GroupUpholeTime' : 97,
'SourceStaticCorrection' : 99,
'GroupStaticCorrection' : 101,
'TotalStaticApplied' : 103,
'LagTimeA' : 105,
'LagTimeB' : 107,
'DelayRecordingTime' : 109,
'MuteTimeStart' : 111,
'MuteTimeEND' : 113,
'TRACE_SAMPLE_COUNT' : 115,
'TRACE_SAMPLE_INTERVAL' : 117,
'GainType' : 119,
'InstrumentGainConstant' : 121,
'InstrumentInitialGain' : 123,
'Correlated' : 125,
'SweepFrequencyStart' : 127,
'SweepFrequencyEnd' : 129,
'SweepLength' : 131,
'SweepType' : 133,
'SweepTraceTaperLengthStart' : 135,
'SweepTraceTaperLengthEnd' : 137,
'TaperType' : 139,
'AliasFilterFrequency' : 141,
'AliasFilterSlope' : 143,
'NotchFilterFrequency' : 145,
'NotchFilterSlope' : 147,
'LowCutFrequency' : 149,
'HighCutFrequency' : 151,
'LowCutSlope' : 153,
'HighCutSlope' : 155,
'YearDataRecorded' : 157,
'DayOfYear' : 159,
'HourOfDay' : 161,
'MinuteOfHour' : 163,
'SecondOfMinute' : 165,
'TimeBaseCode' : 167,
'TraceWeightingFactor' : 169,
'GeophoneGroupNumberRoll1' : 171,
'GeophoneGroupNumberFirstTraceOrigField': 173,
'GeophoneGroupNumberLastTraceOrigField' : 175,
'GapSize' : 177,
'OverTravel' : 179,
'CDP_X' : 181,
'CDP_Y' : 185,
'INLINE_3D' : 189,
'CROSSLINE_3D' : 193,
'ShotPoint' : 197,
'ShotPointScalar' : 201,
'TraceValueMeasurementUnit' : 203,
'TransductionConstantMantissa' : 205,
'TransductionConstantPower' : 209,
'TransductionUnit' : 211,
'TraceIdentifier' : 213,
'ScalarTraceHeader' : 215,
'SourceType' : 217,
'SourceEnergyDirectionMantissa' : 219,
'SourceEnergyDirectionExponent' : 223,
'SourceMeasurementMantissa' : 225,
'SourceMeasurementExponent' : 229,
'SourceMeasurementUnit' : 231,
'UnassignedInt1' : 233,
'UnassignedInt2' : 237,
}
return trace_keys