Skip to content

Commit c07e1b8

Browse files
committed
DOC: minor fixes to make doctests pass
1 parent 5f72e7e commit c07e1b8

File tree

3 files changed

+39
-37
lines changed

3 files changed

+39
-37
lines changed

CHANGES.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
New Tools and Services
55
----------------------
66

7-
ipac.irsa.most
8-
^^^^^^^^^^^^^^
7+
ipac.irsa
8+
^^^^^^^^^
99

10-
- New module to access the Moving Object Search Tool (MOST) added. [#2660]
10+
- New class to access the Moving Object Search Tool (MOST) added. [#2660]
1111

1212
gaia
1313
^^^^

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ The following modules have been completed using a common API:
255255
heasarc/heasarc.rst
256256
hips2fits/hips2fits.rst
257257
hitran/hitran.rst
258-
ipac/irsa/most/most.rst
258+
ipac/irsa/most.rst
259259
ipac/irsa/irsa_dust/irsa_dust.rst
260260
ipac/irsa/ibe/ibe.rst
261261
ipac/irsa/irsa.rst

docs/ipac/irsa/most/most.rst renamed to docs/ipac/irsa/most.rst

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
******************************
2-
IRSA Moving Object Search Tool
3-
******************************
1+
.. _astroquery.ipac.irsa.most:
2+
3+
**********************************************************
4+
IRSA Moving Object Search Tool (astroquery.ipac.irsa.most)
5+
**********************************************************
46

57
Moving Object Search Tool (MOST) can determine the orbit for a given solar system
68
object then find images that covered the object's predicted positions in select
@@ -358,19 +360,19 @@ asteroid `Victoria <https://en.wikipedia.org/wiki/12_Victoria>`_ as:
358360
... obs_begin="2014-05-29",
359361
... obs_end="2014-05-30")
360362
<Table length=10>
361-
ra_obj dec_obj sun_dist geo_dist ... saa_sep qual_frame image_set
362-
float64 float64 float64 float64 ... float64 int64 int64
363-
---------- --------- -------- -------- ... ------- ---------- ---------
364-
333.539704 -0.779309 1.8179 1.4638 ... 15.039 10 6
365-
333.539704 -0.779309 1.8179 1.4638 ... 15.039 10 6
366-
333.589056 -0.747249 1.8179 1.4626 ... 46.517 10 6
367-
333.589056 -0.747249 1.8179 1.4626 ... 46.517 10 6
368-
333.638285 -0.71525 1.8179 1.4614 ... 89.053 10 6
369-
333.638285 -0.71525 1.8179 1.4614 ... 89.053 10 6
370-
333.687494 -0.683205 1.8178 1.4603 ... 115.076 10 6
371-
333.687494 -0.683205 1.8178 1.4603 ... 115.076 10 6
372-
333.73658 -0.651221 1.8178 1.4591 ... 73.321 10 6
373-
333.73658 -0.651221 1.8178 1.4591 ... 73.321 10 6
363+
ra_obj dec_obj sun_dist geo_dist ... moon_sep saa_sep qual_frame image_set
364+
float64 float64 float64 float64 ... float64 float64 int64 int64
365+
---------- --------- -------- -------- ... -------- ------- ---------- ---------
366+
333.539704 -0.779309 1.8179 1.4638 ... 102.339 15.039 10 6
367+
333.539704 -0.779309 1.8179 1.4638 ... 102.339 15.039 10 6
368+
333.589056 -0.747249 1.8179 1.4626 ... 103.825 46.517 10 6
369+
333.589056 -0.747249 1.8179 1.4626 ... 103.825 46.517 10 6
370+
333.638286 -0.71525 1.8179 1.4614 ... 105.327 89.053 10 6
371+
333.638286 -0.71525 1.8179 1.4614 ... 105.327 89.053 10 6
372+
333.687495 -0.683205 1.8178 1.4603 ... 106.803 115.076 10 6
373+
333.687495 -0.683205 1.8178 1.4603 ... 106.803 115.076 10 6
374+
333.736581 -0.651221 1.8178 1.4591 ... 108.294 73.321 10 6
375+
333.736581 -0.651221 1.8178 1.4591 ... 108.294 73.321 10 6
374376

375377
To return more than just a table of image identifiers, use one of the more
376378
verbose output modes - ``Regular`` or ``Full``.
@@ -388,19 +390,19 @@ verbose output modes - ``Regular`` or ``Full``.
388390
dict_keys(['results', 'metadata', 'region', 'fits_tarball', 'region_tarball'])
389391
>>> matched["metadata"]
390392
<Table length=10>
391-
ra_obj dec_obj sun_dist geo_dist ... saa_sep qual_frame image_set
392-
float64 float64 float64 float64 ... float64 int64 int64
393-
---------- --------- -------- -------- ... ------- ---------- ---------
394-
333.539704 -0.779309 1.8179 1.4638 ... 15.039 10 6
395-
333.539704 -0.779309 1.8179 1.4638 ... 15.039 10 6
396-
333.589056 -0.747249 1.8179 1.4626 ... 46.517 10 6
397-
333.589056 -0.747249 1.8179 1.4626 ... 46.517 10 6
398-
333.638285 -0.71525 1.8179 1.4614 ... 89.053 10 6
399-
333.638285 -0.71525 1.8179 1.4614 ... 89.053 10 6
400-
333.687494 -0.683205 1.8178 1.4603 ... 115.076 10 6
401-
333.687494 -0.683205 1.8178 1.4603 ... 115.076 10 6
402-
333.73658 -0.651221 1.8178 1.4591 ... 73.321 10 6
403-
333.73658 -0.651221 1.8178 1.4591 ... 73.321 10 6
393+
ra_obj dec_obj sun_dist geo_dist ... moon_sep saa_sep qual_frame image_set
394+
float64 float64 float64 float64 ... float64 float64 int64 int64
395+
---------- --------- -------- -------- ... -------- ------- ---------- ---------
396+
333.539704 -0.779309 1.8179 1.4638 ... 102.339 15.039 10 6
397+
333.539704 -0.779309 1.8179 1.4638 ... 102.339 15.039 10 6
398+
333.589056 -0.747249 1.8179 1.4626 ... 103.825 46.517 10 6
399+
333.589056 -0.747249 1.8179 1.4626 ... 103.825 46.517 10 6
400+
333.638286 -0.71525 1.8179 1.4614 ... 105.327 89.053 10 6
401+
333.638286 -0.71525 1.8179 1.4614 ... 105.327 89.053 10 6
402+
333.687495 -0.683205 1.8178 1.4603 ... 106.803 115.076 10 6
403+
333.687495 -0.683205 1.8178 1.4603 ... 106.803 115.076 10 6
404+
333.736581 -0.651221 1.8178 1.4591 ... 108.294 73.321 10 6
405+
333.736581 -0.651221 1.8178 1.4591 ... 108.294 73.321 10 6
404406

405407
As demonstrated, the returned values are stored in a dictionary and which
406408
``metadata`` key table matches the ``Brief`` output mode table.
@@ -412,13 +414,13 @@ key:
412414

413415
.. doctest-remote-data::
414416

415-
>>> matched["fits_tarball"]
417+
>>> matched["fits_tarball"] # doctest: +IGNORE_OUTPUT
416418
'https://irsa.ipac.caltech.edu/workspace/TMP_X69utS_13312/Most/pid15792/fitsimage_A850RA.tar.gz'
417-
>>> matched["region_tarball"]
419+
>>> matched["region_tarball"] # doctest: +IGNORE_OUTPUT
418420
'https://irsa.ipac.caltech.edu/workspace/TMP_X69utS_13312/Most/pid15792/ds9region_A850RA.tar'
419421
>>> matched["results"].columns
420-
<TableColumns names=('Image_ID','date_obs','time_obs','mjd_obs','ra_obj','dec_obj','sun_dist','geo_dist','dist_ctr','phase','vmag','image_url','postcard_url','region_file')> # noqa: E501
421-
>>> matched["results"]["time_obs", "image_url"]
422+
<TableColumns names=('Image_ID','date_obs','time_obs','mjd_obs','ra_obj','dec_obj','sun_dist','geo_dist','dist_ctr','phase','vmag','image_url','postcard_url','region_file')>
423+
>>> matched["results"]["time_obs", "image_url"] # doctest: +IGNORE_OUTPUT
422424
<Table length=10>
423425
time_obs image_url
424426
str12 str103

0 commit comments

Comments
 (0)