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 · Passes: when a satellite crosses the sky over a place

PassOptionstype

What findPasses may be asked.

Import it

import type { PassOptions } from "@johnmorrisdotca/chikyu-earth/passes";

Definition

interface PassOptions {
    minAltitude?: number;
    sky?: Exclude<SkyName, "day">;
    all?: boolean;
    limitingMagnitude?: number;
    magnitudes?: Readonly<Record<number, number>>;
    maxAgeDays?: number;
}

Members

NameTypeDescription
minAltitude (optional)number | undefined

The lowest altitude, degrees, at which a pass counts as begun and ended (10 by default, as sky-watchers' tables use: below it there are trees, buildings and haze).

sky (optional)"night" | "civil" | "nautical" | "astronomical" | undefined

The lightest sky a watcher may be in for a pass to count as visible: civil (the default: twilight or darker), nautical, astronomical or night.

all (optional)boolean | undefined

List every pass, with the reason it cannot be seen, and not only the visible ones (false by default).

limitingMagnitude (optional)number | undefined

A satellite fainter than this (a larger magnitude) counts as not visible (4 by default: a suburban sky). Only when the satellite's standard magnitude is known.

magnitudes (optional)Readonly<Record<number, number>> | undefined

Standard magnitudes by NORAD number, added to (and over) STANDARD_MAGNITUDES.

maxAgeDays (optional)number | undefined

Elements older than this many days at a pass leave the pass out (30 by default, DEFAULT_MAX_AGE_DAYS).

Examples

import type { PassOptions } from "@johnmorrisdotca/chikyu-earth/passes";

const options: PassOptions = { minAltitude: 10, sky: "civil", all: false };
console.log(options.minAltitude);
10

What it prints (run when this page was built)

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