Skip to content

Commit ce8cc52

Browse files
authored
Merge pull request #2140 from esdc-esac-esa-int/ejwst-prelaunch
eJWST prelaunch
2 parents 0833f63 + c84884e commit ce8cc52

26 files changed

+4524
-0
lines changed

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
New Tools and Services
55
----------------------
6+
esa.jwst
7+
^^^^^^^^^^
8+
9+
- New module to provide access to eJWST Science Archive metadata and datasets. [#2140]
610

711

812
Service fixes and enhancements

astroquery/esa/jwst/__init__.py

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2+
"""
3+
==========
4+
eJWST Init
5+
==========
6+
7+
@author: Raul Gutierrez-Sanchez
8+
9+
10+
European Space Astronomy Centre (ESAC)
11+
European Space Agency (ESA)
12+
13+
Created on 23 oct. 2018
14+
15+
"""
16+
17+
18+
from astropy import config as _config
19+
20+
21+
class Conf(_config.ConfigNamespace):
22+
"""
23+
Configuration parameters for `astroquery.esa.jwst`.
24+
"""
25+
26+
JWST_TAP_SERVER = _config.ConfigItem("http://jwstdummytap.com", "eJWST TAP Server")
27+
JWST_DATA_SERVER = _config.ConfigItem("http://jwstdummydata.com", "eJWST Data Server")
28+
JWST_TOKEN = _config.ConfigItem("jwstToken", "eJWST token")
29+
JWST_MESSAGES = _config.ConfigItem("notification?action=GetNotifications", "eJWST Messages")
30+
31+
JWST_MAIN_TABLE = _config.ConfigItem("jwst.main", "JWST main table, combination of observation and plane tables.")
32+
33+
JWST_MAIN_TABLE_RA = _config.ConfigItem("target_ra", "Name of RA parameter in table")
34+
35+
JWST_MAIN_TABLE_DEC = _config.ConfigItem("target_dec", "Name of Dec parameter in table")
36+
37+
JWST_ARTIFACT_TABLE = _config.ConfigItem("jwst.artifact", "JWST artifacts (data files) table.")
38+
39+
JWST_OBSERVATION_TABLE = _config.ConfigItem("jwst.observation", "JWST observation table")
40+
41+
JWST_PLANE_TABLE = _config.ConfigItem("jwst.plane", "JWST plane table")
42+
43+
JWST_OBS_MEMBER_TABLE = _config.ConfigItem("jwst.observationmember", "JWST observation member table")
44+
45+
JWST_OBSERVATION_TABLE_RA = _config.ConfigItem("targetposition_coordinates_cval1",
46+
"Name of RA parameter "
47+
"in table")
48+
49+
JWST_OBSERVATION_TABLE_DEC = _config.ConfigItem("targetposition_coordinates_cval2",
50+
"Name of Dec parameter "
51+
"in table")
52+
53+
54+
conf = Conf()
55+
56+
from .core import Jwst, JwstClass
57+
from .data_access import JwstDataHandler
58+
59+
__all__ = ['Jwst', 'JwstClass', 'JwstDataHandler', 'Conf', 'conf']

0 commit comments

Comments
 (0)