@@ -82,7 +82,7 @@ This query searches for all the objects contained in an arbitrary rectangular pr
82
82
WARNING: This method implements the ADQL BOX function that is deprecated in the latest version of the standard
83
83
(ADQL 2.1, see: https://ivoa.net/documents/ADQL/20231107/PR-ADQL-2.1-20231107.html#tth_sEc4.2.9).
84
84
85
- It is possible to choose which data release to query, by default the Gaia DR3 catalogue is used. For example::
85
+ It is possible to choose which data release to query, by default the Gaia DR3 catalogue is used. For example
86
86
87
87
.. doctest-remote-data ::
88
88
@@ -796,12 +796,21 @@ The previous 3-step cross-match can be executed in one step by the following met
796
796
Owner: None
797
797
Output file: 1611860482314O-result.vot.gz
798
798
Results: None
799
+ >>> result = job.get_results()
799
800
800
801
This method updates the user table metadata to flag the positional RA/Dec columns and launches the positional
801
802
cross-match as an asynchronous query. Unlike the previous 3-step cross-match method, the returned job provides direct
802
803
access to the output of the cross-match information: for each matched source, all the columns from the input tables plus
803
804
the angular distance (degrees). Therefore, the size of the output can be quite large.
804
805
806
+ By default, this method targets the main catalogue of the Gaia DR3 ("gaiadr3.gaia_source") using a cone search radius
807
+ of 1.0 arcseconds. Therefore, the above example can also be simplified as follows::
808
+
809
+ >>> from astroquery.gaia import Gaia
810
+ >>> Gaia.login()
811
+ >>> job = Gaia.cross_match_basic(table_a_full_qualified_name=full_qualified_table_name, table_a_column_ra='raj2000',
812
+ table_a_column_dec='dej2000')
813
+ >>> result = job.get_results()
805
814
806
815
2.7. Tables sharing
807
816
^^^^^^^^^^^^^^^^^^^
0 commit comments