|
| 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