TO_METERS Name
TO_METERS Purpose
Convert distances in selected units to meters.
Category
Calling Sequence
dm = to_meters(d) Inputs
d = Distance in some units. in
Keyword Parameters
Keywords
UNITS=units Units for d.
Case ignored, only first 2 letters used.
Known units are:
nmiles = Nautical miles
miles = Statute miles
kms = Kilometers
meters (or m) = Meters
yards = Yards
feet (or foot) = Feet
keyword will over-ride embedded units.
Outputs
dm = returned distance in meters. out
Common Blocks
Notes
Notes: Units may be included after distance value
instead of in UNITS if d is a string. The UNITS
Modification History
R. Sterner, 2007 Dec 07
R. Sterner, 2008 Feb 04 --- Added UNITS keyword.
R. Sterner, 2010 Aug 13 --- Made floating for m or meters.
Copyright (C) 2007, 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.