ref_ellipsoid

  • Computes parameters for a reference ellipsoid

Calling Sequence

from geoid_toolkit.ref_ellipsoid import ref_ellipsoid
params = ref_ellipsoid(refell)

Source code

geoid_toolkit.ref_ellipsoid(refell, UNITS='MKS')[source]

Computes parameters for a reference ellipsoid [4]

Parameters:
refell: str

Reference ellipsoid name

  • 'CLK66': Clarke 1866

  • 'GRS67': Geodetic Reference System 1967

  • 'GRS80': Geodetic Reference System 1980

  • 'HGH80': Hughes 1980 Ellipsoid

  • 'WGS72': World Geodetic System 1972

  • 'WGS84': World Geodetic System 1984

  • 'ATS77': Quasi-earth centred ellipsoid for ATS77

  • 'NAD27': North American Datum 1927

  • 'NAD83': North American Datum 1983

  • 'INTER': International

  • 'KRASS': Krassovsky (USSR)

  • 'MAIRY': Modified Airy (Ireland 1965/1975)

  • 'TOPEX': TOPEX/POSEIDON ellipsoid

  • 'EGM96': EGM 1996 gravity model

UNITS: str, default ‘MKS’

Output units

  • 'MKS': meters, kilograms, seconds

  • 'CGS': centimeters, grams, seconds

Returns:
a: float

semimajor semi-axis (m)

b: float

semiminor semi-axis (m)

f: float

flattening

rad_e: float

Mean radius of ellipsoid having the same volume

rad_p: float

Polar radius of curvature

C20: float

Normalized C20 harmonic

J2: float

Oblateness coefficient

norm_a: float

Normal gravity at the equator

norm_b: float

Normal gravity at the pole

U0: float

Normal potential at the ellipsoid

dk: float

ratio between gravity at pole versus gravity at equator

m: float

m parameter (m)

lin_ecc: float

Linear eccentricity

ecc1: float

First eccentricity

ecc2: float

Second eccentricity

area: float

Area of the ellipsoid

volume: float

Volume of the ellipsoid

rho_e: float

Average density