read_topography_harmonics

Calling Sequence

from geoid_toolkit.read_topography_harmonics import read_topography_harmonics
Ylms = read_topography_harmonics(model_file)

Source code

geoid_toolkit.read_topography_harmonics(model_file)[source]

Reads Earth 2014 topography harmonics from Rexer et al. [10]

Parameters:
model_file: str

full path to file with spherical harmonic coefficients

Returns:
l: int

spherical harmonic degree of model

m: int

spherical harmonic order to maximum degree of model

clm: float

cosine spherical harmonics of topographic data

slm: float

sine spherical harmonics of topographic data

modelname: str

name of the topography model

density: float

density of the Earth for the topography model