Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- normalnav

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
normalnav
Synopsis
/infobank/programs/time/events/normalnav.for
Description
  Subroutine to create event files when no justlines.keep exists.

       
AUTHOR
  Clint Steele      3/4/2004


    
Reads
          read (InputUnit, '(q,a,t1,i4,i3,3i2,i1)', iostat = ReadStatus,
     *    end = 900)
     *        CurrentLength, CurrentRecord (1:CurrentLength), 
     *        CurrentYear,
     *        CurrentDay, CurrentHour, CurrentMinute, CurrentSecond,
     *        CurrentTenth
Writes
      write (PreviousRecord, '(1025x)')
                      write (OutputUnit, 410)
     *                    StartYear, StartDay, StartHour, 
     *                    StartMinute, StartSecond, StartTenth,
     *                    PreviousYear, PreviousDay, PreviousHour, 
     *                    PreviousMinute, PreviousSecond, PreviousTenth
                      write (OutputUnit, 411)
     *                    StartYear, StartDay, StartHour,
     *                    StartMinute, StartSecond, StartTenth,
     *                    StartYear, 366, 23, 59, 59, 9
                      write (OutputUnit, 412)
     *                    PreviousYear, 1, 0, 0, 0, 1,
     *                    PreviousYear, PreviousDay, PreviousHour,
     *                    PreviousMinute, PreviousSecond, PreviousTenth
          write (PreviousRecord, '(1025x)')
          write (OutputUnit, 413)
     *        StartYear, StartDay, StartHour, 
     *        StartMinute, StartSecond, StartTenth,
     *        PreviousYear, PreviousDay,   PreviousHour, 
     *        PreviousMinute, PreviousSecond, PreviousTenth
          write (OutputUnit, 414)
     *        StartYear, StartDay, StartHour,
     *        StartMinute, StartSecond, StartTenth,
     *        StartYear, 366, 23, 59, 59, 9
           write (OutputUnit, 415)
     *         PreviousYear, 1, 0, 0, 0, 1,
     *         PreviousYear, PreviousDay, PreviousHour,
     *         PreviousMinute, PreviousSecond, PreviousTenth
              write (OutputUnit, 467)
     *        FirstRecord(1:14), PreviousRecord(1:14)
Opens
Calls
      call stringlen (OutputFileName, OutputLength)
      call gapsize (InputUnit, OutputFileName(1:OutputLength), TimeUnit,
     *              AcceptableTimeGap)
          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/normalnav.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:38:53 PDT 2013  (chd)