Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- facsstatus

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
facsstatus
Synopsis
/infobank/programs/html/facsstatus/facsstatus.for
Description
  Program to create .html's from facs status list.

       
AUTHOR
  Clint Steele    11/19/98


    
Reads
      read (90, '(///)')
          read (90, '(a,/,a)', end = 99) 
     *          ALine(Count+1), BLine(Count+1)
          read (92, '(i3,1x,q,a)', end = 90) 
     *            Counter, Length, Line(1:Length)
          read (92, '(i3,1x,q,a)', end = 91) 
     *            Counter, Length, Line(1:Length)
          read (92, '(i3,1x,q,a)', end = 92) 
     *            Counter, Length, Line(1:Length)
          read (92, '(i3,1x,q,a)', end = 93) 
     *            Counter, Length, Line(1:Length)
          read (92, '(i3,1x,q,a)', end = 94) 
     *            Counter, Length, Line(1:Length)
          read (92, '(i3,1x,q,a)', end = 95) 
     *            Counter, Length, Line(1:Length)
Writes
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 30) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 31) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 32) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 33) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 34) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
      write (93, 10) 
      write (93, 70)
          write (93, 13)
          write (93, 35) ALine(Counter)(1:10),
     *                   ALine(Counter)(12:19),
     *                   ALine(Counter)(21:28),
     *                   ALine(Counter)(30:38),
     *                   ALine(Counter)(40:49),
     *                   ALine(Counter)(51:51),
     *                   ALine(Counter)(53:ALength),
     *                   BLine(Counter)(1:BLength)
          write (93, 14)
      write (93, 70)
      write (93, 11)
          write (91, '(i3.3,1x,a)') Loop, 
     *              Line(Loop)(StartCol:TempEnd)
Opens
      open (unit   = 90,
     *      name   = 
     *         '/infobank/programs/keep/facs.keep',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/ids.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/ids.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/dates.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/dates.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/status.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/status.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/ratings.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/ratings.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/chiefs.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/chiefs.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 92,
     *      name   = '/infobank/programs/html/facsstatus/projects.sort',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
      open (unit   = 93,
     *      name   = '/infobank/programs/html/facsstatus/projects.html',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
      open (unit   = 91,
     *      name   = '/infobank/programs/html/facsstatus/'//
     *               Column//'.temp',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown')
Calls
      call sorter (Count, 'ids',      ALine,  1, 10, '2')
      call sorter (Count, 'dates',    ALine, 12, 28, 
     *                              '2.7,2.8 -k 2.1,2.8')
      call sorter (Count, 'status',   ALine, 30, 49, '2')
      call sorter (Count, 'ratings',  ALine, 51, 51, '2')
      call sorter (Count, 'chiefs',   ALine, 53,  0, '3')
      call sorter (Count, 'projects', BLine,  1,  0, '2')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Activity IDs')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'ids.html')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Dates')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'dates.html')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Status')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'status.html')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Ratings')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'ratings.html')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Chief Scientists')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'chiefs.html')
      call htmlhead (93, 'USGS WR CMG FACs Status--by Projects')
          call stringlen (ALine(Counter), ALength)
          call stringlen (BLine(Counter), BLength)
      call htmlfoot (93, 'http://walrus.wr.usgs.gov/infobank/'//
     *                   'programs/html/facsstatus/'//
     *                   'projects.html')
      call system ('sort -b -k '//Key//' '//
     *             '/infobank/programs/html/facsstatus/'//
     *             Column//'.temp > 
     *             '/infobank/programs/html/facsstatus/'//
     *             Column//'.sort')

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/html/facsstatus/facsstatus.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Nov 4 03:40:31 PST 2013  (chd)