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:  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. (e.g., 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 re‑enter 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 write‑up 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


DIAGNOSTICS‑BUGS: 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: , MA 02543/Larry Poppe, U.S. Geological Survey (USGS), Woods Hole, MA 02543

skip menu

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