Importing and exporting data: The File Menu

Setting search parameters

Users can set the file name extensions SegyTracker will use to determine which files are SEGYs. The user can also set the type of SEGY files that will be imported:
All SEGY files encountered that have one of the checked file extensions
Only files with one of the checked extensions that are in SeisX / SeisWare format
Only files with one of the checked extensions that are not in SeisX / SeisWare format
The option "Warn about invalid SEGYs" will alert the user if some files were rejected for any reason. If this is checked a warning dialog will pop up each time an invalid SEGY is encountered. This can become very tedious if there are many invalid files. It is recommended that this option be left off and the Show Invalid Files option used after the table has been created.
Regardless of whether this option is set SegyTracker will not attempt to import rejected files.

Selecting a base sub-directory for SEGY search

Use this option to select, via a standard file browser, the base directory to start searching for SEGY files that meet the criteria set by the search parameters described above.
SegyTracker will scan the selected directory and all sub-directories, that the user has access to, for all files meeting the search criteria. All valid SEGY files are imported into a table with the table name being the path of the base directory.

Selecting individual SEGY files

This option allows the user to select individual SEGY files from a standard file browser. The selected SEGYs are imported into a table with the name of the directory the user searched for files.

Importing SEGY files from SeisX

The SeisX map.pha and history files contain paths to the SEGY files in a project. These options will scan these files for SEGY paths and import the files into a table.

Exporting and importing tables

SegyTracker tables can be saved out to file and reloaded in a later session. The column order, cell colours, and all cell data is preserved. The tables are saved out to binary files and cannot be read in a text editor or spreadsheet program like Excel.

Exporting table data to text file

The data in SegyTracker tables can be saved out to text files for later import into text editors or spreadsheet programs.
Select the output format, either comma delimited or columnar. Choose whether the column headers are to be exported to the text file.
The empty white box will contain the names of the columns to be exported. Click the "Add All Cols" button to export all the columns in the table. Click the "Add Col" button to bring up a list of the columns in the table.

Highlight the columns to be exported by holding down the Ctrl key and clicking the column name with the left mouse button. When the columns are selected click the "Add" button to add them to the list box. Click "Close" to dismiss the column selection dialog.
The order of the columns in the exported file can be changed by highlighting a column name in the list and using the "Up" and "Down" buttons to change its position. Use the "Remove" button to remove columns from the list.
Choose to export all rows or only the rows that have the "Select" checkbox turned on.
The list of columns to be exported can be saved to a format file that can be imported and used for future exports. The format file is a simple text file with one column name per line.
Click "Export" to export the columns to the text file.

Exporting 2D coordinates to text file

This function exports the XY coordinates from the trace headers of all selected files.
All the selected files must have the shotpoint number, X, and Y coordinates in the same byte location and format in the trace headers. Use the Change View options in the View menu to check the byte location and format of each SEGY.
Select the export file from the file browser. If the file exists you can choose to append to it or overwrite it. The survey for all SEGYs are written to the same file.
Enter the byte locations and formats for reading the shotpoints and XYs from the trace headers. Enter a scalar if necessary.
Select the UTM zone and ellipsoid from the drop down list. These values are only needed if the SEGP-1 or UKOOA output formats are selected.
Select the output format from the drop-down list. The options are:
SEGP-1 The XYs are written in standard SEGP-1 format. The shotpoints and XYs are exported directly from the trace headers. The latitude and longitude values are computed using the UTM zone and ellipsoid selected from the lists. A 20 line header beginning with "H" is written at the beginning of the output file. The exported survey for each selected SEGY is written in the order the SEGYs appear in the table.
UKOOA Similar to the SEGP-1 export above but in standard UKOOA format.
Ln Sp X Y Simple format of Line name derived from the file name, shotpoint number, X, and Y written in a columnar, space delimited format.
Ln,Sp,X,Y Same as above but fields are separated by commas
Row Number,Ln,Sp,X,Y Same as comma delimited export but also includes the row number as the first field.

Exporting 3D coordinates to text file

The bin coordinates from all selected 3D files can be exported to ASCII files in the same formats as 2D data.
The inline and xline numbers and X Y coordinates in the trace headers must be in the same formats and byte locations for each selected SEGY.
3Ds need not be perfectly rectangular, missing traces are not a problem.
Enter the byte location and formats for the inline and xline numbers. Set the format, byte location, and divisor for the X and Y coordinates in the headers. The divisor should only be used if the XYs in the headers are not scaled the same as desired for the output file..
As in the 2D XY export select a central meridian and ellipsoid if the output format is SEGP-1 or UKOA.
These export formats are available for 3D bin exports but not 3D outlines:
SEGP-1 The XYs are written in standard SEGP-1 format. The inline number from the trace header is used for the line name. The xline number for the shotpoint. The XYs are exported directly from the trace headers. The latitude and longitude values are computed using the UTM zone and ellipsoid selected from the lists. A 20 line header beginning with "H" is written at the beginning of each export file.
UKOAA Similar to the SEGP-1 export above but in standard UKOAA format.
Ln Tr X Y Simple format of inline number, xline number, X, and Y written in a columnar, space delimited format.
Ln,Tr,X,Y Same as above but fields are separated by commas.
Row Number,Ln,Tr,X,Y Same as comma delimited export but also includes the row number as the first field.
The following formats are only used for 3D outline exports. All formats are industry standards.
Landmark Metafile
Photon ASCII
Esri Shapefile.
If the output format is SEGP-1 and the 3D is rectangular with no missing traces the four corner coordinates, along with their coresponding inline and xline numbers, can be listed in the header lines of the file.
The survey for each selected SEGY is saved to a separate text file. To avoid clutter click the "Browse" button to select, or create, a sub-directory to save the exported files to.
Clicking the "OK" button brings up the following menu that shows the input SEGY files, the output files, and the 3D volume name derived from the export file name. The volume name is written in the header records for some formats.

Click the "OK" button to start the export.

If 3D outline or 3D live trace outline is selected for output the file is exported with only the points necessary to define the outline of the 3D. This file can then be imported into mapping software such as AccuMap.

NOTE: The live 3D outline option creates a polygon that encompasses the first and last live trace for each inline. If, as in the example above, there are dead traces in the middle of an inline the live outline will not show them. This is not, strictly speaking, a bug but the live outline function may be changed in future to allow for dead trace "notches" such as this

Show invalid SEGYs

Invalid SEGY files are files which, although they have the correct extension, cannot be opened as SEGYs. Certain fields such as number of samples, sample rate, or format code may be invalid or missing.
SegyTracker will not try to import these files into the table but will keep a record of their file paths. If invalid files are encountered the dialog above will appear when the table is created.
This option will show the paths to the invalid files in a dialog which gives the user the opportunity to save the list to a text file.
If this option is not selected and invalid files were encountered the user will be given the chance to view the list of invalid files when SegyTracker exits.