Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- checkdate

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
checkdate
Synopsis
/infobank/programs/dbase/checkdate/checkdate.for
Description
  Program to verify that a .dates file mm/dd/yy dates

  match with corresponding julian dates.
       
AUTHOR
  Clint Steele    02/21/2008

  based on validdates

    
Reads
      read (5, '(q,a)', end = 99) IDLength,ID(1:IDLength)
      read (90, '(q,a)', end = 99)
     *    DateLineLength, DateLine(1:DateLineLength)
          read (DateLine(1:DateLineLength), 
     * '(a7,t10,i2,1x,i2,1x,i4,t25,i3,t34,i2,1x,i2,1x,i4,t49,i3)')
     *        ID, StartMonth, StartDay, StartYear, StartJDay,
     *        EndMonth, EndDay, EndYear, EndJDay
Writes
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/'//ID(1:1)//'/'//ID(1:IDLength)//
     *             '/meta/'//LongID(1:IDLength+3)//'.dates')
Calls
      call changecase ('SMALLS', ID(1:IDLength))
          call julianday ('JULIAN', StartTempDay,
     *        StartYear, StartMonth, StartDay)
          call julianday ('JULIAN', EndTempDay,
     *        EndYear, EndMonth, EndDay) 

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/dbase/checkdate/checkdate.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:52 PDT 2013  (chd)