Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- findbydate2html

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
findbydate2html
Synopsis
/infobank/programs/html/findbydate2html/findbydate2html.for
Description
  Program to find activity ID by date

  Author
  Alex Ma     9/28/06

       
Reads
          read (95, '(q,a)', end = 199)
     *            InfoLength, Info(1:InfoLength)
              read (Info(10:11), '(i)') StartMonth
              read (Info(13:14), '(i)') StartDay
              read (Info(16:19), '(i)') StartYear
              read (Info(25:27), '(i)') StartJD
              read (Info(34:35), '(i)') EndMonth
              read (Info(37:38), '(i)') EndDay
              read (Info(40:43), '(i)') EndYear
              read (Info(49:51), '(i)') EndJD
Writes
          write (87, '(4x,a)') '</t
          write (87, '(2x,a)') '</t
          write (87, '(a)')    '</tabl
      write (87, '(2x,a)') '<tabl
          write (CharJD, '(i3.3)') JDCount
              write (87, '(4x,a)') '<t
          write (87, '(6x,a)') '<t
          write (87, '(6x,a)') '<a href="http://walrus.wr.usgs.gov
     *          '/infobank/programs/html/findbydate2html/datelist/'//
     *          CharJD//'.html">'//CharJD//'&l
          write (87, '(6x,a)') '</t
              write (87, '(4x,a)') '</t
      write (87, '(2x,a)') '</tabl
          write (CharJD, '(i3.3)') CurrentJD
          write (JDFile, '(4x,a)') '</t
          write (JDFile, '(2x,a)') '</t
          write (JDFile, '(a)')    '</tabl
          write (JDFile, '(a)')    '<tabl
                      write (JDFile, '(2x,a)') '<t
                  write (JDFile, '(4x,a)') '<t
                  write (JDFile, '(6x,a)') Info(1:9)
                  write (JDFile, '(4x,a)') '</t
                  write (JDFile, '(2x,a)') '</t
          write (JDFile, '(a)') '</tabl
Opens
      open (unit = 87,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/html'//
     *             '/findbydate2html/jdindex.html')
      open (unit = 95,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/dates.temp')
          open (unit = JDFile,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'unknown',
     *          name = '/infobank/programs/html/'//
     *                'findbydate2html/datelist/'//
     *                 CharJD//'.html')
Calls
      call htmlhead (87, 'JD Index')
      call includeit (87,
     *            '/infobank/programs/html/tools/home.tabs')
      call includeit (87,
     *            '/infobank/programs/html/tools/home.uses.tabs')
      call includeit (87,
     *            '/infobank/programs/html/tools/home.cmgstaff.tabs')
      call includeit (87,
     *         '/infobank/programs/html/tools/home.cmgfacilities.tabs')
      call includeit (87,
     *         '/infobank/programs/html/tools/home.cmgdirections.tabs')
      call includeit (87,
     *            '/infobank/programs/keep/contents.keep')
      call stringlen (Path, PathLength)
      call htmlfoot (87, Path(1:PathLength))
      call system ('/bin/cat /infobank/'//
     *       Alphabet(AlphaCount:AlphaCount)//
     *       '/*/meta/*.dates > /infobank/tmp/dates.tem
          call system ('/bin/cat /infobank/'//
     *     Alphabet(AlphaCount:AlphaCount)//
     *     '/*/meta/*.dates >> /infobank/tmp/dates.
      call stringlen (Path, PathLength)
          call htmlhead (JDFile, 'Activities By Date: JD '//CharJD)
          call includeit (JDFile,
     *            '/infobank/programs/html/tools/home.tabs')
          call includeit (JDFile,
     *            '/infobank/programs/html/tools/home.uses.tabs')
          call includeit (JDFile,
     *            '/infobank/programs/html/tools/home.cmgstaff.tabs')
          call includeit (JDFile,
     *         '/infobank/programs/html/tools/home.cmgfacilities.tabs')
          call includeit (JDFile,
     *         '/infobank/programs/html/tools/home.cmgdirections.tabs')
          call includeit (JDFile,
     *            '/infobank/programs/keep/contents.keep')
          call htmlfoot (JDFile, Path(1:PathLength))

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/html/findbydate2html/findbydate2html.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Nov 4 03:40:50 PST 2013  (chd)