判断segy文件的编码格式是IBM还是IEEE_吃最辣的锅的博客-CSDN博客
code for judge a segy file IEEE or IBM format = 'nothing'fileName = "vp_marmousi-ii.segy"fSegy = open(fileName,"rb")fSegy.seek(3225,0) tempValue = fSegy.read(1)hexValue = tempValue.hex()decValue = int(hexValue,16)if decValue == 1: format = 'I
https://blog.csdn.net/qq_37611077/article/details/114849774?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-2-114849774-blog-46623339.pc_relevant_aa_2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-2-114849774-blog-46623339.pc_relevant_aa_2&utm_relevant_index=3