Reference · The Sun, Moon and planets: pure parts
satelliteKindfunction
Which kind of drawing a satellite gets, from its name: a large constellation (STARLINK, ONEWEB, KUIPER) is flat, a cubesat (FLOCK, DOVE, LEMUR, SPIRE and similar names) is cubesat, a station (ISS, ZARYA, TIANGONG, CSS) is station, a communications satellite (by the common operators' names) has a dish, and anything else is a plain bus.
Import it
import { satelliteKind } from "@johnmorrisdotca/chikyu-earth/space";
Definition
function satelliteKind(name: string): SatelliteKind
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The satellite's name (the element set's |
Returns
SatelliteKind
The kind.
Examples
import { satelliteKind } from "@johnmorrisdotca/chikyu-earth/space";
console.log(satelliteKind("STARLINK-1007"), satelliteKind("ISS (ZARYA)"), satelliteKind("INTELSAT 39"), satelliteKind("NOAA 19"));flat station communications busWhat it prints (run when this page was built)