pyegt
Ellipsoid-relative geoid and tidal model height lookup
Ian Nesbitt, NCEAS-UCSB
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:
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
Release files for pyegt 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyegt-0.1.3.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyegt-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.7 kB
Release files / pyegt-0.1.3.tar.gz
| Download URL | pyegt-0.1.3.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05127674ec6b13d1cf3de9e7bc2bd4b9c623149a4e6bce3f9d941ad157ab728e
|
|
BLAKE2b-256 checksum How to use checksums |
14703b7b123e6f15c9f903761f458c8d773763dd1c65d50306e0d15f789b3083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pyegt-0.1.3-py3-none-any.whl
| Download URL | pyegt-0.1.3-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b403b45362b8984c42e0f1ca667a6c08b1ade6f1735d150bf79e0ef3ff915bea
|
|
BLAKE2b-256 checksum How to use checksums |
40668244c11df0980a14beaa474b0249baa9089e2d4e4aa5e66af70a0701cd02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|