Skip to content

Commit 2159b0a

Browse files
committed
Minor cleanup to remove empty cells and test one more example
1 parent 73d12b7 commit 2159b0a

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/gemini/gemini.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ Getting Started
1010
This module can be used to query the Gemini Archive. Below are examples of querying the data with various
1111
parameters.
1212

13+
1314
Positional Queries
1415
------------------
1516

1617
Positional queries can be based on a sky position. Radius is an optional parameter and the default is 0.3 degrees.
1718

18-
.. code-block:: python
1919

2020
.. doctest-remote-data::
2121

@@ -30,15 +30,14 @@ Positional queries can be based on a sky position. Radius is an optional parame
3030
119.9983 Full Frame ... 2008-09-25 54.376194395654
3131
119.9986 Full Frame ... 2008-09-25 54.366916626746
3232
119.9983 Full Frame ... 2008-09-25 54.274527402457
33-
99.9983 Full Frame ... 2013-08-16 54.307561057825
33+
99.9983 Full Frame ... 2013-08-16 54.307561057825
3434

3535

3636
Observation Name Queries
3737
------------------------
3838

3939
You may also do a query by the name of the object you are interested in.
4040

41-
.. code-block:: python
4241
.. doctest-remote-data::
4342

4443
>>> from astroquery.gemini import Observations
@@ -52,6 +51,7 @@ You may also do a query by the name of the object you are interested in.
5251
49.9987 Full Frame ... 2013-08-28 54.346975563951
5352
49.9989 Full Frame ... 2013-08-28 54.347048438693
5453

54+
5555
Observation Criteria Queries
5656
----------------------------
5757

@@ -64,7 +64,6 @@ Some examples of available search fields are the instrument used, such as GMOS-N
6464
and the program ID. For a complete list of available search fields, see
6565
`~astroquery.gemini.ObservationsClass.query_criteria`
6666

67-
.. code-block:: python
6867
.. doctest-remote-data::
6968

7069
>>> from astroquery.gemini import Observations
@@ -87,7 +86,6 @@ optional parameters.
8786

8887
The ``orderby`` parameter can be used to pass the desired sort order.
8988

90-
.. code-block:: python
9189
.. doctest-remote-data::
9290

9391
>>> from astroquery.gemini import Observations
@@ -117,7 +115,6 @@ Note that *NotFail*, *notengineering*, *RAW*, and *cols* are all sent automatica
117115
terms need be passed into the method. If QA or engineering search terms are passed, those will replace
118116
the *NotFail* or *notengineering* terms respectively.
119117

120-
.. code-block:: python
121118
.. doctest-remote-data::
122119

123120
>>> from astroquery.gemini import Observations
@@ -139,7 +136,6 @@ The Gemini module allows for authenticated sessions using your GOA account. Thi
139136
with on the GOA homepage at `<https://archive.gemini.edu/>`__. The `astroquery.gemini.ObservationsClass.login`
140137
method returns `True` if successful.
141138

142-
.. code-block:: python
143139
.. doctest-skip::
144140

145141
>>> from astroquery.gemini import Observations
@@ -154,11 +150,10 @@ As a convenience, you can request file downloads directly from the Gemini module
154150
URL and fetches the file. It will use any authenticated session you may have, so it will retrieve any
155151
proprietary data you may be permissioned for.
156152

157-
.. code-block:: python
158-
.. doctest-skip::
153+
.. doctest-remote-data::
159154

160155
>>> from astroquery.gemini import Observations
161-
>>> Observations.get_file("GS2020AQ319-10.fits", download_dir="/tmp") # doctest: +REMOTE_DATA
156+
>>> Observations.get_file("GS2020AQ319-10.fits", download_dir="/tmp") # doctest: +IGNORE_OUTPUT
162157

163158

164159
Reference/API

0 commit comments

Comments
 (0)