topographic_potential

  • Calculates the potential at a given latitude and height using coefficients from a topographic model

Calling Sequence

from geoid_toolkit.topographic_potential import topographic_potential
T = topographic_potential(lat, lon, refell, clm, slm, lmax, R, density)

Source code

geoid_toolkit.topographic_potential(lat, lon, refell, clm, slm, lmax, R, density, GAUSS=0)[source]

Calculates the potential coefficients from a topographic model following Barthelmes [1]

Parameters:
lat: float

latitude in degrees

lon: float

longitude in degrees

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

clm: float

cosine spherical harmonics for a topographic model

slm: float

sine spherical harmonics for a topographic model

lmax: int

maximum spherical harmonic degree

R: float

average radius used in gravity model

density: float

density of the topography in the model

GAUSS: float, default 0

Gaussian Smoothing Radius in km

Returns:
T: float

potential from topography model