Converts ASCII-coded text to EBCDIC-coded text.
· void seisioUtl_ebcdic_ascii (const char *input, char *output, int n)
Convert EBCDIC-coded text to ASCII-coded text.
seisio Utilities - don't operate on any seisio objects.
Converts ASCII-coded text to EBCDIC-coded text.
Parameters:
input Array (of length n) of ASCII characters.
output Array (at least of length n) to hold EBCDIC characters.
n Number of characters to convert.
Convert EBCDIC-coded text to ASCII-coded text.
Parameters:
input Array (of length n) of EBCDIC characters.
output Array (at least of length n) to hold ASCII characters.
n Number of characters to convert.
Converts 32 bit gain/value number to 32 bit floating-point number.
Parameters:
i Input array - must contain at least n elements
o Output array - must have sufficient space to hold n elements
n Number of elements (not bytes) in input array.
Gets the processor's native byte ordering (endian-ness).
Returns:
SEISIO_ENDIAN_LITTLE or SEISIO_ENDIAN_BIG
Converts a 32 bit IBM floating point number to 32 bit IEEE floating point format.
Parameters:
in Array of IBM-representation floating point numbers
out Array to be filled with translated floating point number in IEEE format. @n Count of numbers in in array.
Reverses the four bytes in a 32 bit integer.
An integer like this 0x11223344 becomes 0x44332211.
member ::seisio_getDataFmt(int id)
Use heuristics to make better guesses.
member ::seisio_getTrcLength(int id, int trcNum)
Handle invalid values for trcNum.
member ::seisio_getTrcPos(int id, int trcNum)
Handle >2.4 GB files.
member ::seisio_readTrcF4(int id, const int trcNum, char* trcHdr, float *trcData)
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
member ::seisio_readTrcI2(int id, const int trcNum, char* trcHdr, int16 *trcData)
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
member ::seisio_readTrcI4(int id, const int trcNum, char* trcHdr, int32 *trcData)
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
member ::seisio_setTrcLengthFmt(int id, int fmt)
Handle the case when setTrcLengthFmt is called after we start writing to a file.
member ::seisio_writeFileDataHdr(int id, char *fileDataHdr)
Handle outrageous values of trcNum. Allow for truncated trace-length reads so we can guess at numSmp and not scan the whole file.
member ::seisio_writeTrcF4IBM(int id, const int trcNum, const int nSamp, char *trcHdr, float *trcData)
Handle outrageous values of nSamp and trcNum. Better (more descriptive) error handling.
member ::seisio_writeTrcF4IEEE(int id, const int trcNum, const int nSamp, char *trcHdr, float *trcData)
Handle outrageous values of nSamp and trcNum. Better (more descriptive) error handling
member ::seisio_writeTrcI2(int id, const int trcNum, const int nSamp, char *trcHdr, int16 *trcData)
Handle outrageous values of nSamp and trcNum. Better (more descriptive) error handling
member ::seisio_writeTrcI4(int id, const int trcNum, const int nSamp, char *trcHdr, int32 *trcData)
Handle outrageous values of nSamp and trcNum. Better (more descriptive) error handling
member ::seisioHdrDefn_readFromFile(int id, char *filename)
Load description from file
INDEX
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.