add table outputs
@@ -259,12 +259,26 @@ You can do the same based on IDs:
>>> from astroquery.simbad import Simbad
>>> result_table = Simbad.query_objects(["m1","m2","m3","m4"])
>>> print(result_table)
+ MAIN_ID RA DEC RA_PREC DEC_PREC COO_ERR_MAJA COO_ERR_MINA COO_ERR_ANGLE COO_QUAL COO_WAVELENGTH COO_BIBCODE
+ "h:m:s" "d:m:s" mas mas deg
+ ------- ----------- ----------- ------- -------- ------------ ------------ ------------- -------- -------------- -------------------
+ M 1 05 34 31.94 +22 00 52.2 6 6 -- -- 0 C R 2011A&A...533A..10L
+ M 2 21 33 27.02 -00 49 23.7 6 6 100.000 100.000 90 C O 2010AJ....140.1830G
+ M 3 13 42 11.62 +28 22 38.2 6 6 200.000 200.000 90 C O 2010AJ....140.1830G
+ M 4 16 23 35.22 -26 31 32.7 6 6 400.000 400.000 90 C O 2010AJ....140.1830G
However, note that missing data will result in missing lines:
>>> from astroquery.simbad import Simbad
>>> result_table = Simbad.query_objects(["m1","notanobject","m2","m1000"])
>>> print(result_table)
+ /Users/adam/repos/astroquery/astroquery/simbad/core.py:136: UserWarning: Warning: The script line number 4 raised an error (recorded in the `errors` attribute of the result table): 'notanobject': No known catalog could be found
+ (error.line, error.msg))
+ MAIN_ID RA DEC RA_PREC DEC_PREC COO_ERR_MAJA COO_ERR_MINA COO_ERR_ANGLE COO_QUAL COO_WAVELENGTH COO_BIBCODE
+ "h:m:s" "d:m:s" mas mas deg
+ ------- ----------- ----------- ------- -------- ------------ ------------ ------------- -------- -------------- -------------------
+ M 1 05 34 31.94 +22 00 52.2 6 6 -- -- 0 C R 2011A&A...533A..10L
+ M 2 21 33 27.02 -00 49 23.7 6 6 100.000 100.000 90 C O 2010AJ....140.1830G
Only the results for m1 and m2 are included. As of May 2019, there is a
feature request in place with SIMBAD to return blank rows with the queried
