Content of data bases, program BASE:
In the REA directory, a binary file called REA.LOG contains information about number of events in all data base. Initially the file has no information, but each time programs EEV, HYP, UPD, CHECK_BASE or COLLECT are executed, the information is updated for the months accessed. The information can be displayed with program BASE, which first shows available data bases and the user, can then select one to get info for particular months. Make sure to use right case for data base names, always in upper case on Unix systems. The program is still a bit experimental !!
Check content of S-files for magnitudes and residuals etc, program CHECKRE:
The program can read data bases or CAT files and check events for large residuals, abnormal depths etch. The program is intended for quality control, the parameters hardwired in the program might not suit all. Check program source listing.
Check for data base related errors, program CHECK_BASE
The data base depends on error free S-files and that there is a correspondence between the S-file name and the event ID. This should normally be ok, however errors can occur during editing or there can be program crashed producing errors. The program reads the data base and checks for:
Missing ID lines: If ID line is missing, it can be put in manually or doing an UPDATE.
No correspondence between ID line and S-file name: A serious error has occurred. try to find out what is correct, the ID or the file name. An UPDATE cures the problem, however data might be lost.
Error in S-file: All parameters are checked and files with non standard parameters are indicated. The error can be a number in a wrong position. The errors should be corrected.
For all the above 3 cases, an index file is generated with bad S-files and EEV can the be used directly with the index file to access the bad S-files. THIS ONLY WORKS WITH ONE DATA BASE AT A TIME.
It is recommended to run check_base in case of system crash or as a security, just before an UPDATE.