论文部分内容阅读
在地震数据资料存储与交换中,SEG-Y数据格式应用最为广泛.然而,由于CPU架构之间的差异,同一个SEG-Y文件并不能在具有不同CPU架构的计算机上直接读取.为了实现在不同CPU架构的计算机之间进行地震数据共享,基于标准的SEG-Y数据格式和C语言可移植性强的特点,对SEG-Y数据格式的结构构成进行了分析,分别给出了不同结构部分详细的转化算法.最常用的两种地震数据存储格式是32位IBM和IEEE浮点数格式.在研究了这两种浮点数存储结构、表示范围、精度分析和转化差异的基础上,分别给出了两种相互转化的算法并比较了不同算法的转化效率.对比文献中给出的其他编程语言编写的SEG-Y数据某部分转化程序,给出了完整的SEG-Y数据格式转化的C语言代码.实现了SEG-Y数据在不同CPU架构的计算机中的正确读取、改写与存储.良好的可移植性保证了地震数据的共享与应用.
SEG-Y data format is the most widely used in the storage and exchange of seismic data, however, the same SEG-Y file can not be read directly on computers with different CPU architectures due to differences in CPU architectures. Based on the characteristics of standard SEG-Y data format and C language portability, the structure of SEG-Y data format is analyzed, and different structures are given respectively Part of the detailed conversion algorithm.The most commonly used two kinds of seismic data storage format is the 32-bit IBM and IEEE floating-point format.In the study of the two floating-point storage structure, based on the range, accuracy analysis and conversion differences, respectively, to Two kinds of mutual transformation algorithms are compared and the conversion efficiency of different algorithms is compared.Compared with some transformation programs of SEG-Y data written in other programming languages, the complete SEG-Y data format conversion C Language code to achieve the SEG-Y data in different CPU-based computer in the correct reading, rewriting and storage. Good portability to ensure the sharing and application of seismic data.