geocentricposlos2cart

typhon.geodesy.geocentricposlos2cart(r, lat, lon, za, aa)[source]

Convert from spherical POS/LOS to cartesian POS/LOS

See Contents for a defintion of the geocentric coordinate system. The local LOS angles are defined following the EAST-NORTH-UP system:

za aa

90 0 points towards north

90 90 points towards east

0 aa points up

FORMAT [x,y,z,dx,dy,dz]=geocentricposlos2cart(r,lat,lon,za,az)

OUT

x Coordinate in x dimension

y Coordinate in y dimension

z Coordinate in z dimension

dx LOS component in x dimension

dy LOS component in y dimension

dz LOS

IN

r Radius

lat Latitude

lon Longitude

za zenith angle

aa azimuth angle

Ported from atmlab. Original author: Bengt Rydberg 2011-10-31