Initialization method Description
x = SHGravCoeffs.geoid() Initialize using an SHGravCoeffs class instance.

Class attributes

Attribute Description
geoid SHGrid class instance of the geoid.
gm Gravitational constant time the mass of the body.
potref Potential of the chosen geoid.
a Semimajor axis of the reference ellipsoid.
f Flattening of the reference ellipsoid, f = (a - b) / a.
omega Angular rotation rate of the body.
r Reference radius of the Taylor expansion.
order Order of the Taylor expansion.
lmax The maximum spherical harmonic degree resolvable by the grids.
lmax_calc The maximum spherical harmonic degree of the gravitational potential used in creating the grids.
nlat, nlon The number of latitude and longitude bands in the grids.
sampling The longitudinal sampling scheme of the grids: either 1 for nlon = nlat or 2 for nlon = 2 * nlat.

Class methods

Method Description
plot() Plot the geoid.
copy() Return a copy of the class instance.
info() Print a summary of the data stored in the SHGravGrid instance.
Edit me