Open stephtdouglas opened 1 year ago
Actually, it is also throwing the error if I query for format='image/fits'
as well...
On Sun, Jan 08, 2023 at 11:19:12AM -0800, Stephanie Douglas wrote:
I discussed with @bsipocz and it seems like this should return an empty result if an archive contains no data in that format, rather than throwing an error.
This is definitely the case. SIA v1 is explicit on this:
If formats indicated by this parameter are not supported by the implementing service, the returned table should be empty.
(sect. 4.1 lit 4). But we can't do much about this here, as it's the service that's broken. Fortunately, pyVO can tell you who to ask about this:
svcs[0].get_contact() 'IRSA Support Team @.***>'
Would you complain there? And perhaps close this bug when they have acknowledged they will do something about it?
@stephtdouglas, would you close this if it's been resolved or else tell us if there's stuff to change in pyvo after all? Thanks!
I am modifying the image search cheat-sheet to look at 2MASS images, and it failed because the 2MASS ASKY AT / 2MASS All-Sky Atlas Image Service doesn't appear to support jpeg images. Here is what I ran (still labelled uvot even though I changed to IR, sorry!)
And then that returns
I discussed with @bsipocz and it seems like this should return an empty result if an archive contains no data in that format, rather than throwing an error.