Skip to content

Commit 0304da1

Browse files
keflavichbsipocz
authored andcommitted
add some ignore_output
1 parent 2e785a9 commit 0304da1

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/alma/alma.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You can query by object name or by circular region:
126126
.. doctest-remote-data::
127127
>>> from astroquery.alma import Alma
128128
>>> m83_data = Alma.query_object('M83')
129-
>>> m83_data.colnames
129+
>>> m83_data.colnames # doctest: +SKIP
130130
['obs_publisher_did', 'obs_collection', 'facility_name', 'instrument_name',
131131
'obs_id', 'dataproduct_type', 'calib_level', 'target_name', 's_ra',
132132
's_dec', 's_fov', 's_region', 's_resolution', 't_min', 't_max',
@@ -153,6 +153,11 @@ Region queries are just like any other in astroquery:
153153
>>> galactic_center = coordinates.SkyCoord(0*u.deg, 0*u.deg,
154154
... frame='galactic')
155155
>>> gc_data = Alma.query_region(galactic_center, 1*u.deg)
156+
>>> print(gc_data) # doctest: +IGNORE_OUTPUT
157+
obs_publisher_did obs_collection facility_name ... scientific_category lastModified
158+
...
159+
--------------------------- -------------- ------------- ... --------------------------- -----------------------
160+
ADS/JAO.ALMA#2012.1.00133.S ALMA JAO ... ISM and star formation 2021-09-30T16:34:41.133
156161
157162
Querying by other parameters
158163
============================
@@ -169,7 +174,7 @@ subset of keywords returning results in 'ObsCore' format.
169174
170175
.. code-block:: python
171176
172-
>>> # Alma.query_sia(pol='XX')
177+
>>> Alma.query_sia(pol='XX') # doctest: +SKIP
173178
174179
Finally, the ''query_tap'' method is the most general way of querying the ALMA
175180
metadata. This method is used to send queries to the service using the
@@ -179,6 +184,12 @@ format.
179184
.. code-block:: python
180185
.. doctest-remote-data::
181186
>>> Alma.query_tap("select * from ivoa.obscore where target_name like '%M83%'") # doctest: +IGNORE_OUTPUT
187+
<Table length=364>
188+
obs_publisher_did obs_collection facility_name ... science_keyword scientific_category lastModified
189+
...
190+
str33 str4 str3 ... str200 str200 object
191+
--------------------------- -------------- ------------- ... ------------------------------------------------------------------------------------ ---------------------- -----------------------
192+
ADS/JAO.ALMA#2016.1.00164.S ALMA JAO ... Starbursts, star formation, Galaxy chemistry Active galaxies 2021-09-30T16:34:41.133
182193
183194
184195
Use the ''help_tap'' method to learn about the ALMA 'ObsCore' keywords and

0 commit comments

Comments
 (0)