Search operations: The Search menu

Search columns

This function will search the selected column for text that matches the string entered in the text box labeled "Highlight rows containing".
If a match is found the entire row is highlighted. You can then right click the mouse over the table being searched and set, or unset, the "Selected" checkbox for all the highlighted rows.
An alternative search will highlight all the unique cells in the column, that is the cells whose values are not duplicated in any other cell in the selected column.

Create SegyList file

The above is an example of a SegyList file. It is a text file containing the line name, file name, and full path for a group of SEGY files.
The file can be populated from all or just the selected SEGYs in the current table. However in most instances it will be populated by searching directories, selected by the user, for all SEGY files that meet the search criteria.
As an example you could start to create the file at a non-peak time and have it start searching from one or more base directories.
SegyTracker will descend down into all the subdirectories from the base directories adding all the SEGY files encountered to the SegyList file.
When the search is finished, which could take some time, you will have a text file containing the paths to all of the SEGY data in the defined base directories. This list can then be searched with the Search SegyList file function described below for a virtually instantaneous search of your entire SEGY library.
The line name in the first column is, for most SEGYs, simply the file name up to the first dot. For SeisX / SeisWare SEGYs the line name is read from the binary header.
The SegyList is sorted by line name, then file name, then path.

Click the upper "Browse" button to create the SegyList file.
Select the search option:
All SEGY files: All files with the extensions ".sgy", ".SGY", ".segy", or ".SEGY"
SeisX files only: All files with the extensions above that are in SeisX / SeisWare format.
Seisx version zero files only: SeisX / SeisWare format files with the verion number zero, e.g. ABC-100.MIG.0.sgy.
Non-SeisX files only: All files with the above extensions that are not in SeisX / SeisWare format.
Select the option for populating the SegyList file:
List all files in current table: Populate the file with all the SEGY files in the current table.
List all selected files in current table: As above but only the files from rows with the "Selected" checkbox set.
Search for SEGY files in: Populate with the files found searching the directories selected by the user.
The search directories can be specified in two ways.
Directories from a text file: Click the lower "Browse" button and select a text file containing the paths of directories to be searched, one path per line. This option ensures a consistent set of paths will be searched each time the SegyList file is created.
User Selected Directories: Click the lower "Browse" button and use the file browser to select directories to be searched. The "Browse" button can be clicked as many times as needed to define all the search directories.
Regardless of the method used all the selected directories are added to the list box. The "Clear" button will clear the list box and allow you to restart the directory path selection. The "Remove" button will remove the highlighted paths from the list.
Click the "OK" button to begin creating the SegyList file.

Search SegyList file

This function will search the SegyList file described above for patterns.
Any SEGYs in the file whose line name or file name contains the string will be added to a list of SEGYs that can then be imported into a table.
Searching the SegyList file is much faster than searching the network for files. The search is virtually instantaneous.
Click the "Browse" button and select the SegyList file to be searched.
Select the field to be searched, either the line name or file name.
To force the entire field, for instance the line name, to match the search string click the "Exact match" checkbox on.
Enter the string to be searched for in the Search String" text box. Click the "Add String to List" button to add the string to the list of strings to be searched for. There is no limit to the number of search strings.
Any entry in the SegyList file that matches any search string will be added to the list of matches. You can also import a list of search strings from a text file, one string per line.
Click the "Remove" button to remove search strings from the list.
When all the search strings have been entered click the "Search" button to begin searching the SegyList file. The paths for all matches will be added to the results list dialog as seen below.

This dialog shows all the matching files from the SegyList search. The checkboxes determine whether the path will be imported into a table. To turn checkboxes on and off click the right mouse button.
Clicking the "Show EBCDIC" button will display the EBCDIC header for the highlighted file so you can check for proper versions etc.
Click the "Add to Table" button to add the selected paths to a new or existing table.