Skip to content

Commit f56d13a

Browse files
authored
Merge pull request #1946 from tinumide/gama-doc-cleanup
Gama documentation clean up
2 parents 6834ef9 + 54c6d3d commit f56d13a

File tree

1 file changed

+26
-41
lines changed

1 file changed

+26
-41
lines changed

docs/gama/gama.rst

Lines changed: 26 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.. doctest-skip-all
21
.. _astroquery.gama:
32

43
********************************
@@ -20,50 +19,36 @@ This sends an SQL query, passed as a string, to the GAMA server and returns
2019
a `~astropy.table.Table`. For example, to return basic information on the
2120
first 100 spectroscopic objects in the database:
2221

23-
.. code-block:: python
22+
.. doctest-remote-data::
2423

2524
>>> from astroquery.gama import GAMA
2625
>>> result = GAMA.query_sql('SELECT * FROM SpecAll LIMIT 100')
27-
Downloading http://www.gama-survey.org/dr2/query/../tmp/GAMA_VHI6pj.fits
28-
|===========================================| 37k/ 37k (100.00%) 00s
2926
>>> print(result)
30-
SPECID SURVEY SURVEY_CODE RA ... DIST IS_SBEST IS_BEST
31-
------------------ ------ ----------- --------- ... ---- -------- -------
32-
131671727225700352 SDSS 1 132.16668 ... 0.1 1 1
33-
131671727229894656 SDSS 1 132.17204 ... 0.13 1 1
34-
131671727246671872 SDSS 1 132.24395 ... 0.13 1 1
35-
131671727255060480 SDSS 1 132.1767 ... 0.06 1 1
36-
131671727267643392 SDSS 1 132.63599 ... 0.05 1 1
37-
131671727271837696 SDSS 1 132.85366 ... 0.02 1 1
38-
131671727276032000 SDSS 1 132.70244 ... 0.03 1 1
39-
131671727292809216 SDSS 1 132.19579 ... 0.12 1 1
40-
131671727301197824 SDSS 1 132.57563 ... 0.0 1 1
41-
131671727309586432 SDSS 1 133.01007 ... 0.06 1 1
42-
131671727313780736 SDSS 1 132.76907 ... 0.04 1 1
43-
131671727322169344 SDSS 1 132.81014 ... 0.03 1 1
44-
131671727334752256 SDSS 1 132.85607 ... 0.02 1 1
45-
131671727338946560 SDSS 1 132.90222 ... 0.04 1 1
46-
131671727351529472 SDSS 1 133.00397 ... 0.05 1 1
47-
131671727355723776 SDSS 1 132.96032 ... 0.05 1 1
48-
131671727359918080 SDSS 1 132.92164 ... 0.03 1 1
49-
... ... ... ... ... ... ... ...
50-
131671727791931392 SDSS 1 131.59537 ... 0.03 1 1
51-
131671727796125696 SDSS 1 131.58167 ... 0.11 1 1
52-
131671727800320000 SDSS 1 131.47693 ... 0.05 1 1
53-
131671727804514304 SDSS 1 131.47471 ... 0.03 1 1
54-
131671727808708608 SDSS 1 131.60197 ... 0.03 1 1
55-
131671727825485824 SDSS 1 132.18426 ... 0.05 1 1
56-
131671727833874432 SDSS 1 132.2593 ... 0.05 1 1
57-
131671727838068736 SDSS 1 132.1901 ... 0.09 1 1
58-
131671727854845952 SDSS 1 132.30575 ... 0.04 1 1
59-
131671727859040256 SDSS 1 132.419 ... 0.04 1 1
60-
131671727867428864 SDSS 1 132.29052 ... 0.15 1 1
61-
131671727871623168 SDSS 1 132.37213 ... 0.01 1 1
62-
131671727880011776 SDSS 1 132.36358 ... 0.1 1 1
63-
131671727892594688 SDSS 1 132.3956 ... 0.05 1 1
64-
131671727896788992 SDSS 1 131.89562 ... 0.15 1 1
65-
131671727900983296 SDSS 1 131.85848 ... 0.05 1 1
66-
131671727905177600 SDSS 1 132.12958 ... 0.09 0 0
27+
SPECID SURVEY SURVEY_CODE RA ... DIST IS_SBEST IS_BEST
28+
------------------- ------ ----------- --------- ... ---- -------- -------
29+
1030358159811700736 SDSS 1 211.73487 ... 0.05 1 1
30+
1030358434689607680 SDSS 1 211.51452 ... 0.14 1 1
31+
1030358984445421568 SDSS 1 211.78462 ... 0.02 1 1
32+
1030359809079142400 SDSS 1 211.63878 ... 0.05 1 1
33+
1030360358834956288 SDSS 1 211.79006 ... 0.04 1 1
34+
1030360633712863232 SDSS 1 211.71473 ... 0.05 0 0
35+
1030361183468677120 SDSS 1 211.74528 ... 0.04 1 0
36+
1030361733224491008 SDSS 1 211.50587 ... 0.02 1 1
37+
1030363382491932672 SDSS 1 211.63321 ... 0.02 1 1
38+
1030363657369839616 SDSS 1 211.54913 ... 0.06 0 0
39+
... ... ... ... ... ... ... ...
40+
1031441727430354944 SDSS 1 212.46214 ... 0.06 1 1
41+
1031442002308261888 SDSS 1 212.37016 ... 0.11 1 1
42+
1031442552064075776 SDSS 1 212.43301 ... 0.08 1 1
43+
1031444751087331328 SDSS 1 212.37388 ... 0.1 1 1
44+
1031445300843145216 SDSS 1 212.34656 ... 0.02 1 1
45+
1031445575721052160 SDSS 1 212.89604 ... 0.03 1 1
46+
1031446125476866048 SDSS 1 212.75493 ... 0.03 1 1
47+
1031446400354772992 SDSS 1 212.90264 ... 0.04 1 1
48+
1031446950110586880 SDSS 1 212.96246 ... 0.05 1 1
49+
1031447774744307712 SDSS 1 213.0112 ... 0.09 1 1
50+
1031448324500121600 SDSS 1 212.70039 ... 0.05 0 0
51+
Length = 100 rows
6752

6853
Reference/API
6954
=============

0 commit comments

Comments
 (0)