Skip to content

Add parser for 6-byte SEG-Y numbers

S-01546

Support locations 225-230 and 205-210 in the SEG-Y trace header.

Pre-Dev Notes

From the SEG-Y standard: The constant is encoded as a four-byte, two's complement integer (bytes 205–208 or bytes 225-228) which is the mantissa and a two-byte, two's complement integer (bytes 209–210 or bytes 229-230) which is the power of ten exponent (i.e. Bytes 205–208 * 10**Bytes 209–210).

This will require creating a new rule for a 6 byte header. This can be handled when the RuleEntry class is changed to specifying byte positions and parsing values. A parser for converting this 6-byte number to a native number will also be needed.

Once that's in place, maybe add a default metadata key for the given trace metadatas?

Implementation Notes:

ADDME

System Test Changes:

ADDME

Bug Fixes:

ADDME

C++ API Changes:

ADDME

C API Changes:

ADDME

Success Criteria:

ADDME

CREATED ON - 18/11/2016

Edited by Christopher Werner
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information