Skip to content

Commit

Permalink
start healpix with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonreusch committed Jun 1, 2023
1 parent e4d36d8 commit ce8f745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuztf/ampel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def ampel_api_skymap(
logger.warning(
f"Total number of pixels exceeds threshold ({MAX_N_PIX} pixels). Issuing a query for the full sky instead."
)
regions = [{"nside": 1, "pixels": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]}]
regions = [{"nside": 1, "pixels": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]}]

query = {
"regions": regions,
Expand Down

0 comments on commit ce8f745

Please sign in to comment.