Skip to content

Commit c3a1366

Browse files
authored
Merge pull request #2108 from bsipocz/ibe_sha_https
Switch to https for IBE and SHA
2 parents bb5c4e8 + c83c800 commit c3a1366

File tree

6 files changed

+27
-15
lines changed

6 files changed

+27
-15
lines changed

CHANGES.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ irsa
5454

5555
- Making optional kwargs keyword only. [#2092]
5656

57+
ibe
58+
^^^
59+
60+
- Doubling default timeout to 120 seconds. [#2108]
61+
62+
- Change URL to https. [#2108]
63+
5764
nasa_exoplanet_archive
5865
^^^^^^^^^^^^^^^^^^^^^^
5966

@@ -66,6 +73,11 @@ atomic
6673

6774
- Change URL to https [#2088]
6875

76+
sha
77+
^^^
78+
79+
- Change URL to https. [#2108]
80+
6981

7082
Infrastructure, Utility and Other Changes and Additions
7183
-------------------------------------------------------

astroquery/ibe/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ class Conf(_config.ConfigNamespace):
1515
"""
1616

1717
server = _config.ConfigItem(
18-
'http://irsa.ipac.caltech.edu/ibe/',
18+
'https://irsa.ipac.caltech.edu/ibe/',
1919
'Name of the IBE server to use.')
2020
mission = _config.ConfigItem(
2121
'ptf',
2222
('Default mission. See, for example, '
23-
'http://irsa.ipac.caltech.edu/ibe/search/ for options.'))
23+
'https://irsa.ipac.caltech.edu/ibe/search/ for options.'))
2424

2525
dataset = _config.ConfigItem(
2626
'images',
2727
('Default data set. See, for example, '
28-
'http://irsa.ipac.caltech.edu/ibe/search/ptf for options.'))
28+
'https://irsa.ipac.caltech.edu/ibe/search/ptf for options.'))
2929
table = _config.ConfigItem(
3030
'level1',
3131
('Default table. See, for example, '
32-
'http://irsa.ipac.caltech.edu/ibe/search/ptf/images for options.'))
32+
'https://irsa.ipac.caltech.edu/ibe/search/ptf/images for options.'))
3333
timeout = _config.ConfigItem(
34-
60,
34+
120,
3535
'Time limit for connecting to the IRSA server.')
3636

3737

astroquery/ibe/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API from
77
8-
http://irsa.ipac.caltech.edu/ibe/
8+
https://irsa.ipac.caltech.edu/ibe/
99
"""
1010

1111

astroquery/ibe/tests/test_ibe.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
from ...ibe import Ibe
1313

1414
DATA_FILES = {
15-
('http://irsa.ipac.caltech.edu/ibe/search/', None): 'missions.html',
16-
('http://irsa.ipac.caltech.edu/ibe/search/ptf/', None): 'datasets.html',
17-
('http://irsa.ipac.caltech.edu/ibe/search/ptf/images/',
15+
('https://irsa.ipac.caltech.edu/ibe/search/', None): 'missions.html',
16+
('https://irsa.ipac.caltech.edu/ibe/search/ptf/', None): 'datasets.html',
17+
('https://irsa.ipac.caltech.edu/ibe/search/ptf/images/',
1818
None): 'tables.html',
19-
('http://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
19+
('https://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
2020
frozenset((('FORMAT', 'METADATA'),))): 'columns.txt',
21-
('http://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
21+
('https://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
2222
frozenset((('where', 'expid <= 43010'), ('POS', '148.969687,69.679383'),
2323
('INTERSECT', 'OVERLAPS')))): 'pos.txt',
24-
('http://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
24+
('https://irsa.ipac.caltech.edu/ibe/search/ptf/images/level1',
2525
frozenset((('where', "ptffield = 4808 and filter='R'"),
2626
('INTERSECT', 'OVERLAPS')))): 'field_id.txt'}
2727

astroquery/sha/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:Author: Brian Svoboda ([email protected])
77
88
This package is for querying the Spitzer Heritage Archive (SHA)
9-
found at: http://sha.ipac.caltech.edu/applications/Spitzer/SHA.
9+
found at: https://sha.ipac.caltech.edu/applications/Spitzer/SHA.
1010
"""
1111
from .core import *
1212

astroquery/sha/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# should skip only if remote_data = False
1515
__doctest_skip__ = ['query', 'save_file', 'get_file']
1616

17-
uri = 'http://sha.ipac.caltech.edu/applications/Spitzer/SHA/servlet/DataService?'
17+
uri = 'https://sha.ipac.caltech.edu/applications/Spitzer/SHA/servlet/DataService?'
1818

1919

2020
def query(coord=None, ra=None, dec=None, size=None, naifid=None, pid=None,
@@ -102,7 +102,7 @@ def query(coord=None, ra=None, dec=None, size=None, naifid=None, pid=None,
102102
For column descriptions, metadata, and other information visit the SHA
103103
query API_ help page
104104
105-
.. _API: http://sha.ipac.caltech.edu/applications/Spitzer/SHA/help/doc/api.html
105+
.. _API: https://sha.ipac.caltech.edu/applications/Spitzer/SHA/help/doc/api.html
106106
"""
107107
# Use Coordinate instance if supplied
108108
if coord is not None:

0 commit comments

Comments
 (0)