Attention
From version v0.5, SEGY-SAK has migrated the documentation to https://trhallam.github.io/segysak/latest/.
This documentation will be archived from v0.6.
segysak.segy.well_known_byte_locs
- segysak.segy.well_known_byte_locs(name)
Return common bytes position kwargs_dict for segy_loader and segy_converter.
Returns a dict containing the byte locations for well known SEG-Y variants in the wild.
- Parameters:
name (str) – Takes one of keys from KNOWN_BYTES
- Returns:
A dictionary of SEG-Y byte positions.
- Return type:
Example:
Use the output of this function to unpack arguments into
segy_loader>>> seismic = segy_loader(filepath, **well_known_byte_locs('petrel_3d'))