Open mattia-vaccari opened 3 years ago
Positional queries are indeed accepted. There is no work in progress to make them conform to the general astroquery user interface, though that would be super useful.
As it currently stands, you need to figure out how to construct the query yourself. The help
example given in the docs makes reasonably clear how this is to be done, though more complete examples are always helpful (and welcome).
This is how you do a simple coordinate-based instrument query - it replicates the web form interface exactly
Eso.query_instrument('sinfoni', coord1=0, coord2=0, coord_sys='gal', box='00 02 00')
Thanks, brilliant. I think adding a note that coord1/coord2/box should confirm to the query format at a given URL and adding the example query you mentioned in your reply to the docs would be useful.
The astroquery.eso docs (e.g. for query_instrument) seems to suggest positional queries via the coord1 / coord2 / box arguments should be supported
Target Information
but the lack of detailed documentation seems to suggest this might still be in the works?
While the arguments are accepted, it doesn't seem to work (i.e. no selection is enforced according to the input arguments) in version 4.2
Is this still in the process of being implemented, and if so, would it be worth updating the docs?
If it is working, could someone perhps post an example call here (and add it to the docs?)
Thanks!