Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- samp2daps

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
samp2daps
Synopsis
/infobank/programs/refmt/samp2daps/samp2daps.for
Description
  Program to convert a FACS .sample file to standard DAPS format.

       
AUTHOR
  Clint Steele      5/12/2000


    
Reads
      read (5, '(q,a)') ActivityIDLength, ActivityID
          read (90, 2, end = 99) 
     *        SampleID,
     *        EquipmentType,
     *        Day, Hour, Minute,
     *        LatDeg, Latmin,
     *        LongDeg, LongMin,
     *        CommentLength, Comment(1:CommentLength)
Writes
          write (91, 3)
     *        Year, Day, Hour, Minute, Second, Tenths,
     *        Latitude, Longitude,
     *        ActivityID(1:ActivityIDLength),
     *        EquipmentType(1:EquipmentTypeLength),
     *        SampleID(1:SampleIDLength),
     *        Comment(1:CommentLength)
Opens
Calls
      call openem (1,-1)
      call changecase ('CAPITALS', ActivityID)
          call stringlen (SampleID, SampleIDLength)
          call stringlen (EquipmentType, EquipmentTypeLength)

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