ShowerLinktype
One shower's link to the IAU Meteor Data Center's lists, with where each figure of its row comes from.
Import it
import type { ShowerLink } from "@johnmorrisdotca/chikyu-earth/meteors";
Definition
interface ShowerLink {
code: string;
iau: number;
iauName: string;
status: "established" | "working";
parent: ParentBody | null;
checked: {
adNo: number;
meteors: number;
} | null;
from: {
radiant: "imo" | "mdc";
speed: "imo" | "mdc";
};
}
Members
| Name | Type | Description |
|---|---|---|
code | string | The IAU's three-letter code, the same as the shower's |
iau | number | The IAU's number (IAUNo), the same as the shower's |
iauName | string | The MDC's name for the shower, as it writes it (Greek letters spelled out). |
status | "established" | "working" |
|
parent | ParentBody | null | The parent body the MDC's origin column names for it, or |
checked | { adNo: number; meteors: number; } | null | The MDC solution (its AdNo) the radiant and speed agree with, the biggest that does, and how many meteors it rests on; |
from | { radiant: "imo" | "mdc"; speed: "imo" | "mdc"; } | Where the row's radiant and speed come from: |
Examples
import { METEOR_LINKS, type ShowerLink } from "@johnmorrisdotca/chikyu-earth/meteors";
const geminids: ShowerLink | undefined = METEOR_LINKS.find((link) => link.code === "GEM");
console.log(geminids?.iauName, geminids?.status, geminids?.parent?.designation, geminids?.checked?.meteors);Geminids established (3200) Phaethon 104490What it prints (run when this page was built)