@@ -295,7 +295,7 @@ This query performs a cone search centered at the specified ra/dec coordinates w
295295 >>> cone_results = job.get_results()
296296 >>> print (" Found" , len (cone_results), " results" )
297297 Found 27 results
298- >>> cone_results[' tile_index' , ' creation_date' , ' ra' , ' dec' , ' file_name' , ' file_path' , ' datalabs_path' , ' filter_name' , ' dist' ][:5 ]
298+ >>> cone_results[' tile_index' , ' creation_date' , ' ra' , ' dec' , ' file_name' , ' file_path' , ' datalabs_path' , ' filter_name' , ' dist' ][:5 ] # doctest: +IGNORE_OUTPUT
299299 <Table length=5>
300300 tile_index creation_date ra dec ... file_path datalabs_path filter_name dist
301301 int64 str23 float64 float64 ... str55 str43 str11 float64
@@ -314,13 +314,15 @@ Queries return a limited number of rows controlled by ``Euclid.ROW_LIMIT``. To c
314314
315315 >>> Euclid.ROW_LIMIT = 2
316316 >>> job = Euclid.cone_search(coordinate = coord, radius = radius, table_name = " sedm.mosaic_product" , ra_column_name = " ra" , dec_column_name = " dec" , columns = " *" , async_job = True )
317+ INFO: Query finished. [astroquery.utils.tap.core]
317318 >>> cone_results = job.get_results()
318- >>> print (" Found" , len (cone_results), " results" )
319+ >>> print (f " Found { len (cone_results)} results" )
319320 Found 2 results
320321
321-
322322To return an unlimited number of rows set ``Euclid.ROW_LIMIT `` to -1.
323323
324+ >>> Euclid.ROW_LIMIT = - 1
325+
324326
3253271.3. Query object
326328^^^^^^^^^^^^^^^^^
@@ -341,10 +343,10 @@ The method returns the job results as astropy.table
341343 >>> from astropy.coordinates import SkyCoord
342344 >>> import astropy.units as u
343345 >>> coord = SkyCoord(ra = 60.3372780005097 , dec = - 49.93184727724773 , unit = (u.degree, u.degree), frame = ' icrs' )
344- >>> table = Euclid.query_object(coordinate = coord, width = u.Quantity(0.1 , u.deg), height = u.Quantity(0.1 , u.deg))
346+ >>> table = Euclid.query_object(coordinate = coord, width = u.Quantity(0.1 , u.deg), height = u.Quantity(0.1 , u.deg)) # doctest: +IGNORE_WARNINGS
345347 >>> print (" Found a total of" , len (table), " query results" )
346348 Found a total of 2000 query results
347- >>> print (table)
349+ >>> print (table) # doctest: +IGNORE_OUTPUT
348350 dist avg_trans_wave_g_ext_decam avg_trans_wave_g_ext_hsc avg_trans_wave_g_ext_jpcam avg_trans_wave_g_ext_lsst avg_trans_wave_h avg_trans_wave_i_ext_decam ... sersic_fract_z_ext_panstarrs_disk_sersic sersic_fract_z_ext_panstarrs_disk_sersic_err she_flag spurious_flag spurious_prob variable_flag vis_det
349351 --------------------- -------------------------- ------------------------ -------------------------- ------------------------- ---------------- -------------------------- ... ---------------------------------------- -------------------------------------------- -------- ------------- ---------------------- ------------- -------
350352 3.566798805594703e-06 4826.7998046875 -- -- -- -- 7826.669921875 ... -- -- -- 0 0.15743961930274963 -- 1
@@ -375,11 +377,11 @@ The previous query can be executed as an asynchronous version:
375377 >>> coord = SkyCoord(ra = 60.3372780005097 , dec = - 49.93184727724773 , unit = (u.degree, u.degree), frame = ' icrs' )
376378 >>> width= u.Quantity(0.1 , u.deg)
377379 >>> height= u.Quantity(0.1 , u.deg)
378- >>> table_async = Euclid.query_object(coordinate = coord, width = width, height = height, async_job = True )
380+ >>> table_async = Euclid.query_object(coordinate = coord, width = width, height = height, async_job = True ) # doctest: +IGNORE_WARNINGS
379381 INFO: Query finished. [astroquery.utils.tap.core]
380- >>> print (" Found a total of" , len (table_async), " query results" )
382+ >>> print (f " Found a total of { len (table_async)} query results" )
381383 Found a total of 2895 query results
382- >>> print (table_async)
384+ >>> print (table_async) # doctest: +IGNORE_OUTPUT
383385 dist avg_trans_wave_g_ext_decam avg_trans_wave_g_ext_hsc avg_trans_wave_g_ext_jpcam avg_trans_wave_g_ext_lsst avg_trans_wave_h avg_trans_wave_i_ext_decam ... sersic_fract_z_ext_panstarrs_disk_sersic sersic_fract_z_ext_panstarrs_disk_sersic_err she_flag spurious_flag spurious_prob variable_flag vis_det
384386 --------------------- -------------------------- ------------------------ -------------------------- ------------------------- ---------------- -------------------------- ... ---------------------------------------- -------------------------------------------- -------- ------------- ---------------------- ------------- -------
385387 3.566798805594703e-06 4826.7998046875 -- -- -- -- 7826.669921875 ... -- -- -- 0 0.15743961930274963 -- 1
@@ -834,8 +836,22 @@ To obtain a list of the tables shared to a user type the following:
834836
835837 >>> from astroquery.esa.euclid import Euclid
836838 >>> tables = Euclid.load_tables(only_names = True , include_shared_tables = True )
839+ INFO: Retrieving tables... [astroquery.utils.tap.core]
840+ INFO: Parsing tables... [astroquery.utils.tap.core]
841+ INFO: Done. [astroquery.utils.tap.core]
837842 >>> for table in tables:
838843 ... print (table.get_qualified_name())
844+ catalogue.mer_catalogue
845+ catalogue.mer_cutouts
846+ catalogue.mer_morphology
847+ catalogue.phz_classification
848+ catalogue.phz_galaxy_sed
849+ ...
850+ tap_schema.columns
851+ tap_schema.key_columns
852+ tap_schema.keys
853+ tap_schema.schemas
854+ tap_schema.tables
839855
840856.. _uploading_table_to_user_space :
841857
0 commit comments