@@ -37,8 +37,8 @@ class HiGalClass(BaseQuery):
37
37
URL = conf .server + "HiGALSearch.jsp"
38
38
TIMEOUT = conf .timeout
39
39
CATALOG_URL = conf .server + "MMCAjaxFunction"
40
- #https://tools.ssdc.asi.it/MMCAjaxFunction?
41
- #&mission=Hi-GAL&action=getMMCCatalogData&catalogId=4048&radius=10&ra=281.85238759&dec=-1.93488693&_=1546540568988
40
+ # https://tools.ssdc.asi.it/MMCAjaxFunction?
41
+ # &mission=Hi-GAL&action=getMMCCatalogData&catalogId=4048&radius=10&ra=281.85238759&dec=-1.93488693&_=1546540568988
42
42
HIGAL_CATALOGS = {'blue' : 4047 ,
43
43
'red' : 4051 ,
44
44
'psw' : 4050 ,
@@ -121,15 +121,14 @@ def _args_to_payload(self, coords=None, name=None, radius=10*u.arcmin,
121
121
cookie .path ,
122
122
cookie .name )
123
123
124
-
125
124
if name is not None :
126
125
coords = coordinates .SkyCoord .from_name (name )
127
126
128
127
if catalog_query :
129
128
request_payload = {
130
- 'mission' :'Hi-GAL' ,
129
+ 'mission' : 'Hi-GAL' ,
131
130
'action' : 'getMMCCatalogData' ,
132
- 'catalogId' : catalog_id , #[4048-4051
131
+ 'catalogId' : catalog_id , #[4048-4051
133
132
"radius" : "{0}" .format (radius .to (u .arcmin ).value ),
134
133
"ra" : coords .fk5 .ra .value ,
135
134
"dec" : coords .fk5 .dec .value ,
@@ -142,7 +141,7 @@ def _args_to_payload(self, coords=None, name=None, radius=10*u.arcmin,
142
141
coords .fk5 .dec .value ),
143
142
"RA" : coords .fk5 .ra .value ,
144
143
"DEC" : coords .fk5 .dec .value ,
145
- "coordsType" : "RADEC" , # or "LB"
144
+ "coordsType" : "RADEC" , # or "LB"
146
145
"NameResolverLOCAL" : "LOCAL" ,
147
146
"radius" : "arcmin" ,
148
147
"size" : "" ,
0 commit comments