Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- fix180

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
fix180
Synopsis
/infobank/programs/nav/fix180/fix180.for
Description
  Program to correct longitudes that are greater than +180.00000

       
AUTHOR
  Clint Steele    10/27/2000


    
Reads
          read (90, '(q,a)', end = 99) 
     *         AFileLength, AFile(1:AFileLength)
              read (91, '(q,a)', end = 98)
     *            ALineLength, ALine(1:ALineLength)
                  read (ALine(26:35), '(f10.5)', iostat = ErrorFlag,
     *                  err = 3) Longitude
Writes
                  write (92, '(a)') ALine(1:ALineLength)
                      write (92, '(a,f10.5,a)')
     *                   ALine(1:25),
     *                   Longitude - 360.0,
     *                   ALine(36:ALineLength)
                      write (92, '(a,f10.5,a)')
     *                   ALine(1:25),
     *                   Longitude + 360.0,
     *                   ALine(36:ALineLength)
                      write (92, '(a)') ALine(1:ALineLength)
Opens
          open (unit = 91,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'unknown',
     *          name = AFile(1:AFileLength))
          open (unit = 92,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'unknown',
     *          name = '/infobank/tmp/fix180.temp')
Calls
      call openem (1,0)
                      call forerror (ErrorFlag)
          call system ('/bin/mv /infobank/tmp/fix180.temp '//
     *                 AFile(1:AFileLength))
      call system ('/bin/rm /infobank/tmp/fix180.temp')

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