skyForLatitudefunction
Every constellation as a place at a latitude sees it, best known first: always up (every star of its figure above the horizon all night, all year), never seen (no star of its figure ever rises) or seasonal, with the month it is
highest in the evening sky (about 21:00 by the Sun on the 15th) and how high it climbs. Pass a month to keep only the ones above 15 degrees in the evening sky of that month and the ones always up.
Import it
import { skyForLatitude } from "@johnmorrisdotca/hoshi-stars/sheets";
Definition
function skyForLatitude(latitude: number, month?: number): RegionEntry[]
Parameters
| Name | Type | Description |
|---|---|---|
latitude | number | Degrees north of the equator (negative south), -90 to 90. |
month (optional) | number | undefined | 1 to 12, to list what is up in that evening; leave it out for all 88. |
Returns
RegionEntry[]
The entries, best known first.
Examples
import { skyForLatitude } from "@johnmorrisdotca/hoshi-stars/sheets";
const sydney = skyForLatitude(-33.9);
console.log(sydney.find((one) => one.constellation.abbreviation === "UMi")?.standing, sydney.find((one) => one.constellation.abbreviation === "Cru")?.standing);never alwaysWhat it prints (run when this page was built)