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

USGS InfoBank program -- mainmakefmeta

Skip navigational links
Search InfoBank
Home tab Atlas tab Activities tab FACS tab Geology School tab More tab More tab Activities tabs
   
InfoBank Programs: by Name   by Topic  
   
Expanded description
Topic Description
Name
makefmeta
Synopsis
/infobank/programs/html/makefmeta/mainmakefmeta.for
Description
  Program to make formal metadata for DAPS data.
    
Author
  Clint Steele    1/16/98


    
Opens
 open (unit   = ErrorUnit,
*      status = 'unknown',
*      access = 'sequential',
*      form   = 'formatted',
*      file   = '/tmp/makefmeta_errorlog.temp')

 open (unit   = ControlUnit,
*      file   = '/tmp/makefmeta.control.temp',
*      access = 'sequential',
*      form   = 'formatted',
*      status = 'old') 

    
Reads
 read (ControlUnit, '(a)', end = 99) ShortID
    
Writes
 write (Blank, '(80x)')
 write (ErrorFlag, '(10x)')
     write (ErrorUnit, '(a,2x,a)') ShortID(1:IDLength), ErrorFlag
     write (ErrorUnit, '(a)') ShortID(1:IDLength)
    
Calls
 call stringlen (ShortID, IDLength)
 call setup (LongID, CapLongID, ShortID, IDLength,
*            MetaExists, AreaExists, DatesExists, 
*            OverviewExists, HtmlExists, PlaceExists, PubsExists,
*            NavExists, GravExists, MagExists, BathExists, 
*            SampExists, SeisExists, AnalogExists,
*            CamerasExists, MetersExists, 
*            BioExists, GeoExists, ImagExists, SubExists,
*            DataExists,
*            Aka, AkaExists,
*            TempUnit, OutUnit, 
*            ErrorFlag)

 call section1  (LongID, CapLongID, ShortID, IDLength,
*                TempUnit, OutUnit,
*                OverviewExists, HtmlExists, DatesExists,
*                AreaExists, PlaceExists, PubsExists,
*                NavExists, GravExists, MagExists, 
*                BathExists, SampExists, SeisExists,
*                CamerasExists, MetersExists, 
*                BioExists, GeoExists, ImagExists, SubExists,
*                DataExists,
*                LongYear, Aka, AkaExists, Currency)

     call section2  (LongID, CapLongID, ShortID, IDLength,
*                DataExists,
*                TempUnit, OutUnit)

     call section3  (LongID, CapLongID, ShortID, IDLength,
*                DataExists,
*                TempUnit, OutUnit)

     call section4  (LongID, CapLongID, ShortID, IDLength,
*                DataExists, LongYear,
*                TempUnit, OutUnit)

     call section5  (LongID, CapLongID, ShortID, IDLength,
*                TempUnit, OutUnit,
*               NavExists, GravExists, MagExists, BathExists,
*               SampExists, SeisExists, AnalogExists,
*               CamerasExists, MetersExists,
*               BioExists, GeoExists, ImagExists, SubExists,
*               DataExists)

     call section6  (LongID, CapLongID, ShortID, IDLength,
*                DataExists,
*                TempUnit, OutUnit, Aka, AkaExists, Currency)

 call section7  (LongID, CapLongID, ShortID, IDLength,
*                DataExists,
*                TempUnit, OutUnit)

 call system ('/bin/cat /tmp/makefmeta_errorlog.temp '//
*    '| grep " "')
 call system ('/bin/rm /tmp/makefmeta_errorlog.temp')
    

Skip footer navigational links


InfoBank   Menlo Park & Santa Cruz Centers   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