-
-
Notifications
You must be signed in to change notification settings - Fork 423
eHST queries and data using TAP and minor fixes in ESA modules #2597
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
Merged
bsipocz
merged 14 commits into
astropy:main
from
esdc-esac-esa-int:ESA_eHST-tap_https_url
Nov 26, 2022
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
dcc881f
EHSTPCR-1071: correct tapplus and data distribution
jespinosaar ac39c9c
Fix for #2590
jespinosaar 462ea9b
Custom client_id in TapPlus
jespinosaar 023eaec
Fixes in remote tests
jespinosaar 22a15e7
EHSTPCR-1071: style fixes
jespinosaar 7aa111c
changes.rst file updated
jespinosaar 7180126
EHSTPCR-1071: fix in test cov
jespinosaar 0001244
eHST: tests and doc updated, kwargs methods
jespinosaar f417fc0
eJWST: format improvements
jespinosaar d126fd9
eHST: pycodestyle issues with unused dependencies
jespinosaar 11fcb7c
eHST: remove warning in deprecated method, tap_client as variable
jespinosaar 3569a03
TAP_CLIENT_ID replaced with tap.tap_client_id
jespinosaar 141ce72
TAP_CLIENT_ID removed
jespinosaar d5221e5
HSC version removed in docs
jespinosaar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
""" | ||
@author: Javier Duran | ||
@contact: [email protected] | ||
========== | ||
eHST Init | ||
========== | ||
European Space Astronomy Centre (ESAC) | ||
European Space Agency (ESA) | ||
Created on 13 Aug. 2018 | ||
""" | ||
|
||
from astropy import config as _config | ||
from astropy.config import paths | ||
import os | ||
|
||
|
||
class Conf(_config.ConfigNamespace): | ||
""" | ||
Configuration parameters for `astroquery.esa.hubble`. | ||
""" | ||
DATA_ACTION = _config.ConfigItem("http://archives.esac.esa.int/" | ||
"ehst-sl-server/servlet/data-action", | ||
"Main url for retriving hst files") | ||
METADATA_ACTION = _config.ConfigItem("http://archives.esac.esa.int/" | ||
"ehst-sl-server/servlet/" | ||
"metadata-action", | ||
"Main url for retriving hst metadata") | ||
TARGET_ACTION = _config.ConfigItem("http://archives.esac.esa.int/" | ||
"ehst-sl-server/servlet/" | ||
"targetresolver-action", | ||
"Main url for solving targets") | ||
EHST_TAP_SERVER = _config.ConfigItem("https://hst.esac.esa.int/tap-server/tap", "eHST TAP Server") | ||
EHST_TARGET_ACTION = _config.ConfigItem("servlet/target-resolver?", "eHST Target Resolver") | ||
EHST_MESSAGES = _config.ConfigItem("notification?action=GetNotifications", "eHST Messages") | ||
TIMEOUT = 60 | ||
|
||
cache_location = os.path.join(paths.get_cache_dir(), 'astroquery/ehst', ) | ||
|
||
|
||
conf = Conf() | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reminds me that we need to sort out a team page listing ESA as a significant contributor. It's not forgotten, we just haven't got to it yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks! just ping me if you need a list of users or something else.