Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- validplatform

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
validplatform
Synopsis
/infobank/programs/dbase/validplatform/validplatform.for
Description
  Program to verify that the .platform file's contents are

  a valid platform name.
       
AUTHOR
  Clint Steele      4/19/2002


    
Reads
          read (90, '(q,a)', end=99)
     *        TabLineLength, TabLine(1:TabLineLength)
          read (91, '(t13,q,a)', end = 98) 
     *        platformfilelength, platformfile(1:platformfilelength)
          read (92, '(t10,q,a)')
     *        shiplength, ship(1:shiplength)
Writes
              write (93, '(a,4x,a)')
     *             ship(1:shiplength),
     *             platformfile(1:platformfilelength)
                   write (93, '(a,4x,a)')
     *             ship(1:shiplength),
     *             platformfile(1:platformfilelength)
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/programs/keep/platforms.keep')
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/validplatform.files.temp')
      open (unit = 93,
     *    access = 'sequential',
     *    form = 'formatted',
     *    status = 'unknown',
     *    name = '/infobank/tmp/validplatform.badplatforms.temp')
          open (unit = 92,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'old',
     *          name = platformfile(1:platformfilelength))
Calls
          call stringlen (known(knowncount), knownlength(knowncount))
      call system ('/bin/grep .platform$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep /meta/ > 
     *    '/infobank/tmp/validplatform.files.temp')
          call stringlen (ship(1:shiplength), shiplength)
      call system (
     *  '/bin/sort /infobank/tmp/validplatform.badplatforms.temp '//
     *  ' > /infobank/programs/dbase/validplatform/badplatforms.kee

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