Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

Reference · Satellites: orbital elements in, positions out

ElementSettype

One satellite's orbital elements in the "GP" format that CelesTrak and Space-Track both serve as JSON (CCSDS OMM, one object per satellite). Only these fields are read. The package fetches nothing: your page gets the elements (see the satellites guide for the rules of the sources) and passes them in.

Import it

import type { ElementSet } from "@johnmorrisdotca/chikyu-earth/satellites";

Definition

interface ElementSet {
    OBJECT_NAME: string;
    OBJECT_ID?: string;
    EPOCH: string;
    MEAN_MOTION: number;
    ECCENTRICITY: number;
    INCLINATION: number;
    RA_OF_ASC_NODE: number;
    ARG_OF_PERICENTER: number;
    MEAN_ANOMALY: number;
    NORAD_CAT_ID: number;
    BSTAR: number;
    MEAN_MOTION_DOT: number;
    MEAN_MOTION_DDOT: number;
    EPHEMERIS_TYPE?: number;
    CLASSIFICATION_TYPE?: string;
    ELEMENT_SET_NO?: number;
    REV_AT_EPOCH?: number;
}

Members

NameTypeDescription
OBJECT_NAMEstring
OBJECT_ID (optional)string | undefined
EPOCHstring

The moment the elements describe, ISO 8601 in UTC (a trailing Z is optional).

MEAN_MOTIONnumber

Revolutions a day.

ECCENTRICITYnumber
INCLINATIONnumber

Degrees.

RA_OF_ASC_NODEnumber

Degrees.

ARG_OF_PERICENTERnumber

Degrees.

MEAN_ANOMALYnumber

Degrees.

NORAD_CAT_IDnumber
BSTARnumber
MEAN_MOTION_DOTnumber
MEAN_MOTION_DDOTnumber
EPHEMERIS_TYPE (optional)number | undefined
CLASSIFICATION_TYPE (optional)string | undefined
ELEMENT_SET_NO (optional)number | undefined
REV_AT_EPOCH (optional)number | undefined

Examples

import type { ElementSet } from "@johnmorrisdotca/chikyu-earth/satellites";

const iss: ElementSet = {
  OBJECT_NAME: "ISS (ZARYA)",
  OBJECT_ID: "1998-067A",
  EPOCH: "2026-11-02T10:25:21.580320",
  MEAN_MOTION: 15.49150046,
  ECCENTRICITY: 0.0007139,
  INCLINATION: 51.6332,
  RA_OF_ASC_NODE: 335.9757,
  ARG_OF_PERICENTER: 339.3739,
  MEAN_ANOMALY: 20.6961,
  NORAD_CAT_ID: 25544,
  BSTAR: 0.00012,
  MEAN_MOTION_DOT: 0.0001,
  MEAN_MOTION_DDOT: 0,
};
console.log(iss.OBJECT_NAME);
ISS (ZARYA)

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.11.0.