MickaelRigault / ztfquery

Access ZTF data from Python
Apache License 2.0
37 stars 18 forks source link

Bug in URL for reference images #9

Closed annayqho closed 5 years ago

annayqho commented 5 years ago

The URL for reference images is sometimes not correct. For example, for one source, the URL is 'https://irsa.ipac.caltech.edu/ibe/data/ztf/products/ref/000/field001706/zr/ccd15/q1/ztf_001706_zr_c15_q1_refimg.fits' instead of 'https://irsa.ipac.caltech.edu/ibe/data/ztf/products/ref/001/field001706/zr/ccd15/q1/ztf_001706_zr_c15_q1_refimg.fits'

In other words, the 3-digit number after /ref/ should match the first three digits after 'field'

MickaelRigault commented 5 years ago

Hi Anna,

I think the bug is fixed. (version 1.4.1).

Could you double check and let me know ?