Open tstolarczyk opened 3 years ago
Hi @tstolarczyk,
As I just wrote in #511, I think this won't be a problem if the time you use as a reference time is centered closer to local noon. As you suggest, this occurs when the querying time is very close to a rise/set, and can be avoided if you start your tstart
variable at a time further from dawn/dusk.
Does that help?
Hello,
Astroplan v0.8
I am making the list of dusks and dawns along the year 2021 with the code below. It returns
Nan
(and crashes because of year -4713) on June the 14th because of a too-short night it seems, which is likely to happen every year :-)I realize this can happen at Pole, i.e. a day without night, but the search within 24 hours is a strange limitation (although it is mentioned in the doc). I guess that I have to check that dusk or dawn is not Nan and rewind to continue, but that's a bit tricky... Any known workaround to suggest? Thanks !!!
Here is the sequence: