Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

We could/should rip out the SEG-2 reader #5

Open
kwinkunks opened this issue Mar 23, 2022 · 1 comment
Open

We could/should rip out the SEG-2 reader #5

kwinkunks opened this issue Mar 23, 2022 · 1 comment

Comments

@kwinkunks
Copy link
Member

Make a little lib that spits out xarray DataSets instead.

@mtb-za
Copy link

mtb-za commented Mar 25, 2022

How do the various bits that we read relate to possible coords for an xarray?

We get back a bunch of these:

 {'LINE_ID': '01', 'SPR_MARKER': '00'},
 {'LINE_ID': '01', 'SPR_MARKER': '00'},
 {'LINE_ID': '01', 'SPR_MARKER': '00'},
 {'LINE_ID': '01', 'SPR_MARKER': '00'},
 {'LINE_ID': '01', 'SPR_MARKER': '00'},
 {'LINE_ID': '01', 'SPR_MARKER': '00'},

These are all the same, because that is the line we read. I assume that we can populate the coords from the header, but I am not sure what we need:

{'ACQUISITION_DATE': '03/02/17',
 'ACQUISITION_TIME': '10:30:31',
 'OBSERVER': '',
 'SPR_FILE_VERSION': '7',
 'SPR_INTERVAL_MARKER': '1',
 'SPR_LINE_COUNT': '1',
 'SPR_LINE_SEPARATION': '1',
 'SPR_MEDIUM_DIELECTRIC': '08.95',
 'SPR_NO_AVERAGES': 'AVG_4',
 'SPR_SW_AVERAGES': '32',
 'SPR_SAMPLES_PER_SCAN': '256',
 'SPR_SAMPLING_INTERVAL': '100',
 'SPR_SHAFT_INTERVAL': '0.025',
 'SPR_TIMER_FREQUENCY': '10',
 'SPR_TRIGGER_MODE': 'SHAFT',
 'SPR_CHANNEL_NUM': '0',
 'SPR_CHANNELS_TOTAL': '3',
 'TRACE_SORT': 'COMMON_OFFSET',
 'UNITS': 'METERS',
 'ANTENNA_TYPE': '4',
 'TVG_START_GAIN': '2',
 'TVG_SLOPE': '15',
 'RADAR_HEAD_MARK': '3',
 'ANTENNA_TYPE_DETECTED': 'eQUANTUM',
 'MIGRATION_TYPE': 'NONE',
 'GPS_TYPE': 'INTERNAL',
 'NOTE': 'Ver:5.1.1134_Machine:4af33599664f73c57b04'}

The SPR_SAMPLES_PER_SCAN matches the depth, and I assume that the horizontal distance is sampled every 100m? Not familiar with GPR data formats, so gotten a little lost here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants