Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- events4pairs

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
events4pairs
Synopsis
/infobank/programs/dbase/events4pairs/events4pairs.for
Description
   Program to construct _events files 

   from a list of .onoff. files 
   that contain start/end or on/off information.
       
AUTHOR
   Clint Steele      9/20/2001


    
Reads
          read (90, '(q,a)', end = 99)
     *        InFileLength, InFile(1:InFileLength)
              read (91, '(q,a)', end = 98)
     *            ThisLineLength, ThisLine(1:ThisLineLength)
Writes
          write (LastLine, '(2048x)')
                          write (92, '(a,2x,a,2x,a,2x,a)')
     *                        '1',
     *                        LastLine(1:14),
     *                        ThisLine(1:14),
     *                        LastLine(80:88)
                          write (LastLine, '(2048x)')
                          write (ThisLine, '(2048x)')
                          write (92, '(a,2x,a,2x,14x,2x,a)')
     *                        '1',
     *                        LastLine(1:14),
     *                        LastLine(80:88)
                          write (92, '(a,2x,14x,2x,a,2x,a)')
     *                        '1',
     *                        ThisLine(1:14),
     *                        ThisLine(80:88)
                          write (LastLine, '(2048x)')
                          write (ThisLine, '(2048x)')
                          write (92, '(a,2x,a,2x,14x,2x,a)')
     *                        '1',
     *                        LastLine(1:14),
     *                        LastLine(80:88)
                          write (LastLine, '(2048x)')
                          write (92, '(a,2x,14x,2x,a,2x,a)')
     *                        '1',
     *                        LastLine(1:14),
     *                        LastLine(80:88)
                          write (92, '(a,2x,14x,2x,a,2x,a)')
     *                        '1',
     *                        ThisLine(1:14),
     *                        ThisLine(80:88)
                          write (LastLine, '(2048x)')
              write (92, '(a,2x,a,2x,14x,2x,a)')
     *               '1',
     *               LastLine(1:14),
     *               LastLine(80:88)
              write (92, '(a,2x,14x,2x,a,2x,a)')
     *               '1',
     *               LastLine(1:14),
     *               LastLine(80:88)
              write (92, '(a,2x,a,2x,14x,2x,a)')
     *               '1',
     *               ThisLine(1:14),
     *               ThisLine(80:88)
              write (92, '(a,2x,14x,2x,a,2x,a)')
     *               '1',
     *               ThisLine(1:14),
     *               ThisLine(80:88)
Opens
          open (unit = 91,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'old',
     *          name = InFile(1:InFileLength))
          open (unit = 92,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'unknown',
     *          name = InFile(1:InFileLength)//'_events')
Calls
      call openem (1,0)

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