1.0.0 • Published 5 years ago

earthgravitymodel1996 v1.0.0

Weekly downloads
18
License
Apache-2.0
Repository
-
Last release
5 years ago

Earth Gravity Model 1996

Tools for working with the Earth Gravity Model 1996 (EGM96). Primarily useful for calculating the geoid height or mean sea level height at a given longitude and latitude.

Originally written as part of TerriaJS, now a separate library.

const egm96 = require("earthgravitymodel1996");

// Get the geoid height in Sydney Asustralia
const geoidHeight = egm96.getHeight(
    151.2 * Math.PI / 180.0,
    -33.8 * Math.PI / 180.0
);