Skip to content

Commit 90f655c

Browse files
committed
Merge pull request #445 from bsipocz/docs_add_request_version
Added required version of requests to the docs of the eso module
2 parents 5f94f68 + 5cf9072 commit 90f655c

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

docs/eso/eso.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following packages are required for the use of this module:
2626

2727
* keyring
2828
* lxml
29+
* requests >= 2.4.0
2930

3031

3132
Authentication with ESO User Portal
@@ -120,39 +121,39 @@ Inspecting available query options
120121

121122
Once an instrument is chosen, ``midi`` in our case, the query options for that instrument can be
122123
inspected by setting the ``help=True`` keyword of the :meth:`~astroquery.eso.EsoClass.query_instrument`
123-
method.
124+
method.
124125

125126
.. code-block:: python
126127
127128
>>> eso.query_instrument('midi', help=True)
128129
List of the column_filters parameters accepted by the amber instrument query.
129130
The presence of a column in the result table can be controlled if prefixed with a [ ] checkbox.
130131
The default columns in the result table are shown as already ticked: [x].
131-
132+
132133
Target Information
133134
------------------
134-
target:
135+
target:
135136
resolver: simbad (SIMBAD name), ned (NED name), none (OBJECT as specified by the observer)
136137
coord_sys: eq (Equatorial (FK5)), gal (Galactic)
137-
coord1:
138-
coord2:
139-
box:
138+
coord1:
139+
coord2:
140+
box:
140141
format: sexagesimal (Sexagesimal), decimal (Decimal)
141-
[x] wdb_input_file:
142-
142+
[x] wdb_input_file:
143+
143144
Observation and proposal parameters
144145
------------------------------------
145-
[ ] night:
146-
stime:
146+
[ ] night:
147+
stime:
147148
starttime: 01 (01 hrs [UT]), 02 (02 hrs [UT]), 03 (03 hrs [UT]), 04 (04 hrs [UT]), 05 (05 hrs [UT]), 06 (06 hrs [UT]), 07 (07 hrs [UT]), 08 (08 hrs [UT]), 09 (09 hrs [UT]), 10 (10 hrs [UT]), 11 (11 hrs [UT]), 12 (12 hrs [UT]), 13 (13 hrs [UT]), 14 (14 hrs [UT]), 15 (15 hrs [UT]), 16 (16 hrs [UT]), 17 (17 hrs [UT]), 18 (18 hrs [UT]), 19 (19 hrs [UT]), 20 (20 hrs [UT]), 21 (21 hrs [UT]), 22 (22 hrs [UT]), 23 (23 hrs [UT]), 24 (24 hrs [UT])
148-
etime:
149+
etime:
149150
endtime: 01 (01 hrs [UT]), 02 (02 hrs [UT]), 03 (03 hrs [UT]), 04 (04 hrs [UT]), 05 (05 hrs [UT]), 06 (06 hrs [UT]), 07 (07 hrs [UT]), 08 (08 hrs [UT]), 09 (09 hrs [UT]), 10 (10 hrs [UT]), 11 (11 hrs [UT]), 12 (12 hrs [UT]), 13 (13 hrs [UT]), 14 (14 hrs [UT]), 15 (15 hrs [UT]), 16 (16 hrs [UT]), 17 (17 hrs [UT]), 18 (18 hrs [UT]), 19 (19 hrs [UT]), 20 (20 hrs [UT]), 21 (21 hrs [UT]), 22 (22 hrs [UT]), 23 (23 hrs [UT]), 24 (24 hrs [UT])
150-
[x] prog_id:
151+
[x] prog_id:
151152
[ ] prog_type: % (Any), 0 (Normal), 1 (GTO), 2 (DDT), 3 (ToO), 4 (Large), 5 (Short), 6 (Calibration)
152153
[ ] obs_mode: % (All modes), s (Service), v (Visitor)
153-
[ ] pi_coi:
154+
[ ] pi_coi:
154155
pi_coi_name: PI_only (as PI only), none (as PI or CoI)
155-
[ ] prog_title:
156+
[ ] prog_title:
156157
157158
Only the first two sections, of the parameters accepted by the ``midi`` instrument query,
158159
are shown in the example above: ``Target Information`` and ``Observation and proposal parameters``.
@@ -239,7 +240,7 @@ This method is detailed in the example below, continuing with the previously obt
239240
240241
>>> table_headers = eso.get_headers(table['DP.ID'])
241242
>>> table_headers.pprint()
242-
ARCFILE BITPIX ... TELESCOP UTC
243+
ARCFILE BITPIX ... TELESCOP UTC
243244
--------------------------------- ------ ... ------------ -------
244245
MIDI.2007-02-07T07:01:51.000.fits 16 ... ESO-VLTI-U23 25300.5
245246
MIDI.2007-02-07T07:02:49.000.fits 16 ... ESO-VLTI-U23 25358.5

0 commit comments

Comments
 (0)