-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
BUG: vector SkyCoords are not supported #409
Comments
On Wed, Jan 25, 2023 at 01:36:59PM -0800, Brigitta Sipőcz wrote:
it. IMO the whole position validation should be rewritten and make
more reliant on astropy.coordinates as most of the logic is already
been done there.
That sounds like an excellent plan to me.
|
Anyway, here is a list of POS inputs for single regions that I think we can easily support with what we have if we table the idea of queries for multiple objects. We already test for most of these, and the others are an easy fix (partial copy from test_sia2.py):
Now, the question of the vector SkyCoords are interesting, how should we distinguish between a single-position polygon search and multiple circle searches? |
cc @keflavich |
OK, so vector SkyCoord, maybe we only support the CIRCLE case? |
On Mon, Sep 16, 2024 at 05:37:53PM -0700, Brigitta Sipőcz wrote:
Originally I was thinking here to support a vector skycoord to
specify multiple position queries all at once, but I don't think
that would work with the servers, so we may just leave the looping
to the user?
Correctly implemented services should evaluate as many appearences of
POS as there are. I frankly fought against these multi-valued
parameters, but not that they're there we should use them. If this
then breaks left and right, we (and the service operators) will have
learned something, too :-)
So... I'm all for turning multiple geometries into a sequence of POS
parameters.
…-- Markus
|
So far the only limitation I run into was blindly following and incrementally extending the current pyvo logic at parsing, and nothing on the actual query side. I even deleted those side-tracking comments I made where I wondered about what services will support, without remembering that you'll still see them in your emails :) |
I was running into the issue of SIAv2 is not working with scalar coordinates (#305), so I made them a vector SkyCoord, which is working even less, e.g.
_validate_pos()
indal.params
wrongly assumes ra and dec from it. IMO the whole position validation should be rewritten and make more reliant on astropy.coordinates as most of the logic is already been done there.The text was updated successfully, but these errors were encountered: