Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- kmlinc2incgroups

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
kmlinc2incgroups
Synopsis
/infobank/programs/kml/kmlinc2incgroups/kmlinc2incgroups.for
Description
  Program to group .kmlinc file according to the equipment type

       
AUTHOR
  Sumy Tom        3/28/2008


    
Reads
      read(*, '(q,a)') DTLength, DataType
 1     read(90, '(q,a)', end = 99) KmlFileNameLength, KmlFileName
 2      read(91, '(a)', end = 3)  
      read( KmlFileName
     * (FirstDot + 1 : NextDot), '(q,a)')
     * EqTypeLength, EqTypeName
Writes
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/group.txt')
       open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = KmlFileName(1:KmlFileNameLength))
Calls
       call system ('/bin/rm 
     *       /infobank/programs/kml/kmlinc2incgroups/'//
     *       DataType(1:DTLength)//'ids/*')
       call system ('/bin/mkdir 
     *       /infobank/programs/kml/kmlinc2incgroups/'//
     *        DataType(1:DTLength)//'ids') 
        call system ('/bin/rm 
     *  /infobank/programs/kml/kmlinc2incgroups/'//
     *   DataType(1:DTLength)//'eps/*')
        call system ('/bin/mkdir 
     *      /infobank/programs/kml/kmlinc2incgroups/'//
     *       DataType(1:DTLength)//'eps')
        call system ('/bin/rm 
     *  /infobank/programs/kml/kmlinc2incgroups/'//
     *   DataType(1:DTLength)//'navs/*')
        call system ('/bin/mkdir 
     *      /infobank/programs/kml/kmlinc2incgroups/'//
     *       DataType(1:DTLength)//'navs')
      call system ('/bin/rm /infobank/tmp/group.txt')
          call system ('/bin/ls -1 '//
     *        '/infobank/'//Alphabet(Loop:Loop)//'/*/html/'//
     *        '*'//DataType(1:DTLength)//'* >> /infobank/tmp/group
         call system ('/bin/cat '//
     *   KmlFileName(FirstSlash : KmlFileNameLength)// 
     *   '  >>
     *   ' /infobank/programs/kml/kmlinc2incgroups/'//
     *   DataType(1:DTLength)//'ids/'
     *   //'ids.'//
     *   EqTypeName(1:EqTypeLength)//'kmlinc')
         call system ('/bin/cat '//
     *   KmlFileName(FirstSlash : KmlFileNameLength)// 
     *   '  >>
     *   ' /infobank/programs/kml/kmlinc2incgroups/'//
     *   DataType(1:DTLength)//'eps/'
     *   //'eps.'//
     *   EqTypeName(1:EqTypeLength)//'kmlinc')
        call system ('/bin/cat '//
     *  KmlFileName(FirstSlash : KmlFileNameLength)// 
     *  '  >>
     *  ' /infobank/programs/kml/kmlinc2incgroups/' //
     *   DataType(1:DTLength)//'navs/' 
     *    //'navs.'//
     *   EqTypeName(1:EqTypeLength)//'kmlinc')

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