Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[track] Comparison image retrieval for non-OSSOS images #356

Open
mtbannister opened this issue Feb 17, 2017 · 0 comments
Open

[track] Comparison image retrieval for non-OSSOS images #356

mtbannister opened this issue Feb 17, 2017 · 0 comments

Comments

@mtbannister
Copy link
Contributor

Comparison image requests for non-OSSOS images fail because the cutout url constructor is only looking at /dbimages. Can we have a fallback pointing to public MegaCam imaging?

Traceback (most recent call last):
File "/Users/bannisterm/miniconda2/envs/astro/lib/python2.7/site-packages/ossos/downloads/cutouts/source.py", line 423, in retrieve_comparison_image
SkyCoord(ref_ra, ref_dec), radius)
File "/Users/bannisterm/miniconda2/envs/astro/lib/python2.7/site-packages/ossos/storage.py", line 763, in ra_dec_cutout
resp = requests.get(url, params, auth=vospace.authentication)
File "/Users/bannisterm/miniconda2/envs/astro/lib/python2.7/site-packages/ossos/storage.py", line 99, in get
resp.raise_for_status()
File "/Users/bannisterm/miniconda2/envs/astro/lib/python2.7/site-packages/requests/models.py", line 862, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found for url: http://www.canfar.phys.uvic.ca/vospace/auth/nodes/OSSOS/dbimages/2076144/2076144p.fits?cutout=CIRCLE+ICRS+220.06808944+-16.2636077039+0.00538634363027&view=cutout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant