You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently migrating the HATS box filtering implementation to use mocpy's zones, hats#401, and I identified an edge case that I cannot get to work. When the upper right corner of the zone is in the 0/360-degree boundary, an error is thrown:
The SkyCoord object wraps the 360 degree longitudes to 0 degrees, and therefore the maximum longitude constraint that imposes 0.0 < lon_max && lon_max <= TWICE_PI fails. It would be great if we could handle both 360/0.
The region I am trying to achieve is approximately the following (used coordinates [(180,30),(359,50)]).
The text was updated successfully, but these errors were encountered:
I'm currently migrating the HATS box filtering implementation to use mocpy's
zones
, hats#401, and I identified an edge case that I cannot get to work. When the upper right corner of the zone is in the 0/360-degree boundary, an error is thrown:The SkyCoord object wraps the 360 degree longitudes to 0 degrees, and therefore the maximum longitude constraint that imposes
0.0 < lon_max && lon_max <= TWICE_PI
fails. It would be great if we could handle both 360/0.The region I am trying to achieve is approximately the following (used coordinates
[(180,30),(359,50)]
).The text was updated successfully, but these errors were encountered: