trhallam/segysak

Documentation fro header re-map trace headers

pasha9999 opened this issue · 2 comments

Hello!

I am trying to read a SEG-Y file with non-standard header positions for the CDP coordinates (cdp_x 4-byte integer at byte 201, for example). I found that I can set it up using segysak.segy.well_known_byte_locs but did not find any examples for format description. Can you, please, provide one - or link to docs, where I can find it.

Thanks,
Pavel

There is an example here specifying the byte positions to the loader https://segysak.readthedocs.io/en/latest/examples/QuickOverview.html#Load-SEG-Y-data.

The API also lists the keyword arguments for segy_loader https://segysak.readthedocs.io/en/latest/generated/segysak.segy.segy_loader.html#segysak.segy.segy_loader

In general, any kwarg with a byte position can be passed and it will be loaded as a variable into the output xarray with name kwarg. The coordinate variables are special however as they help determine the geometry of the volume/line.