Finding the Bounding Box of X-Y Headers

In this script, we look for Segy files in a directory. Each Segy file is indexed by its CDPX and CDPY headers. At the end of each indexing, the range of each header is displayed.

This script is attached to the bottom of this page.

The files in the F:\Data\Seismic directory use a header format that is not standard. A mapping file is specified with the setMappingFilePath method. This mapping file is attached to this page as a reference.

The output of the Python terminal will look like this: