Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- adjust

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
adjust
Synopsis
/infobank/programs/plt/naved/adjust.for
Description
  Subroutine to perform linear interpolation for NAVED.

       
AUTHOR
  Clint Steele          

    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call adjust                           (with the following arguments)
         StatusFlag                  [variable char*4 ar]
         TekWest                     [variable i*4 a]
         TekEast                     [variable i*4 a]
         TekSouth                    [variable i*4 a]
         TekNorth                    [variable i*4 a]
         WindowNumber                [variable i*4 ar]
         ExpertNovice                [variable char*1 r]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  specialmode         (internal)                    
  getkey              (external DRS shareable)
  changecase          (external DRS shareable)
  cursor              (internal)                    
  valid               (internal)                    
  search              (internal)                    
  point               (internal)                    
    
FILES_USED
  unit=*(write)


    
Reads
Writes
Opens
Calls
      call dwindo (LongWestWindow (WindowNumber), 
     *             LongEastWindow (WindowNumber),
     *             LatSouthWindow (WindowNumber), 
     *             LatNorthWindow (WindowNumber) )
      call twindo (TekWest, TekEast, TekSouth, TekNorth) 
         call specialmode ('TEXT')
         call anyprompt
         call getkey (Key, KeyValue)
         call changecase ('CAPITAL', Key)
      call cursor (TemporaryAscii, 
     *             OldLong,
     *             OldLat)
          call specialmode ('TEXT')
      call valid (StatusFlag,
     *            TemporaryAscii, 
     *            OldLongStartPnt, 
     *            OldLatStartPoint, 
     *            WindowNumber)
      call search (StartPoint,
     *             OldLatStartPoint, 
     *             OldLongStartPnt  , 
     *             'EDITABLE', 
     *             WindowNumber,
     *             'D')
      call point (LatEdit  (StartPoint), 
     *            LongEdit (StartPoint), 
     *            TekWest,
     *            TekEast,
     *            TekSouth,
     *            TekNorth,
     *            WindowNumber,
     *            'O')
         call specialmode ('TEXT')
         call anyprompt
         call getkey (Key, KeyValue)
         call changecase ('CAPITAL', Key)
      call cursor (TemporaryAscii, 
     *             TemporaryLong,
     *             TemporaryLat)
          call specialmode ('TEXT')
      call valid (StatusFlag,
     *            TemporaryAscii, 
     *            LongEdit (StartPoint),
     *            LatEdit  (StartPoint), 
     *            WindowNumber)
         call specialmode ('TEXT')
         call anyprompt
         call getkey (Key, KeyValue) 
         call changecase ('CAPITAL', Key)
      call cursor (TemporaryAscii, 
     *             OldLong,
     *             OldLat)
          call specialmode ('TEXT')
      call valid (StatusFlag,
     *            TemporaryAscii, 
     *            OldLongEndPoint, 
     *            OldLatEndPoint, 
     *            WindowNumber)
      call search (EndPoint,
     *             OldLatEndPoint, 
     *             OldLongEndPoint, 
     *             'EDITABLE', 
     *             WindowNumber,
     *             'D')
      call point (LatEdit  (EndPoint), 
     *            LongEdit (EndPoint), 
     *            TekWest,
     *            TekEast,
     *            TekSouth,
     *            TekNorth,
     *            WindowNumber,
     *            'O')
         call specialmode ('TEXT')
         call anyprompt
         call getkey (Key, KeyValue)
         call changecase ('CAPITAL', Key)
      call cursor (TemporaryAscii, 
     *             TemporaryLong,
     *             TemporaryLat)
          call specialmode ('TEXT')
      call valid (StatusFlag,
     *            TemporaryAscii, 
     *            LongEdit (EndPoint), 
     *            LatEdit (EndPoint), 
     *            WindowNumber)

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/plt/naved/adjust.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:14 PDT 2013  (chd)