desy-multimessenger / nuztf

Central repository for scripts handling ZTF Target of Opportunity requests using AMPEL. This includes neutrino, GRB and GW events.
MIT License
1 stars 0 forks source link

Scan full sky query if pixels in query exceed a threshold #329

Closed simeonreusch closed 1 year ago

simeonreusch commented 1 year ago

Introduce a threshold for the maximum amount of healpix pixels in a query to avoid ArchiveDB timeout. Default to full sky query above that (we filter for skymap.in_countour afterwards anyway).

coveralls commented 1 year ago

Coverage Status

coverage: 70.046% (+0.02%) from 70.031% when pulling 865be5427afffcde04712ac25727a5b3798914c9 on max_n_pix_query_threshold into b50f9ffb474b4961c10b774e8d9ca9e21c328d79 on main.