Link to USGS home page
USGS Home
Contact USGS
Search USGS
Coastal & Marine Geology InfoBank

USGS InfoBank program -- checkexistance

Skip navigational links
Search InfoBank
Home tab Atlas tab Activities tab FACS tab Geology School tab More tab Activities tabs
   
InfoBank Programs: by Name   by Topic  
   
Expanded description
Topic Description
Name
checkexistance
Synopsis
/infobank/programs/dbase/validnav/checkexistance.for
Description
  Subroutine to check for the existance of a file.

    
Opens
 open (unit = 80,
*      access = 'sequential',
*      form = 'formatted',
*      status = 'old',
*      name = '/infobank/'//ID(1:1)//'/'//
*                ID(1:IDLength)//'/nav/'//
*                LongID(1:IDLength+3)//
*                '.best_nav_file')

    
Reads
 read (80, '(q,a)', end=99)
*      AFileLength, AFile(1:AFileLength)

    
Calls
     call newerthan (AFile(1:AFileLength)//'_tmechk',
*                    AFile(1:AFileLength),
*                    Newer)

     call newerthan (AFile(1:AFileLength)//'_eotcssp',
*                    AFile(1:AFileLength),
*                    Newer)

     call newerthan (AFile(1:AFileLength)//'_checkeot',
*                    AFile(1:AFileLength)//'_eotcssp',
*                    Newer)

     call newerthan (AFile(1:AFileLength)//'_events',
*                    AFile(1:AFileLength)//'_checkeot',
*                    Newer)

     call newerthan ('/infobank/'//ID(1:1)//'/'//
*                    ID(1:IDLength)//'/html/'//
*                    LongID(1:IDLength+3)//
*                    '.nav.gif',
*                    AFile(1:AFileLength)//'_events',
*                    Newer)

     call newerthan ('/infobank/'//ID(1:1)//'/'//
*                    ID(1:IDLength)//'/meta/'//
*                    LongID(1:IDLength+3)//
*                    '.navarea',
*                    AFile(1:AFileLength)//'_events',
*                    Newer)

    

Skip footer navigational links


InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  

FirstGov button   Take Pride in America button