ENTRYPage 1 of 2

NAME: entry

PURPOSE: To enter sediment data as relative frequency percents at whole phi intervals

USAGE: entry [cvgo] file_name

DESCRIPTION:This version of the program, which was written in “c” and compiled with DJGPP (v. 2.01), will run under Windows 95/98 in the Born-Again-Shell (Bash).

-o - The 'o' option allows the user to enter the data as cumulative frequency percent (an ojive). The data must be entered in decreasing values: i.e., phi [11] = 100%.

-g - The 'g' option allows the user to enter the data in groups. Each group (fines, sand or gravel) must sum to 100%.

The default entry mode is to enter the absolute frequency percent of each phi class. These must sum to 100%.

The user is prompted for all input. The user will not be prompted for a given group when no data are present for that group. (Eg., there is no sand in the sample.)

Entry for a given phi group may be restarted by typing in "re" in response to the phi prompt. A 'RE' can be entered to restart at phi[11].

-v - If the "v" option is selected, the phi intervals with corresponding relative frequency percents are displayed on the screen. If the user responds "no" to the verification, the group entries are discarded and the user may reenter that phi group.

Entering a“period” in response to the phi prompt terminates entry for that phi group.

-c - If the "c" option is selected, latitude and longitude will be entered as degrees minutes and hemisphere (N, S, E or W) and will internally be converted to decimal degrees (+/). See GSANV writeup for description of allowed sampling devices and areas.

The sample is written when all data have been entered for the current sample.

The program may be aborted at any time by hitting “Control C”

FILES:sedlab.h gstat.h

SEE ALSO: (make file = entry.m)

LISTA = entry.o getdatm.o rsetup.o getids.o prhead.o getnavm.o output.o

LISTB = getlin.o iolib.o

entry:$(LISTA) $(LISTB)

cc $(LISTA) $(LISTB) o entry lm

$(LISTA) $(LISTB): sedlab.h

$(LISTA) $(LISTB): gstat.h

DIAGNOSTICSBUGS:Each response will have a maximum field length as specified in sedlab.h. If the user response is too long, the program will specify the maximum number of characters allowed for the current response.

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

U.S. Geological SurveyWoodsHoleScienceCenterWoods Hole, MA 02543