Skip to content

Commit 41cb47d

Browse files
jespinosaarsnbianco
authored andcommitted
INTEGRALSWRQ-158
1 parent 5ac5345 commit 41cb47d

File tree

5 files changed

+804
-286
lines changed

5 files changed

+804
-286
lines changed

astroquery/esa/integral/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ class Conf(_config.ConfigNamespace):
2525
ISLA_SERVLET = _config.ConfigItem(ISLA_TAP_URL + "/sync/?PHASE=RUN",
2626
"ISLA Sync Request")
2727
ISLA_TARGET_RESOLVER = _config.ConfigItem(ISLA_DOMAIN + "servlet/target-resolver?TARGET_NAME={}"
28-
"&RESOLVER_TYPE={}&FORMAT=json",
28+
"&RESOLVER_TYPE={}&FORMAT=json",
2929
"ISLA Target Resolver Request")
3030

3131
ISLA_INSTRUMENT_BAND_QUERY = _config.ConfigItem('select i.name as instrument, b."name" as band, '
3232
'i.instrument_oid, b.band_oid from ila.instrument i join '
3333
'ila.band b using(instrument_oid);',
3434
"ISLA Instrument Band Query")
35-
ISLA_EPOCH_QUERY = _config.ConfigItem("select distinct epoch from ila.epoch where source_id = '{}' and "
35+
ISLA_EPOCH_TARGET_QUERY = _config.ConfigItem("select distinct epoch from ila.epoch where source_id = '{}' and "
36+
"(instrument_oid = {} or band_oid = {})",
37+
"ISLA Epoch Query")
38+
ISLA_EPOCH_QUERY = _config.ConfigItem("select distinct epoch from ila.epoch where "
3639
"(instrument_oid = {} or band_oid = {})",
3740
"ISLA Epoch Query")
3841
ISLA_OBSERVATION_BASE_QUERY = _config.ConfigItem("select * from ila.cons_pub_obs",

0 commit comments

Comments
 (0)