Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- whid

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
whid
Synopsis
/infobank/programs/refmt/whprereport2meta/whid.for
Description
  Subroutine to make a .ids file for whreport2html

       
AUTHOR
  Clint Steele    11/3/2006

  set for post-cruise '2. Pre-Field Activity Serial Number'
  added for pre-cruise 'Serial Number' - CDegnan, 9/26/2007
  added handling of YYYY-$$$-FA IDs -  Clint Steele  1/15/2010

    
Reads
          read (90, '(q,a)', end=99) ALineLength, ALine(1:ALineLength)
Writes
          write (91, '(a,t10,a,t30,a)') 
     *        CapID(1:CapIDLength), ALine(IStart:ALineLength),
     *        '<a href="http://walrus.wr.usgs.gov
     *        '/infobank/'//SmallHyphenID(1:1)//'/'//
     *        SmallID(1:CapIDLength)//'/html/'//
     *        SmallHyphenID(1:CapIDLength+3)//'.meta.html">
     *        ALine(IStart:ALineLength)//'</
          write (92, '(a,t10,a,t30,a)')   
     *        CapID(1:CapIDLength), CapHyphenID(1:CapIDLength+3),
     *        '<a href="http://walrus.wr.usgs.gov
     *        '/infobank/'//SmallHyphenID(1:1)//'/'//
     *        SmallID(1:CapIDLength)//'/html/'//
     *        SmallHyphenID(1:CapIDLength+3)//'.meta.html">
     *        CapHyphenID(1:CapIDLength+3)//'</
              write (92, '(a,t10,a,t30,a)') 
     *            CapID(1:CapIDLength), ALine(IStart:ALineLength),
     *            '<a href="http://quashnet.er.usgs.gov/data/
     *            ALine(IStart:IStart+3)//'/'//
     *            ALine(IStart+2:IStart+3)//
     *            ALine(IStart+5:IStart+7)//
     *            '/index.html">'//ALine(IStart:ALineLength)//'&l
Opens
      open (unit   = 91,
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown',
     *      name   = OutName(1:OutNameLength)//'.ids')
      open (unit   = 92,
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown',
     *      name   = OutName(1:OutNameLength)//'.akas')
Calls
      call stringlen (ALine, ALineLength)
      call stringlen (CapID, CapIDLength)
      call stringlen (OutName, OutNameLength)
      call changecase ('SMALLS', SmallID)
      call changecase ('CAPITALS', CapHyphenID(1:CapIDLength+3))
      call changecase ('SMALLS', SmallHyphenID(1:CapIDLength+3))
               call stringlen (ALine(1:ALineLength), ALineLength)
          call stringlen (ALine(1:ALineLength), ALineLength)
          call changecase ('CAPS', ALine(IStart:ALineLength))

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