Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- fixrollovers

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
fixrollovers
Synopsis
/infobank/programs/time/fixrollovers/fixrollovers.for
Description
  Program to correct invalid time rollovers.

  Ex: change 60 minutes to 1 hour.
       
AUTHOR
  Clint Steele     10/3/01


    
Reads
          read (90, '(q,a)', end = 99)
     *        ALineLength, ALine(1:ALineLength)
          read (ALine(5:14), '(i3,3i2,i1)')
     *        Day, Hour, Minute, Second, Tenths
Writes
          write (91, '(a,i3.3,3i2.2,i1.1,a)')
     *        ALine(1:4),
     *        Day, Hour, Minute, Second, Tenths,
     *        ALine(15:ALineLength)
Opens
Calls
      call openem (1,1)
          call converttime ('COMPRESS',
     *        Day, Hour, Minute, Second, Tenths,
     *        Time, ErrorFlag)
          call converttime ('EXPAND',
     *        Day, Hour, Minute, Second, Tenths,
     *        Time, ErrorFlag)

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