astroquery icon indicating copy to clipboard operation
astroquery copied to clipboard

Add support for Irsa query for ZTF lightcurves

Open ebellm opened this issue 5 years ago • 2 comments

The existing Irsa module can query the public ZTF catalog:

from astroquery.irsa import Irsa
from astropy.coordinates import SkyCoord
sc = SkyCoord('01:53:49.67 +20:20:47.7',unit=(u.hourangle,u.deg))
Irsa.query_region(coordinates=sc,catalog='ztf_objects_dr1', radius=1.5*u.arcsec)

However, the returned result is a short list of matching objects, and there is no way to retrieve the underlying photometry. (This is in contrast to the behavior when issuing the same query with catalog='ptf_lightcurves').

There is an API for the lightcurve service which could be used to enable direct queries for ZTF lightcurves.

ebellm avatar May 08 '19 23:05 ebellm

Well, this is because of the catalogue available for the API used by astroquery. The catalogue only provides the ZTF objects data table, however, for the PTF, the lightcurves data can be requested. I've started working on a fix for this which will allow you to get the ZTF light curve data as well, will update you ASAP.

JSee98 avatar Aug 22 '19 19:08 JSee98

Hi, was this eventually addressed?

Astrosavi avatar Jun 28 '22 15:06 Astrosavi