Skip to content

Commit d3fb8db

Browse files
committed
updating based on review
1 parent 367cebc commit d3fb8db

File tree

58 files changed

+103
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+103
-112
lines changed

astroquery/atomic/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def query_object(self, *, wavelength_range=None, wavelength_type=None, wavelengt
142142
143143
cache : bool
144144
Defaults to True. If set overrides global caching behavior.
145-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
145+
See :ref:`caching documentation <astroquery_cache>`.
146146
147147
Returns
148148
-------

astroquery/casda/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def query_region_async(self, coordinates, *, radius=1*u.arcmin, height=None, wid
115115
Just return the dict of HTTP request parameters.
116116
cache : bool
117117
Defaults to True. If set overrides global caching behavior.
118-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
118+
See :ref:`caching documentation <astroquery_cache>`.
119119
120120
Returns
121121
-------

astroquery/esa/hsa/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def download_data(self, *, retrieval_type="OBSERVATION", observation_id=None,
6767
The directory in which the file will be downloaded
6868
cache : bool
6969
Defaults to True. If set overrides global caching behavior.
70-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
70+
See :ref:`caching documentation <astroquery_cache>`.
7171
7272
Returns
7373
-------

astroquery/esa/xmm_newton/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def download_data(self, observation_id, *, filename=None, verbose=False,
106106
values: ASC, ASZ, FTZ, HTM, IND, PDF, PNG
107107
cache : bool
108108
Defaults to True. If set overrides global caching behavior.
109-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
109+
See :ref:`caching documentation <astroquery_cache>`.
110110
111111
Returns
112112
-------

astroquery/eso/core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def list_instruments(self, *, cache=True):
313313
instrument_list : list of strings
314314
cache : bool
315315
Defaults to True. If set overrides global caching behavior.
316-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
316+
See :ref:`caching documentation <astroquery_cache>`.
317317
318318
"""
319319
if self._instrument_list is None:
@@ -337,7 +337,7 @@ def list_surveys(self, *, cache=True):
337337
survey_list : list of strings
338338
cache : bool
339339
Defaults to True. If set overrides global caching behavior.
340-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
340+
See :ref:`caching documentation <astroquery_cache>`.
341341
"""
342342
if self._survey_list is None:
343343
survey_list_response = self._request(
@@ -375,7 +375,7 @@ def query_surveys(self, *, surveys='', cache=True,
375375
survey names.
376376
cache : bool
377377
Defaults to True. If set overrides global caching behavior.
378-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
378+
See :ref:`caching documentation <astroquery_cache>`.
379379
380380
Returns
381381
-------
@@ -440,7 +440,7 @@ def query_main(self, *, column_filters={}, columns=[],
440440
``instrument``.
441441
cache : bool
442442
Defaults to True. If set overrides global caching behavior.
443-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
443+
See :ref:`caching documentation <astroquery_cache>`.
444444
445445
Returns
446446
-------
@@ -478,7 +478,7 @@ def query_instrument(self, instrument, *, column_filters={}, columns=[],
478478
``instrument``.
479479
cache : bool
480480
Defaults to True. If set overrides global caching behavior.
481-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
481+
See :ref:`caching documentation <astroquery_cache>`.
482482
483483
Returns
484484
-------
@@ -556,7 +556,7 @@ def get_headers(self, product_ids, *, cache=True):
556556
List of data product IDs.
557557
cache : bool
558558
Defaults to True. If set overrides global caching behavior.
559-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
559+
See :ref:`caching documentation <astroquery_cache>`.
560560
561561
Returns
562562
-------

astroquery/heasarc/core.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def query_async(self, request_payload, *, cache=True, url=None):
4343
control of the query to be submitted.
4444
4545
cache (bool) defaults to True. If set overrides global caching behavior.
46-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
46+
See :ref:`caching documentation <astroquery_cache>`.
4747
"""
4848

4949
if url is None:
@@ -58,7 +58,7 @@ def query_mission_list(self, *, cache=True, get_query_payload=False):
5858
Returns a list of all available mission tables with descriptions
5959
6060
cache (bool) defaults to True. If set overrides global caching behavior.
61-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
61+
See :ref:`caching documentation <astroquery_cache>`.
6262
"""
6363
request_payload = self._args_to_payload(
6464
entry='none',
@@ -99,7 +99,7 @@ def query_mission_cols(self, mission, *, cache=True, get_query_payload=False,
9999
* <custom> : User defined csv list of columns to be returned
100100
cache : bool, optional
101101
Defaults to True. If set overrides global caching behavior.
102-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
102+
See :ref:`caching documentation <astroquery_cache>`.
103103
All other parameters have no effect
104104
"""
105105

@@ -132,7 +132,7 @@ def query_object_async(self, object_name, mission, *,
132132
Mission table to search from
133133
cache : bool
134134
Defaults to True. If set overrides global caching behavior.
135-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
135+
See :ref:`caching documentation <astroquery_cache>`.
136136
**kwargs :
137137
see `~astroquery.heasarc.HeasarcClass._args_to_payload` for list
138138
of additional parameters that can be used to refine search query
@@ -173,7 +173,7 @@ def query_region_async(self, position: Union[coordinates.SkyCoord, str],
173173
e.g., '1 degree' or 1*u.degree.
174174
cache : bool
175175
Defaults to True. If set overrides global caching behavior.
176-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
176+
See :ref:`caching documentation <astroquery_cache>`.
177177
**kwargs :
178178
see `~astroquery.heasarc.HeasarcClass._args_to_payload` for list
179179
of additional parameters that can be used to refine search query

astroquery/ipac/irsa/ibe/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def list_missions(self, *, cache=True):
259259
----------
260260
cache : bool
261261
Defaults to True. If set overrides global caching behavior.
262-
See [caching documentation](https://astroquery.readthedocs.io/en/latest
262+
See :ref:`caching documentation <astroquery_cache>`.
263263
"""
264264
if hasattr(self, '_missions') and cache:
265265
# extra level caching to avoid redoing the BeautifulSoup parsing
@@ -290,7 +290,7 @@ def list_datasets(self, *, mission=None, cache=True):
290290
configured Mission
291291
cache : bool
292292
Defaults to True. If set overrides global caching behavior.
293-
See [caching documentation](https://astroquery.readthedocs.io/en/latest
293+
See :ref:`caching documentation <astroquery_cache>`.
294294
295295
Returns
296296
-------
@@ -334,7 +334,7 @@ def list_tables(self, *, mission=None, dataset=None, cache=True):
334334
``list_datsets(mission)``. Defaults to the configured Dataset
335335
cache : bool
336336
Defaults to True. If set overrides global caching behavior.
337-
See [caching documentation](https://astroquery.readthedocs.io/en/latest
337+
See :ref:`caching documentation <astroquery_cache>`.
338338
339339
Returns
340340
-------

astroquery/jplhorizons/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def ephemerides_async(self, *, airmass_lessthan=99,
582582
583583
cache : bool
584584
Defaults to True. If set overrides global caching behavior.
585-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
585+
See :ref:`caching documentation <astroquery_cache>`.
586586
587587
588588
Returns
@@ -831,7 +831,7 @@ def elements_async(self, *, get_query_payload=False,
831831
832832
cache : bool
833833
Defaults to True. If set overrides global caching behavior.
834-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
834+
See :ref:`caching documentation <astroquery_cache>`.
835835
836836
837837
Returns
@@ -1068,7 +1068,7 @@ def vectors_async(self, *, get_query_payload=False,
10681068
10691069
cache : bool
10701070
Defaults to True. If set overrides global caching behavior.
1071-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
1071+
See :ref:`caching documentation <astroquery_cache>`.
10721072
10731073
10741074
Returns

astroquery/jplsbdb/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def query_async(self, targetid, *, id_type='search',
109109
Default: ``False``
110110
cache : bool
111111
Defaults to True. If set overrides global caching behavior.
112-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
112+
See :ref:`caching documentation <astroquery_cache>`.
113113
114114
Returns
115115
-------

astroquery/jplspec/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def query_lines_async(self, min_frequency, max_frequency, *,
6666
parameters as a dict. Default value is set to False
6767
cache : bool
6868
Defaults to True. If set overrides global caching behavior.
69-
See [caching documentation](https://astroquery.readthedocs.io/en/latest/index.html#caching).
69+
See :ref:`caching documentation <astroquery_cache>`.
7070
7171
Returns
7272
-------

0 commit comments

Comments
 (0)