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.output_byte_locs

segysak.segy.output_byte_locs(name)

Return common bytes position variable_dict for segy_writer.

Parameters:

name (str) – One of [standard_3d, petrel_3d]

Returns:

A dictionary of SEG-Y byte positions and default seisnc variable

pairs.

Return type:

dict

Example

>>> segywriter(ncfile, 'segyfile.sgy', trace_header_map=output_byte_loc('petrel'))
>>>