Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- fixnames

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
fixnames
Synopsis
/infobank/programs/meters/fixnames/fixnames.for
Description
  Program to convert filenames for metering data to

  standard convention.
       
AUTHOR
  Clint Steele  6/9/2000


    
Reads
      read (5, '(q,a)', end = 99) idlength, ID
          read (90, '(q,a)', end = 99) inlength, inname(1:inlength)
Writes
          write (inname,  '(255x)')
          write (outname, '(255x)')
          write (part(2), '(80x)')
          write (part(3), '(80x)')
          write (part(4), '(80x)')
          write (part(5), '(80x)')
          write (part(6), '(80x)')
          write (part(7), '(80x)')
          write (91, 2) inname(1:inlength), outname(1:outlength)
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/fixnames.temp')
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = 'renamem')
Calls
      call changecase ('SMALLS', ID(1:idlength))
      call system ('ls -1 /infobank'//
     *             '/'//id(1:1)//
     *             '/'//id(1:idlength)//
     *             '/meter/* > /infobank/tmp/fixnames.tem
          call changecase ('SMALLS', insmall)
          call stringlen (part(2), length(2))
          call stringlen (part(3), length(3))
          call stringlen (part(4), length(4))
          call stringlen (part(4), length(4))
          call stringlen (part(5), length(5))
          call stringlen (part(6), length(6))
          call stringlen (part(7), length(7))
          call stringlen (outname, outlength)
      call system ('more renamem')

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