|Coastal and Marine Geology Program|
SOFTWARE DOCUMENTATION - CLAYES2K
TYPE: Main program
PURPOSE: This program will calculate that portion of the clay fraction not detected during a particle-size analysis by a Coulter Counter (down to 13.0 phi). The operator may select linear or exponential extrapolation, or the mean of both.
OPERATING SYSTEM: DOS version 3.0 or later, or DOS under Windows 3.1 or Windows 95
SOURCE LANGUAGE: Microsoft QuickBASIC version 4.0 or later
SOURCE CODE: CLAYES2K.BAS
COMPILED SOFTWARE: CLAYES2K.EXE
INPUT: The pre-database file created by GSTAT, the main data processing and statistics program used in the Sedimentation Laboratory of the Coastal and Marine Geology Program, Woods Hole Science Center. The format for this pre-database file and an example of a typical file is shown here.
The optional hard copy will contain: the sample identifiers; the original and revised frequency percentages; the original and revised percentages of gravel, sand, silt, and clay; a revised sediment classification (verbal equivalent); and the revised statistics. All sample identifiers of length greater than 11 characters will be truncated.
The optional data file will be comma delimited and contain: the sample identifiers; the revised percentages of sand, gravel, silt, and clay; the revised verbal equivalent; the revised statistics; and the revised frequency percentages (-5 to 13 phi). The first line of this data file will contain a list of the field attributes.
USAGE: To use the program from DOS, change to the working directory and enter: CLAYES2K
To use the program from Windows 95/98, access it from the file manager or the Run command.
The program CLAYES2K is interactive and will prompt the operator for:
1.) A printer output on LPT1 (the default is no).
2.) Which to use: linear or exponential interpolation or the mean of both (the default is the mean). Linear interpolation may slightly over-estimate the amount of clay present; exponential interpolation may slightly under-estimate the amount of clay present.
3.) The smallest particle size in microns actually measured.
4.) The drive where the data file is located (the default is C:).
5.) The path name to the data file.
6.) What filename to read. If none is entered, the program will display a directory of the file names in the specified drive and path.
7.) The initial Lab Number. If no lab number is entered the program will search for the first lab number in the specified file.
8.) Whether to write the revised data to disk (the default is yes). The program will add an “E_”, “L_”, or “M_” depending on which interpolation is chosen to the beginning of the filename assigned to the output file. If the resultant filename is too long (over eight characters), the user will be warned and asked to enter a new file path and name.
9.) Whether the operator wishes to pause the scrolling screen after each record in order to examine the data.
AUTHOR/MAINTENANCE: Eliason Data Services, Mashpee, MA 02649; L. Poppe, U.S. Geological Survey, Woods Hole, MA 02543