@@ -75,7 +75,7 @@ def query_region(
75
75
fields. The complete list of fields can be obtained with `list_fields`.
76
76
spacesys: str, optional
77
77
This is the space system on which the coordinates are expressed. Can take
78
- the values ``C`` (for the sky) , ``mars``, ``moon``... The extended list can
78
+ the values ``sky`` , ``mars``, ``moon``... The extended list can
79
79
be printed with `list_spacesys`. Default is None, meaning that the results
80
80
will have mixed frames.
81
81
intersect : str, optional
@@ -162,7 +162,7 @@ def query_hips(
162
162
fields. The complete list of fields can be obtained with `list_fields`.
163
163
spacesys: str, optional
164
164
This is the space system on which the coordinates are expressed. Can take
165
- the values ``C`` (for the sky) , ``mars``, ``moon``... The extended list can
165
+ the values ``sky`` , ``mars``, ``moon``... The extended list can
166
166
be printed with `list_spacesys`. Default is None, meaning that the results
167
167
will have mixed frames.
168
168
region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -254,7 +254,7 @@ def find_datasets(
254
254
fields. The complete list of fields can be obtained with `list_fields`.
255
255
spacesys: str, optional
256
256
This is the space system on which the coordinates are expressed. Can take
257
- the values ``C`` (for the sky) , ``mars``, ``moon``... The extended list can
257
+ the values ``sky`` , ``mars``, ``moon``... The extended list can
258
258
be printed with `list_spacesys`. Default is None, meaning that the results
259
259
will have mixed frames.
260
260
region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -342,7 +342,7 @@ def query_async(
342
342
fields. The complete list of fields can be obtained with `list_fields`.
343
343
spacesys: str, optional
344
344
This is the space system on which the coordinates are expressed. Can take
345
- the values ``C`` (for the sky) , ``mars``, ``moon``... The extended list can
345
+ the values ``sky`` , ``mars``, ``moon``... The extended list can
346
346
be printed with `list_spacesys`. Default is None, meaning that the results
347
347
will have mixed frames.
348
348
region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -521,7 +521,7 @@ def list_spacesys(self):
521
521
fields = ["ID" , "hips_frame" ],
522
522
spacesys = None )["hips_frame" ]))
523
523
# `C` is a special case that corresponds to both equatorial and galactic frames
524
- frames .append ("C " )
524
+ frames .append ("sky " )
525
525
frames .sort ()
526
526
return frames
527
527
@@ -553,7 +553,7 @@ def _args_to_payload(
553
553
"get" : "record" ,
554
554
"fields" : _get_fields (fields , default_fields ),
555
555
"intersect" : intersect .replace ("encloses" , "enclosed" ),
556
- "spacesys" : spacesys ,
556
+ "spacesys" : "C" if spacesys == "sky" else spacesys ,
557
557
}
558
558
559
559
if region and not isinstance (region , (MOC , STMOC , TimeMOC )):
0 commit comments