Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- dig2depths

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
dig2depths
Synopsis
/infobank/programs/refmt/dig2depths/dig2depths.for
Description
  Program to convert digitized depths to DAPS standard format.

       
AUTHOR
  Clint Steele   5/14/98


    
Reads
      read (5, '(i4)', end = 99) Year
      read (5, '(q,a)', end = 99) OutLength, OutName
          read (90, '(q,a)', end = 99) Length, ALine(1:Length)
              read (ALine(8:Length), '(a)') Horizon
              read (ALine(1:Length), 2) 
     *                 Day, Hour, Minute, Second, Depth
Writes
          write (ALine, '(512x)')
              write (Horizon, '(80x)')
              write (91, 3) Year, Day, Hour, Minute, Second, 
     *                      Depth, Horizon(1:HorizonLength)
              write (92, 4) ALine(1:Length)
Opens
      open (unit = 92,
     *      access = 'append',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = OutName(1:OutLength)//'.header')
              open (unit   = 91,
     *              access = 'append',
     *              form   = 'formatted',
     *              status = 'unknown',
     *              name   = OutName(1:OutLength)//'.310_'//
     *                       Horizon(1:HorizonLength))
Calls
      call openem (1,0)
              call stringlen (Horizon, HorizonLength)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/refmt/dig2depths/dig2depths.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:38:41 PDT 2013  (chd)