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 · The Earth-orbit catalogue: orbit class, object kind, colours, fleets and the packed file format (no data)

readCatalogueRecordsfunction

Read catalogue records from OMM text, as JSON (a list of objects) or CSV (a header row, then a row for each object). Each row's elements are read as parseElements reads them, and OBJECT_TYPE (PAYLOAD, ROCKET BODY, DEBRIS, UNKNOWN, TBA), COUNTRY_CODE, LAUNCH_DATE and RCS_SIZE give the kind, owner, launch and radar size where the row has them. Six-digit and longer catalogue numbers are read as they are: OMM carries them where a TLE cannot. It throws if the text is neither JSON nor CSV with a header.

Import it

import { readCatalogueRecords } from "@johnmorrisdotca/chikyu-earth/catalogue";

Definition

function readCatalogueRecords(input: string): CatalogueRead

Parameters

NameTypeDescription
inputstring

What the source answered.

Returns

CatalogueRead

The records, and the count left out.

Examples

import { readCatalogueRecords } from "@johnmorrisdotca/chikyu-earth/catalogue";

const csv = [
  "OBJECT_NAME,OBJECT_ID,EPOCH,MEAN_MOTION,ECCENTRICITY,INCLINATION,RA_OF_ASC_NODE,ARG_OF_PERICENTER,MEAN_ANOMALY,NORAD_CAT_ID,BSTAR,MEAN_MOTION_DOT,MEAN_MOTION_DDOT,OBJECT_TYPE,COUNTRY_CODE,LAUNCH_DATE,RCS_SIZE",
  "MADE-UP DEB,2026-002B,2026-11-08T04:12:35,14.9,0.01,82,10,90,20,1000001,0.0001,0.00001,0,DEBRIS,US,2026-02-01,SMALL",
].join("\n");
const { records } = readCatalogueRecords(csv);
console.log(records[0]?.set.NORAD_CAT_ID, records[0]?.kind, records[0]?.owner, records[0]?.size);
1000001 DEB US S

What it prints (run when this page was built)

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