Get a value 4-byte (32 bit) floating point value from the trace header given a starting byte location.
· int seisioTrcHdr_getHdr (int id, char **hdr)
Gets the trace header as an array of chars.
· int seisioTrcHdr_setHdr (int id, char *hdr)
Sets the trace header from an array of chars (length must be 240).
· char* seisioTrcHdr_getInternalData (int id)
Returns a pointer to the data segment of the trace header.
seismic file trace header object.
Deallocates the corresponding seismic trace header definition instance.
Parameters:
id identification number of the seismic trace header instance to free
Returns:
non-zero on error (see seisio.h for error definitions).
Get a value (float) from the data segment.
Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic trace header instance to access
hdrName name of the header to access
value output argument for value of the header
Returns:
non-zero on failure (see seisio.h for error definitions).
Get a value 4-byte (32 bit) floating point value from the trace header given a starting byte location.
Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
byt byte number in trace header from which the value should be retrieved. Starts at 0.
hdrValue output argument for value of the header
Returns:
non-zero on failure (see seisio.h for error definitions).
Gets the trace header as an array of chars.
The header is formatted in big endian binary.
Returns:
non-zero on error (see seisio.h for error definitions).
Parameters:
id identification number of the seismic trace header instance to access
hdr pointer to trace header
Get a value (int16) from the data segment.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic trace header instance to access
hdrName name of the header to access
value output argument for value of the header
Get a value 2-byte (16 bit) integer value from the trace header given a starting byte location.
Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic file header instance to access
byt byte number in trace header from which the value should be retrieved. Starts at 0.
hdrValue output argument for value of the header
Returns:
non-zero on failure (see seisio.h for error definitions).
Get a value (int32) from the data segment.
Returns non-zero on failure (see seisio.h for error definitions). Get fails if the corresponding data type is not defined in the seismic header definition at the requested byte.
Parameters:
id identification number of the seismic trace header instance to access
hdrName name of the header to access
value output argument for value of the header
Get a value 4-byte (32 bit) integer value from the trace header given a starting byte location.
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.