mooncalc
mooncalc copied to clipboard
Trajectory is wrong
Hi, the trajectory has nothing to do with the phase. The moon may stay in a crescent phase while in a descendent trajectory. I noted that you tie the trajectory with the phase and this is not correct.
agreed.
i'm not an expert but, as this is related to the constellation, assuming the mooncalc formula is correct, maybe this is it:
function moonIsAscending (moon) {
const { ecliptic: { longitude } } = moon;
return longitude < 93.44 || longitude >= 271.26;
}