#!/bin/csh -f #+ # el -- move the telescope x arcsec in elevation # # Purpose: # Moves the telescope the given number of arcseconds in the # elevation direction. # # Usage: # el x # # Arguments: # x = distance to move [arcsec] # # Output: # # Restrictions: # - "x" must be a real value # # Exit values: # 0 = normal completion # 1 = wrong number of arguments # # Example: # 1) Move the telescope 10 arcseconds in the positive elevation direction: # el 10 # # 1) Move the telescope 10 arcseconds in the negative elevation direction: # el -10 # #- # Modification history: # Date unknown RWG Original version # 2000-Jul-05 GDW Added documentation # 2013-Oct-05 GDW Replace guts with a call to azel #----------------------------------------------------------------------- # check args... if (${#argv} != 1) then echo "Usage: el x" exit 1 endif set x = $1 # do move... exec azel 0 $x