Skip to main content

Look up geoid and tidal model heights relative to the ellipsoid

Project description

pyegt

Ellipsoid-relative geoid and tidal model height lookup

Ian Nesbitt, NCEAS-UCSB

PyPI Conda Docs

pyegt is an open source program developed by NCEAS to look up the geoid, tidal, or geopotential model height above the ellipsoid in order to convert model-referenced heights to ellipsoid height (i.e. compatible with Cesium) and vice-versa.

About

The following figure demonstrates the difference between geoid, ellipsoid, and topographic ground surface:

Ellipsoid, geoid, and topography

The figure shows a diagram with a conceptual model of ellipsoid height h, geoid height H, and height of geoid relative to ellipsoid N along with topographic surface (grey).

Ellipsoidal height (h) is generally used in global projections such as Cesium due to its small digital footprint and ease of calculation relative to systems based on gravity or geopotential height. However, gravity and tides are influenced by local differences in Earth's density and other factors. Therefore some projects prefer reference systems that use height referenced to a geoid or tidal model (H) which provides a much easier framework to understand height relative to, for example, modeled mean sea level or sea level potential. Converting from H to h requires knowing the height difference between the geoid and the ellipsoid (N). Conversion is then a simple addition of these values (H + N = h).

Usage

>>> from pyegt.height import HeightModel
>>> h = HeightModel(lat=44.256616, lon=-73.964784, from_model='GEOID12B')
>>> repr(h)
HeightModel(lat=44.256616, lon=-73.964784, from_model='GEOID12B', region='None') -> -28.157 meters
>>> float(h)
-28.157
>>> h.in_feet_us_survey()
-92.37842416572809

Project details


Download files

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

Source Distribution

pyegt-0.1.1.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

pyegt-0.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file pyegt-0.1.1.tar.gz.

File metadata

  • Download URL: pyegt-0.1.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyegt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3224c0e7eb47d804fdcdc53273f17920d828497f2777d477259733a11c060c4a
MD5 51de05aa2882fa08cf3d8ef937d39c2e
BLAKE2b-256 0eac3510b955668e9e8bf337d17d9ec26c59b0d4b2ed0d2b46cef07cf5a811af

See more details on using hashes here.

File details

Details for the file pyegt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyegt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyegt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a33c450f76d3a18439f41702fc47cd973900a4bda9ac0d0a890e07f0317c3bf8
MD5 0b7c877a55a8fc74fd5d6416f8482512
BLAKE2b-256 bf4c05433ef8e6d91383c699d713bd8d93e686807ac1b321430f8e45241c1dd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page