Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- ids4area

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
ids4area
Synopsis
/infobank/programs/gaz/ids4area/ids4area.for
Description
  Program to generate lists of .ids for each atlas area.

       
EXECUTION_TIME
  6 seconds

    
AUTHOR
  Clint Steele     4/19/2004


    
Reads
          read (90, '(a13)', end = 98) ALine
         read (90, '(a13)', end = 99) ALine
          read (92, '(q,a)', end = 999)
     *        GazLineLength, GazLine(1:GazLineLength)
Writes
          write (91, '(a13)') ALine
          write (91, '(a)') ALine(1:AreaLength)
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = 
     *        '/infobank/programs/gaz/atlaskeepfiles/atlas.list.keep')
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/ids4area.trim.temp')
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/ids4area.sort.temp')
             open (unit = 91,
     *             access = 'sequential',
     *             form = 'formatted',
     *             status = 'unknown',
     *             name = '/infobank/gazette/ids/regions/'//
     *                    Area(10:AreaLength)//'.ids')
      open (unit = 92,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/keep/gazette.keep')
              open (unit = 93,
     *              access = 'sequential',
     *              form = 'formatted',
     *              status = 'new',
     *              name = '/infobank/gazette/ids/regions/'//
     *                     GazLine(Slash(4)+1:Slash(5)-1)//'.ids')
Calls
          call changecase ('SMALLS', ALine)
      call system ('/bin/sort -u -b -k 2 -k 1 '//
     *    '/infobank/tmp/ids4area.trim.temp > 
     *    '/infobank/tmp/ids4area.sort.temp')
      call system ('/bin/rm /infobank/tmp/ids4area.trim.temp')
          call system ('/bin/mkdir '//
     *        '/infobank/gazette/ids/regions'//
     *        ';/bin/cp /infobank/gazette/index.html '//
     *        '/infobank/gazette/ids/regions/index.html')
          call system ('/bin/mkdir '//
     *        '/infobank/gazette/jpg/regions'//
     *        ';/bin/cp /infobank/gazette/index.html '//
     *        '/infobank/gazette/jpg/regions/index.html')
          call system ('/bin/mkdir '//
     *        '/infobank/gazette/html/regions'//
     *        ';/bin/cp /infobank/gazette/index.html '//
     *        '/infobank/gazette/html/regions/index.html')
          call system ('/bin/mkdir '//
     *        '/infobank/gazette/htmlids/regions'//
     *        ';/bin/cp /infobank/gazette/index.html '//
     *        '/infobank/gazette/htmlids/regions/index.html')
             call stringlen (Area, AreaLength)
          call changecase ('SMALLS', GazLine(1:GazLineLength))

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