Closed treaves closed 3 years ago
Hm... shouldn't the positivelyWestwardLongitude
be actually positive ? I suspect a little mistake here.
Yes, I'd just dug into that and noticed. I'd actually had it that way originally, until I started getting some invalid Astronomical Twilights. I'll try to create a test for the later issue, and close this one.
Thanks.
These twilights are a damn difficult thing. I'd be happy if you provide more tests I can integrate into the codebase.
I can't explain or understand the values I'm getting for sunrise & sunset. I'm using this code:
and I receive this output:
If the values took TZ into account, then the values are off by ~-6 hours. If the values are supposed to be UTC (I think they are) then they are off ~-11 hours.
IAny help understanding this would be appreciated.