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
| Name | Type | Description |
|---|---|---|
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: |
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) |
maxAgeDays (optional) | number | undefined | Elements older than this many days at a pass leave the pass out (30 by default, |
Examples
import type { PassOptions } from "@johnmorrisdotca/chikyu-earth/passes";
const options: PassOptions = { minAltitude: 10, sky: "civil", all: false };
console.log(options.minAltitude);10What it prints (run when this page was built)