@@ -75,7 +75,7 @@ def query_region(
7575 fields. The complete list of fields can be obtained with `list_fields`.
7676 spacesys: str, optional
7777 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
7979 be printed with `list_spacesys`. Default is None, meaning that the results
8080 will have mixed frames.
8181 intersect : str, optional
@@ -162,7 +162,7 @@ def query_hips(
162162 fields. The complete list of fields can be obtained with `list_fields`.
163163 spacesys: str, optional
164164 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
166166 be printed with `list_spacesys`. Default is None, meaning that the results
167167 will have mixed frames.
168168 region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -254,7 +254,7 @@ def find_datasets(
254254 fields. The complete list of fields can be obtained with `list_fields`.
255255 spacesys: str, optional
256256 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
258258 be printed with `list_spacesys`. Default is None, meaning that the results
259259 will have mixed frames.
260260 region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -342,7 +342,7 @@ def query_async(
342342 fields. The complete list of fields can be obtained with `list_fields`.
343343 spacesys: str, optional
344344 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
346346 be printed with `list_spacesys`. Default is None, meaning that the results
347347 will have mixed frames.
348348 region : `regions.CircleSkyRegion`, `regions.PolygonSkyRegion`, `mocpy.MOC`,
@@ -521,7 +521,7 @@ def list_spacesys(self):
521521 fields = ["ID" , "hips_frame" ],
522522 spacesys = None )["hips_frame" ]))
523523 # `C` is a special case that corresponds to both equatorial and galactic frames
524- frames .append ("C " )
524+ frames .append ("sky " )
525525 frames .sort ()
526526 return frames
527527
@@ -553,7 +553,7 @@ def _args_to_payload(
553553 "get" : "record" ,
554554 "fields" : _get_fields (fields , default_fields ),
555555 "intersect" : intersect .replace ("encloses" , "enclosed" ),
556- "spacesys" : spacesys ,
556+ "spacesys" : "C" if spacesys == "sky" else spacesys ,
557557 }
558558
559559 if region and not isinstance (region , (MOC , STMOC , TimeMOC )):
0 commit comments