10
10
11
11
from astropy import config as _config
12
12
13
-
14
- ISLA_DOMAIN = 'https://isla.esac.esa.int/tap/'
13
+ ISLA_DOMAIN = 'https://isladev.esac.esa.int/tap-dev/'
15
14
ISLA_TAP_URL = ISLA_DOMAIN + 'tap'
16
15
17
16
@@ -24,7 +23,10 @@ class Conf(_config.ConfigNamespace):
24
23
ISLA_LOGIN_SERVER = _config .ConfigItem (ISLA_DOMAIN + 'login' , "ISLA Login Server" )
25
24
ISLA_LOGOUT_SERVER = _config .ConfigItem (ISLA_DOMAIN + 'logout' , "ISLA Logout Server" )
26
25
ISLA_SERVLET = _config .ConfigItem (ISLA_TAP_URL + "/sync/?PHASE=RUN" ,
27
- "ISLA Servlet Request" )
26
+ "ISLA Sync Request" )
27
+ ISLA_TARGET_RESOLVER = _config .ConfigItem (ISLA_DOMAIN + "servlet/target-resolver?TARGET_NAME={}"
28
+ "&RESOLVER_TYPE={}&FORMAT=json" ,
29
+ "ISLA Target Resolver Request" )
28
30
29
31
ISLA_INSTRUMENT_BAND_QUERY = _config .ConfigItem ('select i.name as instrument, b."name" as band, '
30
32
'i.instrument_oid, b.band_oid from ila.instrument i join '
@@ -39,6 +41,10 @@ class Conf(_config.ConfigNamespace):
39
41
"ila.v_cat_source src where "
40
42
"src.name ilike '%{}%' order by src.name asc" ,
41
43
"ISLA Target Condition" )
44
+ ISLA_CONE_TARGET_CONDITION = _config .ConfigItem ("select distinct src.name, src.ra, src.dec, "
45
+ "src.source_id from ila.v_cat_source src where "
46
+ "1=CONTAINS(POINT('ICRS',src.ra,src.dec),CIRCLE('ICRS',{},{},{}))" ,
47
+ "ISLA Target Condition" )
42
48
ISLA_COORDINATE_CONDITION = _config .ConfigItem ("1=CONTAINS(POINT('ICRS',ra,dec),CIRCLE('ICRS',{},{},{}))" ,
43
49
"ISLA Coordinate Condition" )
44
50
TIMEOUT = 60
0 commit comments