Link to USGS home page.
Coastal and Marine Geology Program

Skip menu and go to content. OFR 2005-1001 Home / Procedures / East-Coast Database / GIS Data Catalog

U.S. Geological Survey Open-File Report 2005-1001
USGS East-Coast Sediment Analysis: Procedures, Database, and GIS Data



radio button Quick BASIC Software

radio button - current selection C Language Software

radio button Visual BASIC Software

NAME:  gstat


PURPOSE: To retrieve sediment analyses and the corresponding identifiers from the sorted raw data files and compute standard textural parameters.


SYNOPSIS: gstat file_name.out <file_name.fin >file_name.txt


Alternately, using the provided script file: dogstat file_name


DESCRIPTION:  This version, which was written in “c” and compiled with DJGPP (v. 2.01), will run under Windows 95/98 in the BornAgainShell (Bash). For each sample, the 200-micron tube Coulter data, 30-micron tube Coulter data, coarse fraction data, and the sample identifiers are retrieved from the sorted raw data file (file_name.fin) produced by the program JSORT.  From these data, the program calculates the textural distributions (cumulative and frequency percentages); statistics (method of moments and inclusive graphics; Folk, 1974); percentages gravel, sand, silt, and clay; and the textural classification. Output is a digital pre-database file and a hard copy.  A header file has been inserted as the first record in the pre-database file to show the field attributes and their order.  Size nomenclature and the grade scale are based on the method proposed by Wentworth (1929); the classification scheme is modified from the one proposed by Shepard (1954).


DIAGNOSTICS-BUGS: A message is displayed which notifies user as each sample is retrieved. During the inclusive graphics analyses, some distributions cause the last frequency percent to be beyond 100.0%.  This will cause a message to be displayed, which may be ignored.  But user should always "eye‑ball" the data for any apparent error(s). If the input file is out‑of‑sequence a message will be displayed.  This will be in reference to the sample after the last successfully retrieved sample.


Other messages, such as core dumped, etc., come from gross errors in input. In such a case, the input file should be carefully scanned.


AUTHOR/MAINTENANCE: Janet J. Fredericks, Woods Hole Oceanographic Institute (WHOI), Woods Hole, MA 02543/Larry Poppe, U.S.Geological Survey (USGS), Woods MA 02543

skip menu

skip footer
U.S. Geological Survey
Coastal and Marine Geology Program
Woods Hole Science Center