The "seismicbinaryheader" web service provides the binary header for a seismic dataset. The binary header is returned as a binary stream.
A typical URL is http://myserver.mycompany.com/INTGeoServer/json/seismicbinaryheader?json={"file":"cdp_stack.xgy","type":"binaryHeader","byteOrder":"BIG_ENDIAN"}
Here is a formatted version of the JSON object passed as a parameter:
{
"file":"cdp_stack.xgy",
"byteOrder":"BIG_ENDIAN"
}
The following parameters are available:
file: the relative path of the specified dataset. This is a required parameter
byteOrder: The endianess of the streamed header bytes. Valid options are "BIG_ENDIAN" or "LITTLE_ENDIAN". If no endianess is specified, the native byte order of the underlying platform where INTGeoServer is hosted will be used.
If the specified file doesn't match a valid seismic dataset, no JSON response will be provided. The HTTP response will only show a "File or Directory Not Found" (error 404) in its headers.
The HTTP header also contains a "dataHash" header. The hash code can be used to track whether the data file underlying the specified dataset has been changed since the last time it was loaded from disk.