Skip to content

Commit 3594be7

Browse files
authored
Merge pull request #2997 from zoghbi-a/heasarc-refactor
Refactor astroquery.heasarc to use VO protocols
2 parents e13430f + 2f60071 commit 3594be7

29 files changed

+1610
-10321
lines changed

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ New Tools and Services
77

88
Service fixes and enhancements
99
------------------------------
10+
heasarc
11+
^^^^^^^
12+
13+
- Refactor heasarc to use the VO backend. [#2997]
1014

1115
astrometry_net
1216
^^^^^^^^^^^^^^

astroquery/heasarc/__init__.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
66
The High Energy Astrophysics Science Archive Research Center (HEASARC)
77
is the primary archive for NASA's (and other space agencies') missions.
8-
9-
The initial version of this was coded in a sprint at the
10-
"Python in astronomy" workshop in April 2015 by Jean-Christophe Leyder,
11-
Abigail Stevens, Antonio Martin-Carrillo and Christoph Deil.
128
"""
139
from astropy import config as _config
1410

@@ -27,6 +23,20 @@ class Conf(_config.ConfigNamespace):
2723
30,
2824
'Time limit for connecting to HEASARC server.')
2925

26+
VO_URL = _config.ConfigItem(
27+
'https://heasarc.gsfc.nasa.gov/xamin/vo',
28+
'Base Url for VO services')
29+
30+
TAR_URL = _config.ConfigItem(
31+
'https://heasarc.gsfc.nasa.gov/xamin/TarServlet',
32+
'URL for the xamin tar servlet'
33+
)
34+
35+
S3_BUCKET = _config.ConfigItem(
36+
'nasa-heasarc',
37+
'The name of the AWS S3 bucket that contain the HEASARC data'
38+
)
39+
3040

3141
conf = Conf()
3242

0 commit comments

Comments
 (0)