**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 ([Figure 1](#Figure1)) and a hard copy
([Figure 2](#Figure2)). 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; [Figure 3](#Figure3)); the classification
scheme is modified from the one proposed by Shepard (1954; [Figure
4](#Figure4)).

**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 Hole, MA 02543

[]{#Figure1 .anchor}FIGURE 1

![](media/image1.png){width="6.0in" height="3.6597222222222223in"}

Data file produced by the computer programs GSTAT and GSTATM and used as
input for the computer program CLAYES2K. Fields are delimited by commas;
records are delimited by dollar signs. A header file has been inserted
as the first record to show the field attributes and their order.

[]{#Figure2 .anchor}FIGURE 2

![](media/image2.png){width="5.822916666666667in"
height="7.291666666666667in"}

Hard copy of a data record produced by the computer programs GSTAT and
GSTATM. Hard copy shows sample identifiers, size distribution, method of
moments and inclusive graphics statistics, and verbal equivalents.

[]{#Figure3 .anchor}FIGURE 3

![](media/image3.png){width="4.604166666666667in" height="6.25in"}

Correlation chart showing the relationships between phi sizes,
millimeter diameters, size classifications (Wentworth, 1922), and ASTM
and Tyler sieve sizes. Chart also shows the corresponding intermediate
diameters, grains per milligram, settling velocities, and threshold
velocities for traction.

[]{#Figure4 .anchor}FIGURE 4

![](media/image4.png){width="6.0in" height="2.8895833333333334in"}

Sediment classification scheme modified from Shepard (1954) used by the
programs GSTAT, GSTATM, and GSSTAT.