Skip to content

bnq4ever/pymap3d

 
 

Repository files navigation

Code Climate

image

image

Python 3-D coordinate conversions

Python coordinate conversions, following convention of several popular Matlab routines.

Usage

a few quick examples:

from pymap3d.coordconv3d import *

lat,lon,alt = eci2geodetic(eci,t)
az,el,range = geodetic2aer(lat,lon,alt,42,-82,0)

Functions

Popular mapping toolbox functions ported to Python include:

aer2ecef  aer2enu  aer2geodetic  aer2ned
 ecef2aer  ecef2enu  ecef2enuv  ecef2geodetic  ecef2ned  ecef2nedv  ecef2eci
 eci2ecef
 enu2aer  enu2ecef  enu2ecefv  enu2geodetic
 geodetic2aer  geodetic2ecef  geodetic2enu  geodetic2ned
 ned2aer  ned2ecef  ned2ecefv  ned2geodetic
 vreckon

for converting right ascension and declination to azimuth and elevation, please see the function radec2azel

or simply use the functionality of AstroPy 1.0+ to do radec->azel conversion

Installation

python setup.py develop

Caveats

Atmospheric effects neglected in all functions not invoking AstroPy. Planetary perturbations and nutation etc. not fully considered.

Alternatives

Consider using python-geopy as well. For example, if you're seeking Vicenty distance.

About

Python 3D coordinate conversions for geospace ecef enu wgs84

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.6%
  • MATLAB 17.4%