Closed JTerwel closed 1 year ago
Jacco, this is brilliant.
Thanks for pushing this @simeonreusch I beleive it should not be that complicated to add to the url builder
Already on it. Modifying the url is trivial. What's harder is making ztfquery respect a different parent directory (if you don't do that, running forced photometry on a source in the same field will fail, as it won't be part of the cutout).
Do you want the cutout service to store data ?
Of course I do. But no worries, I'm almost done
Any progress on that @simeonreusch ?
Yes, it's implemented. The keyword is cutouts=True
(you also need to specify radec
). If one does this, one should also specify download_dir
to avoid not finding objects observed with the same CCD which won't be in the cutouts.
Usually I only need to see a small region around my object of interest. Downloading the entire image is not needed. IRSA allows one to query for a cutout, as is show near the bottom of this page.
Can an option be added to ztfquery where I can ask to only download the image cutouts? This would speed up my code considerably.