Skip to content

Commit daa0581

Browse files
authored
Merge pull request #2226 from bsipocz/docbuild_to_fail_on_warnings
Fix doc build issues
2 parents e8489d3 + d46a111 commit daa0581

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed
File renamed without changes.

astroquery/ipac/irsa/ibe/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ def list_datasets(self, mission=None, cache=True):
319319
def list_tables(self, mission=None, dataset=None, cache=True):
320320
"""
321321
For a given mission and dataset (see
322-
`~.astroquery.ipac.irsa.ibe.IbeClass.list_missions`,
322+
`~astroquery.ipac.irsa.ibe.IbeClass.list_missions`,
323323
`~astroquery.ipac.irsa.ibe.IbeClass.list_datasets`),
324324
returns the list of valid table names to query.
325325
326326
Parameters
327327
----------
328328
mission : str
329329
A mission name. Must be one of the valid missions from
330-
`~.astroquery.ibe.IbeClass.list_missions`. Defaults to the
330+
`~astroquery.ipac.irsa.ibe.IbeClass.list_missions`. Defaults to the
331331
configured Mission
332332
dataset : str
333333
A dataset name. Must be one of the valid dataset from

docs/esasky/esasky.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,13 +391,15 @@ type of the desired object. For example:
391391
In this case, you can specify the sso_type
392392
393393
.. code-block:: python
394+
394395
>>> from astroquery.esasky import ESASky
395396
>>> ESASky.query_sso(sso_name="503", sso_type="SATELLITE")
396397
397398
398399
You can see the available missions with:
399400
400401
.. code-block:: python
402+
401403
>>> from astroquery.esasky import ESASky
402404
>>> ESASky.list_sso()
403405
@@ -410,6 +412,7 @@ This function works very similar to :meth:`astroquery.esasky.ESASkyClass.get_ima
410412
are the same. You can for example, download a table list just like in get_maps by doing something like this:
411413
412414
.. code-block:: python
415+
413416
>>> from astroquery.esasky import ESASky
414417
>>> table_list_from_query_maps=ESASky.query_sso(sso_name="ganymede", missions="XMM")
415418
>>> table_list_from_query_maps['XMM'].remove_rows(list(range(0, 32)))
@@ -418,6 +421,7 @@ are the same. You can for example, download a table list just like in get_maps b
418421
Or download everything on an SSO by something like this:
419422
420423
.. code-block:: python
424+
421425
>>> from astroquery.esasky import ESASky
422426
>>> images=ESASky.get_images_sso(sso_name="ganymede")
423427
@@ -427,6 +431,7 @@ objects with a given name. Here you can see all matches and there aliases and ty
427431
specify which SSO you are after. Use :meth:`astroquery.esasky.ESASkyClass.find_sso` like this:
428432
429433
.. code-block:: python
434+
430435
>>> from astroquery.esasky import ESASky
431436
>>> list_of_matches=ESASky.find_sso(sso_name="Io")
432437

docs/jplhorizons/jplhorizons.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ calendar dates/times and Julian Dates, refer to UTC for ephemerides queries, TDB
8282
for element queries and vector queries. By default, ``epochs=None``, which uses
8383
the current date and time.
8484

85-
``id_type`` controls how `Horizons resolves the ``id``
86-
<https://ssd.jpl.nasa.gov/horizons/manual.html#select>_` to match a Solar System
87-
body:
85+
``id_type`` controls how `Horizons resolves the 'id' <https://ssd.jpl.nasa.gov/horizons/manual.html#select>`_
86+
to match a Solar System body:
8887

8988
+--------------------+------------------------------------------------------------------------------------------------------------------------------------------+
9089
| ``id_type`` | Query behavior |
@@ -329,8 +328,8 @@ As we have seen before, we can display a truncated version of table
329328
.. code-block:: python
330329
331330
>>> print(eph)
332-
targetname datetime_str ... PABLon PABLat
333-
--- --- ... deg deg
331+
targetname datetime_str ... PABLon PABLat
332+
--- --- ... deg deg
334333
-------------------------- ----------------- ... -------- --------
335334
3552 Don Quixote (1983 SA) 2010-Jan-01 00:00 ... 8.0371 18.9349
336335
3552 Don Quixote (1983 SA) 2011-Jan-01 00:00 ... 85.4082 34.5611
@@ -354,6 +353,7 @@ Columns
354353
-------
355354

356355
We can get at list of all the columns in this table with:
356+
357357
.. code-block:: python
358358
359359
>>> print(eph.columns)
@@ -362,12 +362,11 @@ We can get at list of all the columns in this table with:
362362
We can address each column individually by indexing it using its name as
363363
provided in this list. For instance, we can get all RAs for Don Quixote by using
364364

365-
366365
.. code-block:: python
367366
368367
>>> print(eph['RA'])
369-
RA
370-
deg
368+
RA
369+
deg
371370
---------
372371
345.50204
373372
78.77158
@@ -385,9 +384,10 @@ This column is formatted like the entire table; it has a column name and a unit.
385384
We can select several columns at a time, for instance RA and DEC for each epoch
386385

387386
.. code-block:: python
387+
388388
>>> print(eph['datetime_str', 'RA', 'DEC'])
389-
datetime_str RA DEC
390-
--- deg deg
389+
datetime_str RA DEC
390+
--- deg deg
391391
----------------- --------- --------
392392
2010-Jan-01 00:00 345.50204 13.43621
393393
2011-Jan-01 00:00 78.77158 61.48831
@@ -409,7 +409,7 @@ in quadrature:
409409
410410
>>> import numpy as np
411411
>>> print(np.sqrt(eph['RA_rate']**2 + eph['DEC_rate']**2))
412-
dRA*cosD
412+
dRA*cosD
413413
------------------
414414
86.18728612153883
415415
26.337249029653798
@@ -437,7 +437,7 @@ h`` - arcseconds per hour:
437437
.. code-block:: python
438438
439439
>>> print(eph['RA_rate'])
440-
RA_rate
440+
RA_rate
441441
arcsec / h
442442
----------
443443
72.35438
@@ -459,8 +459,8 @@ same dimensions. For instance, we can turn ``RA_rate`` into ``arcsec / s``:
459459
460460
>>> eph['RA_rate'].convert_unit_to('arcsec/s')
461461
>>> print(eph['RA_rate'])
462-
RA_rate
463-
arcsec / s
462+
RA_rate
463+
arcsec / s
464464
----------------------
465465
0.02009843888888889
466466
-0.0066177499999999995

0 commit comments

Comments
 (0)