Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- gapsize

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
gapsize
Synopsis
/infobank/programs/time/events/gapsize.for
Description
  Subroutine to establish time gap size when justlines.keep exists.

       
AUTHOR
  Clint Steele      3/4/2004


    
Reads
          read (InputUnit, '(q,a,t1,i4,i3,3i2,i1)', iostat = ReadStatus,
     *    end = 900)
     *        RecordLength, InputRecord (1:RecordLength), CurrentYear,
     *        CurrentDay, CurrentHour, CurrentMinute, CurrentSecond,
     *        CurrentTenth
Writes
      write (LastRecord, '(1025x)')
      write (TimeUnit, '(a,i5,a,/)') 
     *    '  Time gap = ', AcceptableTimeGap / 10,
     *    ' seconds.'
Opens
      open (unit = TimeUnit,
     *      access = 'sequential',
     *      file = OutputFileName(1:OutputLength)//'_timegap',
     *      form = 'formatted',
     *      status = 'unknown')
Calls
      call stringlen (OutputFileName, OutputLength)
          call converttime ('COMPRESS', CurrentDay, CurrentHour,
     *                          CurrentMinute, CurrentSecond,
     *                          CurrentTenth, CurrentTime, TimeError)
              call converttime ('EXPAND', DeltaDay, DeltaHour, 
     *                              DeltaMinute, DeltaSecond,
     *                              DeltaTenth, abs (DeltaTime),
     *                              TimeError)

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/time/events/gapsize.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:38:53 PDT 2013  (chd)