SHC class

Spherical-Harmonic Coefficient Set — an actual gravity field, as opposed to the NAME of one.

This is deliberately NOT $GRV. $GRV is a model SELECTOR: it names a model, bounds its degree/order, toggles third-body and tidal effects, and carries scalar J2..J6. It cannot carry a coefficient set, and a named model without its coefficients is not interchange — it is a citation.

Coefficients are carried as four parallel arrays of equal length, indexed together: entry i is the coefficient at DEGREESi, ORDERSi with cosine term Ci and sine term Si. Parallel arrays rather than a table per coefficient because a 200x200 field is ~40,000 coefficients and a table-per-coefficient encoding is pathological in both size and decode cost.

Constructors

SHC(List<int> bytes)
factory

Properties

BODY_NAME → String?
Advisory body name.
no setter
bodyName → String?
no setter
C → List<double>?
no setter
C_SIGMA → List<double>?
Optional 1-sigma uncertainties, parallel to C and S when present.
no setter
CENTRAL_BODY_NAIF_ID → int
Body the field describes, as a NAIF integer ID (399 = Earth, 301 = Moon, 499 = Mars). NAIF ID is normative; BODY_NAME is advisory. Note that a barycenter (e.g. 4) is NOT the body (e.g. 499).
no setter
centralBodyNaifId → int
no setter
CITATION → String?
Citation for the field, e.g. the paper or data-centre DOI.
no setter
cSigma → List<double>?
no setter
DEGREES → List<int>?
Parallel coefficient arrays. DEGREES, ORDERS, C and S MUST have identical lengths; a record where they do not is invalid.
no setter
GM → double
Gravitational parameter of the body, m^3/s^2. Part of the set: a field's coefficients are only meaningful with the GM they were solved against.
no setter
hashCode → int
The hash code for this object.
no setterinherited
MAX_DEGREE → int
Maximum degree and order present in the arrays.
no setter
MAX_ORDER → int
no setter
maxDegree → int
no setter
maxOrder → int
no setter
MODEL_NAME → String?
Identifier of the coefficient set, e.g. "EGM2008", "GGGRX1200".
no setter
modelName → String?
no setter
NORMALIZATION → shcNormalization
Normalization convention. A set published without this is unusable; consumers MUST reject UNSPECIFIED rather than assuming a convention.
no setter
ORDERS → List<int>?
no setter
PERMANENT_TIDE_SYSTEM → shcTideSystem
Permanent-tide system. Consumers MUST reject UNSPECIFIED for any application sensitive at the 1e-9 level in C20.
no setter
permanentTideSystem → shcTideSystem
no setter
REFERENCE_EPOCH → String?
Epoch the static coefficients are referenced to, ISO 8601. Required when VARIABLE_TERMS is present.
no setter
REFERENCE_RADIUS → double
Reference radius of the expansion, metres. Also part of the set.
no setter
referenceEpoch → String?
no setter
referenceRadius → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
S → List<double>?
no setter
S_SIGMA → List<double>?
no setter
SOURCE → String?
Tide-free/zero-tide conversion already applied, publication reference, or any other provenance needed to reproduce the set.
no setter
sSigma → List<double>?
no setter
VARIABLE_TERMS → List<SHCVariableTerm>?
Optional time-variable terms applied on top of the static field.
no setter
variableTerms → List<SHCVariableTerm>?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<SHC>