Skip to main content

A pure Python implementation of a biaxial and A triaxial reference ellipsoid for the Earth to convert between geodetic lat-, longitude with ellipsoidal height and cartesian X, Y, Z with orthometric height using bilinear interpolation of self-contained, 1-degree, whole Earth grids.

The grids are columns Nbiaxial, xE, yE, zE and Ntriaxial from Supplementary file 2, zipped.

For further details see the documentation and the main module. See module pygeodesy.geoids for other pure Python geoid height implementations and interpolations.

Installation

To install pyaxqg, type python[3] -m pip install pyaxqg or python[3] -m easy_install pyaxqg in a terminal or command window.

Alternatively, download pyaxqg-yy.m.d.tar.gz from PyPI or GitHub, unzip the downloaded file, cd to directory pyaxqg-yy.m.d and type python[3] setup.py install.

To run the pyaxqg tests, type python[3] test/run.py or type python[3] test/unitTestSuite.py before or after installation.

Dependencies

Installation of Python package pygeodesy is required, version 26.8.18 or newer. Type python[3] -m pip install -r requirements.txt to install.

Documentation

In addition to the pyaxqg package, the pyaxqg distribution file contain the tests, the test results (on macOS only) and the complete documentation generated by Epydoc using command line: epydoc --html --no-private --no-source --name=pyaxqg --url=... -v pyaxqg.

Tests

The tests ran with Python 3.14.7, 2.7.18 and with PyPy 7.3.17 (Python 3.10.14), all with pygeodesy 26.8.18 and on macOS 26.5.2 Tahoe in 64-bit. The results of those tests are included in the distribution file.

Python 3.14.7 and PyPy 7.3.17 run on Apple M4 (arm64), natively. Python 2.7.18 runs on Intel (x86_64) or Intel emulation ("arm64_x86_64", see function pyaxqg.machine).

Test coverage has been measured with coverage 7.14.0 using Python 3.14.7. The complete coverage report in HTML and a PDF summary are included in the distribution file.

The tests also ran with Python 3.14.7 on Windows 2019Server and with Python 3.13.3 on Windows 11, both in 64-bit only.

Notes

All Python source code has been statically checked with Ruff using Python 3.13.12 and with PyChecker, PyFlakes, PyCodeStyle (formerly Pep8) and McCabe using Python 2.7.18, both in 64-bit on macOS 26.5.2 Tahoe only.

Last updated: Aug 22, 2026.

License

Copyright (C) 2026-2026 -- mrJean1 at Gmail -- All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

https://Img.Shields.io/pypi/pyversions/pyaxqg.svg?label=Python https://Img.Shields.io/pypi/v/pyaxqg.svg?label=PyPI https://Img.Shields.io/appveyor/ci/mrJean1/PyAxQG.svg?branch=master&label=AppVeyor https://Img.Shields.io/badge/coverage-97%25-brightgreen https://Img.Shields.io/pypi/wheel/pyaxqg.svg https://Img.Shields.io/pypi/l/pyaxqg.svg https://img.shields.io/pypi/dm/pyaxqg

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyaxqg-26.8.22.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyaxqg-26.8.22-py2.py3-none-any.whl (21.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyaxqg-26.8.22.tar.gz.

File metadata

  • Download URL: pyaxqg-26.8.22.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyaxqg-26.8.22.tar.gz
Algorithm Hash digest
SHA256 755b74621b707bccb789f975c42b7b9cd18debef726026dc10dea2567d38c159
MD5 e9ad25165010aea11e440797b69462a1
BLAKE2b-256 af9af3ff881609e2cdcb856b6a3dc65813909b84ce52be9a6a18012ca93a69ec

See more details on using hashes here.

File details

Details for the file pyaxqg-26.8.22-py2.py3-none-any.whl.

File metadata

  • Download URL: pyaxqg-26.8.22-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyaxqg-26.8.22-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69f44508f9ad2c1b3d6d16a56daf951fa7c361ec3007f32fa2f467b25e85de36
MD5 b7940ca7b0c567ad50c40a3090c481d8
BLAKE2b-256 f01a1da9d358cfd970cd48e9c835a2ea522ab0cb438fd2d48cb22ea0a4c53e52

See more details on using hashes here.

Release history Release notifications | RSS feed

26.9.2

2 files

26.8.28

2 files

26.8.23

2 files

This release

26.8.22 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page