Open talensgj opened 3 days ago
This reminds me of #904. I'm travelling at the moment, but will have a look as soon as possible.
I have a tentative fix, but I'm not yet terribly happy with it and hope to come up with something more elegant soon(ish). The fix will have to happen in healpix_cxx
, so it's not something that we can address with a quick patch to the healpy
sources. Is this a time-critical issue for you, @talensgj?
I've managed to work around it by increasing the search radius for now, so it's not urgent. Thanks for looking into it so promptly.
Hi,
I've encountered an issue where using
query_disc
withinclusive=True
does not return all required pixels. I encountered this issue near the pole. Increasing thefact
parameter does not seem to solve this issue. The code example below illustrates that when querying a 9.9 degree disc centered on lon = 45 deg and lat = -84 deg in a grid withnside=4
, pixel 190 is not returned when it should be.Output: 1.17.3 [180 181 182 187 188 189 191] [180 181 182 187 188 189 191]