Reference · Satellites: orbital elements in, positions out
catalogueRowsfunction
Plain rows for every group and every catalogue satellite, for a page to index. Both languages are on every row: lang says which language the page is showing and does not drop the other, so one index serves either.
A satellite's Japanese name comes from SHORT_NAMES where that has one, and is otherwise the English name.
Import it
import { catalogueRows } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
function catalogueRows(lang?: "en" | "ja"): CatalogueRow[]
Parameters
| Name | Type | Description |
|---|---|---|
lang (optional) | "en" | "ja" | undefined |
|
Returns
CatalogueRow[]
The groups in their own order, then the satellites in catalogue order.
Examples
import { catalogueRows } from "@johnmorrisdotca/chikyu-earth/satellites";
const hubble = catalogueRows("ja").find((row) => row.noradId === 20580);
console.log(hubble?.names.ja, hubble?.aka?.join(", "));ハッブル HSTWhat it prints (run when this page was built)