Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- windown

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
windown
Synopsis
/infobank/programs/plt/naved/windown.for
Description
  Subroutine to window plot by time, position, or crosshairs for NAVED.

       
AUTHOR
  Clint Steele           

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

  
  call window                  (with the following arguments)
         TekWest               [variable i*4 a]
         TekEast               [variable i*4 a]
         TekSouth              [variable i*4 a]
         TekNorth              [variable i*4 a]
         MenuOption            [variable char*1 r]
         NumberEdit            [variable i*4 r]
         NumberBack            [variable i*4 r]
         TimeStartEdit         [variable i*4 sr]
         TimeEndEdit           [variable i*4 sr]
         WindowNumber          [variable i*4 sr]
         StatusFlag            [variable char*4 sr]
         ExpertNovice          [variable char*1 r]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  specialmode         (internal)                    
  converttime         (external DRS shareable routine)
  getkey              (external DRS shareable routine)
  changecase          (external DRS shareable routine)
  cursor              (internal)                    
  valid               (internal)                    
  changecase          (external DRS shareable routine)
    
FILES_USED
  unit=*(read,write)


    
Reads
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , 2, iostat = ErrorFlag) 
     *              TempDay, 
     *              TempHour, 
     *              TempMinute,
     *              TempSecond, 
     *              TempTenths 
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , 2, iostat = ErrorFlag) 
     *              TempDay, 
     *              TempHour, 
     *              TempMinute,
     *              TempSecond, 
     *              TempTenths
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , *, iostat = ErrorFlag)  
     *          LatNorthWindow (WindowNumber)
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , *, iostat = ErrorFlag)  
     *            LatSouthWindow (WindowNumber)
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , *, iostat = ErrorFlag)   
     *             LongWestWindow (WindowNumber)
          read (*, ' (a10) ', end = 99) TempRespons 
          read (TempRespons , *, iostat = ErrorFlag)  
     *           LongEastWindow (WindowNumber)
Writes
Opens
Calls
      call dwindo (LongWestWindow (WindowNumber - 1), 
     *             LongEastWindow (WindowNumber - 1),
     *             LatSouthWindow (WindowNumber - 1), 
     *             LatNorthWindow (WindowNumber - 1) )
      call twindo (TekWest, TekEast, TekSouth, TekNorth) 
          call specialmode ('TEXT')
          call converttime ('EXPAND  ', 
     *                       TempDay, 
     *                       TempHour, 
     *                       TempMinute,
     *                       TempSecond, 
     *                       TempTenths, 
     *                       TimeStartEdit,
     *                       TimeStatusFlag)
          call converttime ('EXPAND  ', 
     *                       TempDay, 
     *                       TempHour, 
     *                       TempMinute,
     *                       TempSecond, 
     *                       TempTenths, 
     *                       TimeEndEdit,
     *                       TimeStatusFlag)
          call changecase ('CAPITAL', TempRespons)
          call converttime ('COMPRESS', 
     *                       TempDay, 
     *                       TempHour, 
     *                       TempMinute,
     *                       TempSecond, 
     *                       TempTenths, 
     *                       TimeStart, 
     *                       TimeStatusFlag)
          call changecase ('CAPITAL', TempRespons)
          call converttime ('COMPRESS', 
     *                       TempDay, 
     *                       TempHour, 
     *                       TempMinute,
     *                       TempSecond, 
     *                       TempTenths, 
     *                       TimeEnd, 
     *                       TimeStatusFlag)
          call specialmode ('TEXT')
          call changecase ('CAPITAL', TempRespons)
          call changecase ('CAPITAL', TempRespons)
          call changecase ('CAPITAL', TempRespons)
          call changecase ('CAPITAL', TempRespons)
             call specialmode ('TEXT')
             call anyprompt
             call getkey (Key, KeyValue)
             call changecase ('CAPITAL', Key)
          call cursor (AsciiCode, TempLong, TempLat) 
              call specialmode ('TEXT')
          call valid (StatusFlag,
     *                AsciiCode, 
     *                TempLong, 
     *                TempLat, 
     *                (WindowNumber - 1) )
             call specialmode ('TEXT')
             call anyprompt
             call getkey (Key, KeyValue)
             call changecase ('CAPITAL', Key)
          call cursor (AsciiCode, OtherLong, OtherLat) 
              call specialmode ('TEXT')
          call valid (StatusFlag,
     *                AsciiCode, 
     *                OtherLong, 
     *                OtherLat, 
     *                (WindowNumber - 1) )
          call anykey

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