European Space Agency

European Space Agency

Royal Belgian Institute for Aeronomy

Royal Belgian Institute for Aeronomy

../_images/whiteSpace.png

coord_trans_vec1 - Transforms coordinates between systems

subroutine  coord_trans_vec1(ntime, sysaxesin, sysaxesout, year, doy, ut, xin, xout)
Parameters:
  • ntime [integer4,in] :: number of locations to transform

  • sysaxesin [integer4,in] :: starting coordinate system index [0-11]

  • sysaxesout [integer4,in] :: final coordinate system index [0-11]

  • year (ntime_max) [integer4,in] :: year of coordinate points

  • doy (ntime_max) [integer4,in] :: day of year of coordinate points [1-366]

  • ut (ntime_max) [real8,in] :: universal time in seconds

  • xinv (3, ntime_max) [real8,in] :: positions to transform

  • xout (3, ntime_max) [real8,out] :: positions in sysaxesout coordinates.

Description

The coordinates specified by year, doy, ut, and xin are transformed from the sysaxesin coordinate system to the sysaxesout coordinate system and returned in the xout argument.

SYSAXES indices

sysaxes

acronym

type

description

units

implemented

0

GDZ

Geodetic

altitude, latitude, East longitude

km, °, °

Y

1

GEO

cartesian

Geographic

Earth radii

Y

2

GSM

cartesian

Geocentric Solar Magnetic

Earth radii

Y

3

GSE

cartesian

Geocentric Solar Ecliptic

Earth radii

Y

4

SM

cartesian

Solar Magnetic

Earth radii

Y

5

GEI

cartesian

Geocentric Equatorial Inertial

Earth radii

Y

6

MAG

cartesian

Geomagnetic

Earth radii

Y

7

SPH

spherical

GEO in spherical radial distance, latitude, East longitude

Earth radii, °,°

Y

8

RLL

spherical

GEI in spherical radial distance, latitude, East longitude

Earth radii, °,°

Y

9

HEE

cartesian

Heliocentric Earth Ecliptic, aka HSE

AU

N

10

HAE

cartesian

Heliocentric Aries Ecliptic, aka HSA

AU

N

11

HEEQ

cartesian

Heliocentric Earth Equatorial, aka HS

AU

N

12

TOD

cartesian

True of Date, same as GEI using true equator of date and equinox of date

Earth radii

N

13

J2000

cartesian

GEI, but with epoch of equinox and equator set to 01/01/2000 00:00UT

Earth radii

N

14

TEME

cartesian

True Equator Mean Equinox

Earth radii

N

Note

The Earth radius used within the IRBEM library is 6371.2 km.


UNILIB/tags/v3.02