@@ -241,18 +241,18 @@ def list_votable_fields(self):
241
241
>>> options = Simbad.list_votable_fields() # doctest: +REMOTE_DATA
242
242
>>> # to print only the available bundles of columns
243
243
>>> options[options["type"] == "bundle of basic columns"][["name", "description"]] # doctest: +REMOTE_DATA
244
- <Table length=9 >
245
- name description
246
- object object
247
- ------------- -------------------------------------------------------
248
- coordinates all fields related with coordinates
249
- dim major and minor axis, angle and inclination
250
- dimensions all fields related to object dimensions
251
- morphtype all fields related to the morphological type
252
- parallax all fields related to parallaxes
253
- propermotions all fields related with the proper motions
254
- sp all fields related with the spectral type
255
- velocity all fields related with radial velocity and redshift
244
+ <Table length=8 >
245
+ name description
246
+ object object
247
+ ------------- ----------------------------------------------------
248
+ coordinates all fields related with coordinates
249
+ dim major and minor axis, angle and inclination
250
+ dimensions all fields related to object dimensions
251
+ morphtype all fields related to the morphological type
252
+ parallax all fields related to parallaxes
253
+ propermotions all fields related with the proper motions
254
+ sp all fields related with the spectral type
255
+ velocity all fields related with radial velocity and redshift
256
256
"""
257
257
# get the tables with a simple link to basic
258
258
query_tables = """SELECT DISTINCT table_name AS name, tables.description
@@ -1275,37 +1275,37 @@ def list_columns(self, *tables: str, keyword=None, get_query_payload=False):
1275
1275
>>> from astroquery.simbad import Simbad
1276
1276
>>> Simbad.list_columns("ids", "ident") # doctest: +REMOTE_DATA
1277
1277
<Table length=4>
1278
- table_name column_name datatype ... unit ucd
1279
- object object object ... object object
1280
- ---------- ----------- -------- ... ------ -------
1281
- ident id VARCHAR ... meta.id
1282
- ident oidref BIGINT ...
1283
- ids ids VARCHAR ... meta.id
1284
- ids oidref BIGINT ...
1278
+ table_name column_name datatype ... unit ucd
1279
+ object object object ... object object
1280
+ ---------- ----------- -------- ... ------ -----------
1281
+ ident id VARCHAR ... meta.id
1282
+ ident oidref BIGINT ... meta.record
1283
+ ids ids VARCHAR ... meta.id
1284
+ ids oidref BIGINT ... meta.record
1285
1285
1286
1286
1287
1287
>>> from astroquery.simbad import Simbad
1288
1288
>>> Simbad.list_columns(keyword="filter") # doctest: +REMOTE_DATA
1289
1289
<Table length=5>
1290
- table_name column_name datatype ... unit ucd
1291
- object object object ... object object
1292
- ----------- ----------- ----------- ... ------ ----------------------
1293
- filter description UNICODECHAR ... meta.note;instr.filter
1294
- filter filtername VARCHAR ... instr.filter
1295
- filter unit VARCHAR ... meta.unit
1296
- flux filter VARCHAR ... instr.filter
1297
- mesDiameter filter CHAR ... instr.filter
1290
+ table_name column_name datatype ... unit ucd
1291
+ object object object ... object object
1292
+ ----------- ----------- ----------- ... ------ ---------------------------
1293
+ filter description UNICODECHAR ... meta.note;instr.filter
1294
+ filter filtername VARCHAR ... instr.bandpass; instr.filter
1295
+ filter unit VARCHAR ... meta.unit
1296
+ flux filter VARCHAR ... instr.bandpass; instr.filter
1297
+ mesDiameter filter CHAR ... instr.bandpass; instr.filter
1298
1298
1299
1299
>>> from astroquery.simbad import Simbad
1300
1300
>>> Simbad.list_columns("basic", keyword="object") # doctest: +REMOTE_DATA
1301
1301
<Table length=4>
1302
- table_name column_name datatype ... unit ucd
1303
- object object object ... object object
1304
- ---------- ----------- -------- ... ------ -------------------
1305
- basic main_id VARCHAR ... meta.id;meta.main
1306
- basic otype_txt VARCHAR ... src.class
1307
- basic oid BIGINT ... meta.record;meta.id
1308
- basic otype VARCHAR ... src.class
1302
+ table_name column_name datatype ... unit ucd
1303
+ object object object ... object object
1304
+ ---------- ----------- -------- ... ------ -----------------
1305
+ basic main_id VARCHAR ... meta.id;meta.main
1306
+ basic otype_txt VARCHAR ... src.class
1307
+ basic oid BIGINT ... meta.record
1308
+ basic otype VARCHAR ... src.class
1309
1309
"""
1310
1310
query = ("SELECT table_name, column_name, datatype, description, unit, ucd"
1311
1311
" FROM TAP_SCHEMA.columns"
0 commit comments