Description Usage Arguments Details Value Author(s) See Also Examples
Convert Earth-centered inertial coordinates to geographic spherical coordinates
1 | eci2geo(eci_xyz, jdtim)
|
eci_xyz |
ECI [X,Y,Z] coordinates (in km), can be an array [3,n] of n such coordinates. |
jdtim |
Julian Day time, double precision. Can be a 1-D array of n such times. |
Converts from ECI (Earth-Centered Inertial) (X,Y,Z) rectangular coordinates to geographic spherical coordinates (latitude, longitude, altitude). JD time is also needed as input.
ECI coordinates are in km from Earth center. Geographic coordinates are in degrees/degrees/km. Geographic coordinates assume the Earth is a perfect sphere, with radius equal to its equatorial radius.
gcoord can be further transformed into geodetic coordinates (using astrolib geo2geodetic) or into geomagnetic coordinates (using geo2mag)
lat, lon, alt |
3-element array of geographic [latitude,longitude,altitude], or an array [3,n] of n such coordinates, double precision |
Written by Pascal Saint-Hilaire (Saint-Hilaire@astro.phys.ethz.ch) on 2001/05/13
R adaptation by Arnab Chakraborty (June 2013)
1 |
[1] 0.000 232.271 600.000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.