Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- westerngecohalf

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
westerngecohalf
Synopsis
/infobank/programs/refmt/westerngeco/westerngecohalf.for
Description
  Program to reformat Weserngeco seg-pi files to DAPS format

  when more than 365 lines occur.
       
AUTHOR
  Clint Steele    1/28/2004


    
Reads
      read (5, '(q,a)', end = 99)
     *    InLength, InFile(1:InLength)
      read (5, '(q,a)', end = 99)
     *    IDLength, ID(1:IDLength)
          read (ID(3:4), '(i2)') Year
          read (ID(4:5), '(i2)') Year
          read (90, '(q,a)', end=99) 
     *        ALineLength, ALine(1:ALineLength)
              read (ALine(StartLat:N-1), '(i2,i2,f4.2)')
     *            LatDeg, LatMin, LatSec
              read (ALine(StartLon:W-1), '(i3,i2,f4.2)')
     *            LongDeg, LongMin, LongSec
Writes
      write (93, '(a,t10,a)') BigID, 'Jon Childs'
      write (93, '(a,t10,a)') BigID, 'geophysical survey'
      write (93, '(a,t10,a)') BigID, 'WesternGeco'
              write (91, '(i4.4,i3.3,i2.2,i5.5,t16,f9.5,t26,f10.5,1x,
     *            a)')
     *            Year,Day,Hour,Count,Latitude, Longitude,
     *            ALine(1:StartLat-1)//' '//ALine(W+1:ALineLength)
                  write (92, '(a,t10,a)') BigID,
     *                ALine(Colon+1:ALineLength-1)//'<b
                  write (93, '(a,t10,a,t30,a)') BigID(1:IDLength),
     *                BigLongID(1:IDLength+3),
     *                '<a href="http://walrus.wr.usgs.gov/infobank/
     *                ID(1:1)//'/'//ID(1:IDLength)//'/html/'//
     *                LongID(1:IDLength+3)//'.meta.html">
     *                BigLongID(1:IDLength+3)//'</
                  write (93, '(a,t10,a,t30,a)') BigID(1:IDLength),
     *                ALine(33:Colon-1),
     *                '<a href="http://walrus.wr.usgs.gov/infobank/
     *                ID(1:1)//'/'//ID(1:IDLength)//'/html/'//
     *                LongID(1:IDLength+3)//'.meta.html">
     *                ALine(33:Colon-1)//'</
                  write (93, '(a,t10,a)') 
     *                 BigID, ALine(Colon+1:ALineLength)
                  write (92, '(a)') ALine(Blank+1:ALineLength-1)//'<b
                  write (93, '(a)') 
     *                '/infobank/'//
     *                ID(1:1)//'/'//ID(1:IDLength)//'/nav/'//
     *                LongID(1:IDLength+3)//'.050'
                  write (93, '(a)') 
     *                '/infobank/'//
     *                ID(1:1)//'/'//ID(1:IDLength)//'/seis/'//
     *                LongID(1:IDLength+3)//'.420_050'
      write (93, '(a,t10,a,i2.2,a,i3.3,a)') BigID, '01/01/19'//
     *     ID(IDLength-3:IDLength-2)//
     *     ' (JD 001) --> 01/',Day,'/19
     *     ID(IDLength-3:IDLength-2)//
     *     ' (JD ',Day,')'
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = InFile(1:InLength))
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.050')
      open (unit = 92,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.notes')
      open (unit = 93,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.infospecialist')
      open (unit = 93,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.activitytype')
      open (unit = 93,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.organization')
                  open (unit = 93,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  name = LongID(1:IDLength+3)//'.ids')
                  open (unit = 93,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  name = LongID(1:IDLength+3)//'.akas')
                  open (unit = 93,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  name = LongID(1:IDLength+3)//'.operationarea')
                  open (unit = 93,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  name = LongID(1:IDLength+3)//'.best_nav_file')
                  open (unit = 93,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  name = LongID(1:IDLength+3)//'.best_seis_file')
      open (unit = 93,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = LongID(1:IDLength+3)//'.dates')
Calls
      call changecase ('SMALLS', ID(1:IDLength))
      call changecase ('CAPITALS', BigID(1:IDLength))
      call changecase ('CAPITALS', BigLongID(1:IDLength+3))

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