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

SOFTWARE DOCUMENTATION - GSANV

 

radio button Quick BASIC Software

radio button - current selection C Language Software

radio button Visual BASIC Software


NAME:  gsanv

 

PURPOSE: To facilitate keyboard entry of navigation and descriptive information associated with raw sediment data processed during grain-size analysis.

 

USAGE: gsanv [-c] 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). The program prompts the user for each of the parameters to be entered and produces an output file. All prompts are self-explanatory.

 

-c - When the “-c” option is specified on the run-line, the latitude and longitude are expected as “deg min Q” where Q is N, S, E, or W. These values are then converted into decimal degrees; S and W are converted to negative values. Otherwise, the navigation is expected as plus/minus decimal degrees.

 

A “Control C” will cause immediate termination of the program. All data entered during the current run will be lost.

 

A carriage return in response to the sampling device, area, depth, top depth, or bottom depth prompts will cause the default value to be used as the response. The default value, which after the first record is the previous response for a particular attribute, is displayed in the parentheses of the prompt. A dash and carriage return in response to the prompt will enter a blank as the response. The depth is expected in meters; the top and bottom depths are expected in centimeters.

 

Entering a “period” at the lab number prompt closes the program and saves the input.

 

FILES: gsanv.c, sedlab.h, iolab.c

 

SEE ALSO: gstat

 

DIAGNOSTICS/BUGS: No imbedded commas or spaces are allowed in the responses.

 

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

skip menu
 

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