cultpenguin / segypy

Read and write SEGY formatted files using Python
Other
24 stars 15 forks source link

Read JUST STH #4

Closed israelklink closed 6 years ago

israelklink commented 6 years ago

There are a possibility to read STH?

Get only SegyHeader

SH = segypy.getSegyHeader(filename);

cultpenguin commented 6 years ago

Yes. you can read all SegyTraceHeaders using

filename='shogather.sgy' SH = segypy.getSegyHeader(filename) STH = segypy.getAllSegyTraceHeaders(SH)

There was a rounding error that is now fixed in version 0.57. Update and it should work.