Reads the data portion of the file header of a SEG-Y file.
Parameters:
id seisio file identification number
Reads the entire file header from a SEG-Y file - both the text (EBCDIC) and data (binary) portions.
Parameters:
id seisio file identification number
Reads the text header from a SEG-Y file.
Parameters:
id seisio file identification number
Reads a trace of SEG-Y data an its associated trace header from a file.
Regardless of the file's data format, the trace data samples will be translated to 4-byte floating point numbers and copied into the supplied trcData array.
Parameters:
id seisio file identification number
trcNum The trace number to read. The first trace number in a file is 1. If a trace number of 0 is specified, the trace will be read in sequential order.
trcHdr Pointer to a buffer of memory, 240 bytes long, to be filled with the SEG-Y formatted trace header. The seisioTrcHdr_* functions can be used to access/modify this trace header.
trcData An array to be filled with nSamp data samples. Unlike trcHdr, this array will be byte-swapped and ready for use. Call seisio_getMaxNSamp to determine how long an array you need to supply.
Returns:
status code. A value of 0 means success. SEISIO_ERR_EOF returned if the requested trace is beyond the end of file.
Todo:
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
Reads a trace of SEG-Y data an its associated trace header from a file.
Regardless of the file's data format, the trace data samples will be translated to 2-byte integers and copied into the supplied trcData array.
Parameters:
id seisio file identification number
trcNum The trace number to read. The first trace number in a file is 1. If a trace number of 0 is specified, the trace will be read in sequential order.
trcHdr Pointer to a buffer of memory, 240 bytes long, to be filled with the SEG-Y formatted trace header. The seisioTrcHdr_* functions can be used to access/modify this trace header.
trcData An array to be filled with nSamp data samples. Unlike trcHdr, this array will be byte-swapped and ready for use. Call seisio_getMaxNSamp to determine how long an array you need to supply.
Returns:
status code. A value of 0 means success.
Todo:
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
Reads a trace of SEG-Y data an its associated trace header from a file.
Regardless of the file's data format, the trace data samples will be translated to 4-byte integers and copied into the supplied trcData array.
Parameters:
id seisio file identification number
trcNum The trace number to read. The first trace number in a file is 1. If a trace number of 0 is specified, the trace will be read in sequential order.
trcHdr Pointer to a buffer of memory, 240 bytes long, to be filled with the SEG-Y formatted trace header. The seisioTrcHdr_* functions can be used to access/modify this trace header.
trcData An array to be filled with nSamp data samples. Unlike trcHdr, this array will be byte-swapped and ready for use. Call seisio_getMaxNSamp to determine how long an array you need to supply.
Returns:
status code. A value of 0 means success.
Todo:
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.