Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- sampsnavfolder

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
sampsnavfolder
Synopsis
/infobank/programs/kml/samps2kmlinc/sampsnavfolder.for
Description
  Subroutine to create a .seisnav.kmlinc file

       
AUTHOR
  Clint Steele    3/2/2008

  Sumy Tom        3/20/2008

    
Reads
      read (80, '(q,a)', end=199) OnOffFilenameLength, OnOffFilename
Writes
      write (SampsNavName, '(1024x)')
      write (SampsNavUnit, '(2x,a)') '<Folde
      write (SampsNavUnit, '(4x,a)') 
     * '<name>'//ID(1:IDLength) // 
     * OnOffFilename(LastDot+1:OnOffFilenameLength)//'</nam
      write (SampsNavUnit, '(2x,a)') '</Folde
Opens
      open (unit = OnOffFile,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = OnOffFilename(1:OnOffFilenameLength))
      open (unit = SampsNavUnit,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = SampsNavName(1:SampsNavLength))
Calls
      call stringlen (SampsNavName, SampsNavLength)
          call system ('/bin/rm '//
     *                   SampsNavName(1:SampsNavLength))
      call stringlen(EqType, EqTypeLength)
        call sampsnavshelper
     *     (ALine, ALineLength, Lat, 
     *      Long, SampleID,SampleLength,
     *      SampsNavUnit, ID, IDLength,LongID,
     *      OnOffFilename,OnOffFilenameLength,
     *      LastDot, AkaID, AkaIDLength, CapID,
     *      OnOffFile, outcount)
      call sampsnavshelper2
     *     (ALine, ALineLength, Lat, 
     *      Long, SampleID,SampleLength,
     *      SampsNavUnit, ID, IDLength,LongID,
     *      OnOffFilename,OnOffFilenameLength,
     *      LastDot, AkaID, AkaIDLength, CapID,
     *      OnOffFile, outcount)
      call samps2kmlinccat (ID(1:IDLength), IDLength, cType)

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