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.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyegt-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ddcb2e2e52ffe8fcfa9269e313c83753fdf10c7627fe446198bcd9f85a7687ee
MD5 4df2b1e140eaa25255bb2ef81c1a0499
BLAKE2b-256 40a4063e141b6b72e853f50eaec6622aac2f5ca6eb72133175d9e4b59b9261b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyegt-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2142ca57b125945edce1b2512274a6ed196e9ea8275cbd70bd17421f99bada9
MD5 25f01f322588e52d60b4640307a0e413
BLAKE2b-256 890b42a7c0265081dd200c69c6470967de78b29ae52c11fd7532bfdd53a74d7c

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