Planetary World Coordinate System in Astropy
Chiara Marmo, Stéphane Érard · 2025
Read Planetary World Coordinate System in Astropy by Chiara Marmo, Stéphane Érard (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-03820.txt.
Introduction
Chiara Marmo and Stéphane Érard report on new tools for mapping other worlds, in a 2025 conference paper. Map makers need a shared way to mark spots on a planet's surface, just as latitude and longitude do on Earth. Earth map groups, space data groups, and image file standards each grew their own rules, and the rules do not always agree.
The work adds the planet version of these map rules to Astropy, a free code library used by many space scientists. The new parts arrived with Astropy 6.0 and focus on frames fixed to a planet's surface. Such frames help studies of land and air on other worlds. The effort links with wider work on Sun and space weather frames.
Catalog record
| CREATOR | Chiara Marmo, Stéphane Érard |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 6 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-03820
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Planetary World Coordinate System in Astropy Chiara Marmo, Stéphane Érard Abstract Different research communities are involved in planetary coordinate standardization. Geologists and Remote Sensing specialists work on extending Earth standards to Planets using Geographical Information Systems (GIS) and coordinate descriptions endorsed by the Open Geospatial Consortium (OGC). Astronomers work to define Virtual Observatory (VO) metadata and FITS World Coordinate System (WCS) for planetary bodies. In this proceeding the implementation of the planetary WCS description in Astropy is described. The related new features are available starting from Astropy 6.0. The current work is part of a broader effort involving other consortia (e.g., heliophysics for Solar or magnetospheric reference frames), and focuses on body-fixed frames to support surface and atmosphere studies. 1 oudeis.io, France; [email protected] 2 LESIA, Observatoire de Paris, Université PSL, CNRS, Sorbonne Université, Univ. Paris Diderot, Sorbonne Paris Cité, Meudon, France 3 Université Paris Saclay, Gif sur Yvette, France 1 Introduction Different research communities are interested and involved in planetary coordinate standardization. Geologists and Remote Sensing specialists work on extending Earth standards to Planets using Geographical Information Systems (GIS) and coordinate descriptions endorsed by the Open Geospatial Consortium (OGC). Astronomers work towards a definition of Virtual Observatory (VO) metadata and FITS World Coordinate System for planetary bodies. To improve interoperability between those worlds in Marmo et al. 2018 we presented a translation between GIS and FITS coordinate metadata, consistent with the Planetary Data System (PDS) recommendations and with the planetary VO vocabulary as endorsed by the International Virtual Observatory Alliance (IVOA) ( Erard et al. 2022 ) . Here we describe the implementation of that planetary WCS description in Astropy ( Astropy Collaboration et al. 2022 ) . So far, Planetary WCS only consisted in accepted CTYPE values possibly containing a two letter code specific to each planet. This is discussed in Calabretta & Greisen 2002 , where data acquired by planetary satellites are used as examples of application. The 3-dimensional representation of a planetary body is currently missing, together with the related standard keywords. The keywords should describe the shape of the planetary object and the relative position between the observer and the planetary object. Similar issues has been tackled in the past by the developers of Sunpy ( Mumford et al. 2020 ) , aiming to describe solar reference systems. Unlike the Sun, planetary bodies can be significantly triaxial: this led to new developments in astropy coordinate representations. 2 Astropy developments 2.1 Planetary shapes A geodetic coordinate representation was available in Astropy since 2020, used to better transform to and from Earth topocentric coordinate systems. Its main attribute was a string definition of the standard spheroid needed to describe the Earth. Starting from Astropy 6.0 geodetic coordinate representations could be created as subclasses of BaseGeodeticRepresentation provided with the equatorial radius and flattening assigned to _equatorial_radius and _flattening attributes. Also, a new BaseBodycentricRepresentation class has been implemented: it allows to instantiate planetocentric coordinate representations via equatorial radius and flattening. Using the representations above, any custom spheroid can be represented via planetodetic or planetocentric coordinates. As long as the coordinate frames share the same origin and orientation this scheme makes straightforward the conversion between different planetary representations, say the current bodycentric Mars description ( Seidelmann et al. 2002 ) and the geodetic one defined in 1979 ( Davies et al. 1980 ) , having also different flattening (see Figure 1 ). Figure 1. : Latitude differences between the 1979 planetodetic and the 2000 planetocentric Mars description, in minutes. Standardized shape keywords allow to translate planetary WCS information in proj format 1 1 1 https://proj.org/en/latest/usage/ellipsoids.html , leading to automatic identification of the standard references defined in Hare & Malapert 2021 . 2.2 Auxiliary WCS keywords Starting from version 6.0 Astropy ships a version of WCSlib greater than 8.0, extending the auxiliary WCS structure to new planetary keywords (see table below). Table 1. : Planetary FITS keywords included in the auxiliary WCS structure in WCSLib >= 8.0 Keyword Description: A_RADIUS Semimajor axis of the ellipsoid: approximate shape used in projection. B_RADIUS Intermediate axis of the ellipsoid: approximate shape used in projection. C_RADIUS Semiminor axis of the ellipsoid: approximate shape used in projection. BLON_OBS Bodycentric longitude of the observer in the body-fixed frame. BLAT_OBS Bodycentric latitude of the observer in the body-fixed frame. BDIS_OBS Distance between the centre of the celestial body and the observer. The three radii keywords translate the planetary shape into the FITS header. The three observer’s keywords prepare the path to the implementation of frame conversions. Body-fixed planetary reference frame can be translated to and from a WCS description in FITS headers. Spatial coordinates can be mapped to pixel coordinates for image cut-outs or feature selection. 3 Perspectives Body-fixed planetary frames are currently implemented as isolated frames: the next step would be to add the transformations to astronomical frames (ICRS) and planetary topocentric frames (planetary local horizontal coordinates). This would support conversions, e.g., from landers and rovers coordinate frames to celestial ones,