>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  EARTHRAD

EARTHRAD

EARTHRAD

Name


      EARTHRAD

Purpose


      Return earth radius in specified units.

Category


Calling Sequence


      r = earthrad(units)

Inputs


      units = Units for earth radius (def='radians'). in

Keyword Parameters


Outputs


      r = returned earth radius in requested units. out

Common Blocks


Notes


      Notes: Available units (use 2 letters min):
        'radians' Radians (default).
        'degrees' Degrees.
        'nmiles' Nautical miles.
        'miles' Statute miles.
        'kms' Kilometers.
        'meters' Meters.
        'yards' Yards.
        'feet' Feet.

Modification History


      R. Sterner, 1996 Sep 03
  Copyright (C) 1996, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us