Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor astroquery.heasarc to use VO protocols #2997

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ New Tools and Services

Service fixes and enhancements
------------------------------
heasarc
^^^^^^^

- Refactor heasarc to use the VO backend. [#2997]

astrometry_net
^^^^^^^^^^^^^^
Expand Down
18 changes: 14 additions & 4 deletions astroquery/heasarc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

The High Energy Astrophysics Science Archive Research Center (HEASARC)
is the primary archive for NASA's (and other space agencies') missions.

The initial version of this was coded in a sprint at the
"Python in astronomy" workshop in April 2015 by Jean-Christophe Leyder,
Abigail Stevens, Antonio Martin-Carrillo and Christoph Deil.
"""
from astropy import config as _config

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

VO_URL = _config.ConfigItem(
'https://heasarc.gsfc.nasa.gov/xamin/vo',
'Base Url for VO services')

TAR_URL = _config.ConfigItem(
'https://heasarc.gsfc.nasa.gov/xamin/TarServlet',
'URL for the xamin tar servlet'
)

S3_BUCKET = _config.ConfigItem(
'nasa-heasarc',
'The name of the AWS S3 bucket that contain the HEASARC data'
)


conf = Conf()

Expand Down
Loading