Reference
Satellites: orbital elements in, positions out
import { … } from "@johnmorrisdotca/chikyu-earth/satellites";
Exports
| Name | Kind | What it is |
|---|---|---|
createSatellites | function | Make a group of satellites from their element sets. |
DEFAULT_MAX_AGE_DAYS | constant | How old, in days, an element set may be at the moment shown before the satellite is left out: SGP4's error grows by a few kilometres a day, so a fortnight is as far as a picture should trust. |
ElementSet | type | One satellite's orbital elements in the "GP" format that CelesTrak and Space-Track both serve as JSON (CCSDS OMM, one object per satellite). |
MAX_SATELLITE_SPEED | constant | The fastest clock, in game seconds a second, at which the space view still places a group of satellites: above it the two moments SGP4 is run at would be too far apart to interpolate, so the group is hidden rather than drawn wrongly. |
RefusedElementSet | type | A satellite the group could not use, and why: its elements did not start SGP4 (bad numbers), or it had decayed at its own epoch. |
SatelliteInfo | type | What a page can tell a reader about one satellite at a moment: its name, its number, how old its elements are, how high and how fast it is. |
SatelliteRef | type | A satellite chosen from a group: which group and which place in it. |
Satellites | type | A group of satellites, ready to give positions for any moment: what createSatellites returns, and what <chikyu-space> takes in setSatellites. |
SatellitesOptions | type | What createSatellites can be told. |