SPB Git

Repository Public

CosmosPlanetary.md 51.2 KB

# CosmosPlanetary

Typed, Codable description of the Sun, planets, dwarf planets, major moons and a few small bodies (41 bodies), for the inspector and for scene assembly: descriptive physical and orbital properties, atmosphere composition and optical model, ring systems, and the registry of surface and sky textures with their nature, map convention, licence and credit. Depends only on CosmosCore and CosmosMath (plus Foundation and CryptoKit).

Radii, GM and IAU rotation models used for geometry come from the SPICE kernels of CosmosEphemeris (pck00011.tpc, gm_de440.tpc). This module carries the other descriptive data; the GM and mean radius it stores (JPL SSD tables) are display values and the inputs of the two derived quantities below.

Data version 1.0.0, built 2026-11-24, fact sheets retrieved 2026-11-24.

# 1. Files

Path Role
Packages/CosmosPlanetary/Sources/PlanetaryModel.swift Data model (BodyDescription, PhysicalProperties, AtmosphereOpticalModel, RingSystemDescription, TextureLayer, …)
Packages/CosmosPlanetary/Sources/PlanetaryDatabase.swift Loading, lookup, texture selection, credits, PackLocator (file resolution + SHA-256)
Packages/CosmosPlanetary/Sources/PlanetaryDataEmbedded.swift Generated: the data file embedded as a string (the target has no resource bundle)
DataPipeline/textures/data/planetary.json The versioned data file (same content, readable form)
DataPipeline/textures/data/facts.json, assets.json Intermediate, versioned: parsed fact sheets; texture registry with sizes and hashes
DataPipeline/textures/sources.json, layers.json, curated/*.json Hand-maintained inputs: raw sources and licences; layers and conventions; atmosphere constants, body classification, illustration palette
DataPipeline/textures/*.py, *.sh, tools/ The pipeline (bash + python3 standard library + one Swift/ImageIO command-line tool)
Resources/Packs/textures-starter, textures-hd, sky-imagery Pack outputs (manifest.json versioned, images git-ignored)
DataPipeline/raw/facts, DataPipeline/raw/textures Git-ignored raw cache (2.24 GB of textures)

Rebuild everything: DataPipeline/textures/build_all.sh (--offline reuses the raw cache). Steps: fetch_facts.sh → fetch_textures.py → parse_facts.py → build_textures.py → build_planetary.py.

# 2. Public API

swift
let db = try PlanetaryDatabase.embedded()          // or PlanetaryDatabase.shared (optional), or init(contentsOf:) for a newer data file
let mars = db.body(.naif(499))!                    // BodyDescription; nil for an undescribed body
mars.physical.meanDensity                          // Measured<Double>? (kg/m³) — nil when the sources have no value
mars.physical.surfaceGravity                       // computed: GM / R² (see annotations["surfaceGravity"])
mars.annotations["meanSurfaceTemperature"]         // published string, qualifier, citation, unit
mars.orbit.semiMajorAxis?.value.au                 // display elements (not for propagation)
mars.atmosphereComposition?.major                  // [AtmosphereConstituent]
mars.moonCount                                     // value + asOf date + where the date comes from
mars.atmosphere                                    // AtmosphereOpticalModel? — same fields as CosmosRender.AtmosphereDescription
mars.atmosphere?.containsArtisticParameters        // true → the UI must label the atmosphere as illustrative
db.body(.naif(699))?.rings                         // RingSystemDescription: components, opacity(atRadius:), opacityProfile(count:extent:)
mars.texture(.albedo)                              // TextureLayer: nature, projection, credit, licence, coverage gaps, levels
mars.texture(.albedo)?.level(maxWidth: 4096)       // TextureLevelFile (pack, path, size, sha256)
db.textures(for: .naif(399), maxWidth: 2048)       // one level per layer
db.selectTextures(for: .naif(399), gpuBudgetBytes: 256 << 20, available: locator.isInstalled)   // budgeted selection
PackLocator(packsDirectory: url).url(for: level)   // nil when the pack is not installed; verify(_:) checks size + SHA-256
db.skyLayer(.starMap), db.skyLayer(.milkyWay)      // all-sky layers
db.credits()                                       // [CreditEntry] for the About / Methodology panel
db.exoplanetIllustration(radiusEarth:equilibriumTemperatureKelvin:)   // hypothetical illustration, nil if Teq unknown
db.dataset.unavailable                             // what could not be sourced, with reasons

bodies, bodies(ofKind:), children(of:) list bodies. A body without a real map has textures == [], an illustration (status == .hypothetical) and a mappingNote explaining why.

Mapping to the renderer (done by scene assembly; this module does not import CosmosRender): TextureRole values are the slots of SurfaceDescription (albedo, nightLights, clouds, specularMask, normal) plus elevation; AtmosphereOpticalModel → AtmosphereDescription field by field (topHeight → height); RingSystemDescription.opacityProfile → alpha of RingProfile.stops.

# 3. Data model and conventions

  • SI units. Typed quantities where CosmosCore has a dimension (Measured<Mass>, Length, TimeSpan, Angle, Speed, Temperature); Measured<Double> with the unit in the doc comment and in annotations[..].unit otherwise.
  • Unknown is nil. A value absent from the sources is absent from the JSON. The only zeros are the ones the sources print: Earth inclination, Enceladus inclination, Tethys eccentricity, Charon eccentricity, Mercury moonCount, Venus moonCount.
  • Every value has a status and a provenance id that resolves in dataset.provenance. annotations[name] keeps the string exactly as published, the qualifier (which temperature, which reference plane) and the source's own citation.
  • Source ranking: JPL SSD tables for mass, GM, radii, density, geometric albedo; NSSDCA fact sheets otherwise; JPL SBDB osculating elements (status computed, elementsEpochJD) for the orbits of small bodies.
  • Derived (status computed, provenance orix-derived-gm-radius): surfaceGravity = GM / R² and escapeVelocity = √(2GM/R) with the volumetric mean radius; rotation and oblateness neglected. The fact-sheet values are kept beside them as publishedSurfaceGravity / publishedEscapeVelocity. Measured agreement: within 1 % (gravity; equatorial-gravity entries are compared at the equatorial radius) and 2 % (escape velocity: the sheets use the equatorial 1 bar radius for the giants). Not computed when GM is missing (Eris, Haumea, Makemake).
  • meanSurfaceTemperature is the mean surface temperature for solid bodies and the 1 bar temperature for the giants (the annotation says which); blackBodyTemperature and the Sun's effectiveTemperature are separate properties.
  • Small-body identifiers follow kepler_elements.json: Ceres naif:20000001, Vesta naif:20000004, Eros naif:20000433, Eris naif:20136199, Haumea naif:20136108, Makemake naif:20136472, 1P naif:1000036, 67P naif:1000012.

# Tabular sources

Provenance id Source Licence as recorded URL
nssdca-planetary-fact-sheets NASA Space Science Data Coordinated Archive (NSSDCA) Planetary Fact Sheets, D. R. Williams, NASA Goddard Space Flight Center (pages as served on 2026-11-24 (each record cites the 'Last Updated' date of its page)) U.S. Government work (NASA). The fact-sheet pages carry no licence or copyright notice. NASA Images and Media Usage Guidelines (https://www.nasa.gov/nasa-brand-center/images-and-media/): "NASA content [...] generally are not subject to copyright in the United States"; "NASA should be acknowledged as the source of the material." The sheets state that the values "are not 'official' values" and are subject to change. https://nssdc.gsfc.nasa.gov/planetary/planetfact.html
jpl-ssd-planets-phys-par NASA/JPL Solar System Dynamics, Planetary Physical Parameters (page as served on 2026-11-24) U.S. Government-sponsored work (NASA/JPL-Caltech); no licence statement on the page. Citation requested by https://ssd.jpl.nasa.gov/about/ : "NASA/JPL Solar System Dynamics. Data retrieved on (Downloaded Year, Month, Date). (Title of the Page). https://ssd.jpl.nasa.gov" https://ssd.jpl.nasa.gov/planets/phys_par.html
jpl-ssd-sats-phys-par NASA/JPL Solar System Dynamics, Planetary Satellite Physical Parameters (page as served on 2026-11-24) U.S. Government-sponsored work (NASA/JPL-Caltech); no licence statement on the page. Citation requested by https://ssd.jpl.nasa.gov/about/ : "NASA/JPL Solar System Dynamics. Data retrieved on (Downloaded Year, Month, Date). (Title of the Page). https://ssd.jpl.nasa.gov" https://ssd.jpl.nasa.gov/sats/phys_par/
jpl-sbdb NASA/JPL Small-Body Database (SBDB) API, version 1.3 (API 1.3, records as served on 2026-11-24) U.S. Government-sponsored work (NASA/JPL-Caltech); no licence statement in the API documentation (https://ssd-api.jpl.nasa.gov/doc/sbdb.html). Citation requested by https://ssd.jpl.nasa.gov/about/ for SSD data. https://ssd-api.jpl.nasa.gov/sbdb.api
pds-rms-ring-tables NASA Planetary Data System, Ring-Moon Systems Node (SETI Institute), 'Vital Statistics' ring tables (pages as served on 2026-11-24) NASA Planetary Data System node web page; no licence or copyright statement on the tables. PDS asks users to cite the data and its providers (https://pds.nasa.gov/datastandards/citing/). The tables themselves cite Murray & Dermott (1999) and the papers listed under 'footnoteSources'. https://pds-rings.seti.org/saturn/saturn_tables.html

NSSDCA notes that its fact-sheet values "are not 'official' values" and may change; the moon counts are dated with the page's "Last Updated" date because the pages do not date the count.

Not in these sources, therefore nil: Titan's surface pressure, Bond albedo and atmosphere composition in the property tables (the Huygens values used by the atmosphere model are cited there, not copied into the properties); Bond albedo, obliquity and black-body temperature of every moon except Charon; surface pressure of the giants; Pluto's mean surface temperature; GM of Eris, Haumea, Makemake; rotation of Hyperion (chaotic); geometric albedo of Iapetus (two values).

# 4. Unified map convention

orix-equirect-east-center0-v1 — every body texture:

  • equirectangular (plate carree / simple cylindrical), full globe, 2:1;
  • first row = north pole (+90), last row = south pole (-90);
  • east-positive longitude increasing to the right; left edge = -180, image centre = 0 (prime meridian of the IAU body-fixed frame of pck00011), right edge = +180;
  • u = 0.5 + lonEast/360, v = 0.5 - lat/180 (matches CosmosRender.SurfaceDescription);
  • latitude: linear in the latitude type of the source product (planetocentric or planetographic), recorded per layer and never resampled;
  • 8-bit sRGB for colour and monochrome imagery; linear 8/16-bit for masks, elevation and normal maps.

This is the convention CosmosRender.SurfaceDescription documents (u = 0.5 at longitude 0°, east positive, v = 0 at the north pole). "East" is the right-handed direction about the +Z (IAU north / positive pole) axis of the body-fixed frame of pck00011, including for bodies whose IAU cartographic longitudes are west-positive.

Sky layers use the same lookup with right ascension and declination (ICRF/J2000): u = 0.5 + RA/360, v = 0.5 − Dec/180. The SVS files (centre RA 0h, RA increasing to the left, i.e. the sky as seen from inside) were mirrored, so the stored picture is the mirror image of the visible sky; a direction-based lookup needs no special case.

Conversion (tools/imgtool.swift): decode without colour management; mirror west-positive sources; roll so that the left edge is −180°; area-average (box filter, in linear light for colour, plain for data) directly from the source to each level; never upsample (a level wider than the source is refused). Sources whose size is not exactly 2:1 (Io 11445 × 5723, Europa 19631 × 9816, Charon 12693 × 6347, Uranus/Neptune 721 × 361) are resampled to 2:1, an error below one source pixel. Latitude is not reprojected: planetographic sources (Earth, giant planets) stay planetographic, planetocentric ones stay planetocentric; the type is recorded per layer (projection.latitude).

# Layers

Body Layer Nature Levels (px wide) Latitude Source convention Conversion Orientation established by Source id
Earth albedo imagery 1024, 2048, 4096, 8192 planetographic left edge -180° E none feature test earth-bmng-200407
Earth nightLights imagery 1024, 2048, 4096, 8192 planetographic left edge -180° E none feature test earth-blackmarble-2016-gray
Earth clouds imagery 1024, 2048 planetographic left edge -180° E none metadata earth-clouds-2002
Earth specularMask scientificMap 1024, 2048, 4096 planetographic left edge -180° E none feature test earth-gebco-bath
Earth elevation scientificMap 1024, 2048, 4096 planetographic left edge -180° E none feature test earth-gebco-elev
Earth normal scientificMap 1024, 2048, 4096 planetographic left edge -180° E none metadata earth-gebco-elev
Moon albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none feature test moon-lroc-color
Moon elevation scientificMap 1024, 2048, 4096 planetocentric left edge -180° E none feature test moon-ldem-16
Moon normal scientificMap 1024, 2048, 4096 planetocentric left edge -180° E none metadata moon-ldem-16
Mars albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none feature test mars-viking-mdim21
Mars elevation scientificMap 1024, 2048, 4096 planetocentric left edge 0° E rolled 180° feature test mars-mola-megdr16
Mars normal scientificMap 1024, 2048, 4096 planetocentric left edge 0° E rolled 180° metadata mars-mola-megdr16
Mercury albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none feature test mercury-mdis-bdr
Venus albedo scientificMap 1024, 2048, 4096, 8192 planetocentric left edge -180° E none feature test venus-magellan-c3mdir-color
Jupiter albedo imagery 1024, 2048 planetographic left edge 0° E rolled 180° metadata jupiter-opal-2020a
Saturn albedo imagery 1024 planetographic left edge 0° E rolled 180° metadata saturn-opal-2020a
Uranus albedo imagery 512 planetographic left edge 0° E rolled 180° metadata uranus-opal-2019a
Neptune albedo imagery 512 planetographic left edge 0° E rolled 180° metadata neptune-opal-2020a
Io albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata io-galileo-voyager-color
Europa albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge 0° E rolled 180° metadata europa-galileo-voyager
Ganymede albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge 0° E rolled 180° metadata ganymede-galileo-voyager-color
Callisto albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge 0° E rolled 180° metadata callisto-galileo-voyager
Mimas albedo imagery 1024, 2048, 4096 planetocentric left edge -180° E none metadata mimas-cassini-dlr
Enceladus albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata enceladus-cassini
Tethys albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata tethys-cassini
Dione albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata dione-cassini
Rhea albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata rhea-cassini-dlr
Titan albedo scientificMap 1024, 2048, 4096 planetocentric left edge -180° E none metadata titan-cassini-iss
Iapetus albedo imagery 1024, 2048, 4096 planetocentric left edge -180° E none metadata iapetus-cassini
Triton albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata triton-voyager2-color
Pluto albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge 0° E rolled 180° feature test pluto-newhorizons
Charon albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata charon-newhorizons
Ceres albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none feature test ceres-dawn-fc
Phobos albedo imagery 1024, 2048, 4096, 8192 planetocentric left edge -180° E none metadata phobos-viking
Sky starMap scientificMap 2048, 4096, 8192 declination left edge 180° (RA, increasing to the left) mirrored feature test sky-starmap-2020
Sky milkyWay scientificMap 2048, 4096, 8192 declination left edge 180° (RA, increasing to the left) mirrored metadata sky-milkyway-2020

"Feature test" means a Swift test samples the shipped texture and finds a named feature at its published coordinates (and not at the mirrored or rolled position): Earth (water mask, colour, Paris/Tokyo lights, Everest), Mars (Olympus Mons is the summit of the elevation map; Syrtis Major dark in the colour map), Moon (Tsiolkovskiy, Tycho, Mare Crisium, in albedo and elevation), Mercury (Kuiper), Venus (Ovda Regio), Pluto (Sputnik Planitia), Ceres (Occator), sky (six bright stars). "Metadata" means the convention comes from the GeoTIFF georeferencing (read by tools/geotiff_info.py), the WMTS bounding box or the product readme only.

# Nature classification

  • imagery — real images in true or approximate natural colour, or monochrome visible light: Earth, Moon, Mars, Mercury (750 nm monochrome), Jupiter/Saturn/Uranus/Neptune (Hubble narrow/medium-band composites, incomplete), Io, Europa, Ganymede, Callisto, the Saturnian moons except Titan, Triton, Pluto, Charon, Ceres, Phobos. Monochrome maps carry no colour information; the registry says so in coverageGaps.
  • scientificMap — real data that is not a visible-light picture: Venus (Magellan radar, synthetic orange tint), Titan (938 nm), every elevation, normal and mask layer, and the sky layers (rendered from star catalogues, not photographs).
  • artistic — none is shipped. Bodies without a map get a procedural illustration descriptor instead.

# Bodies without a map

  • Sun — A solar image (for example from SDO) is a disc image at one instant, not a surface map; no synoptic map with a clear licence was integrated. The Sun is drawn from its photometric description by the renderer.
  • Deimos — No global mosaic of Deimos was located on the official archives used by this pipeline.
  • Hyperion — Hyperion rotates chaotically and has no global cartographic mosaic.
  • Ariel — Voyager 2 imaged only the southern hemisphere of the Uranian moons (1986); no global map exists. Not integrated in this version.
  • Umbriel — Voyager 2 imaged only the southern hemisphere of the Uranian moons (1986); no global map exists. Not integrated in this version.
  • Titania — Voyager 2 imaged only the southern hemisphere of the Uranian moons (1986); no global map exists. Not integrated in this version.
  • Oberon — Voyager 2 imaged only the southern hemisphere of the Uranian moons (1986); no global map exists. Not integrated in this version.
  • Miranda — Voyager 2 imaged only the southern hemisphere of the Uranian moons (1986); no global map exists. Not integrated in this version.
  • Nereid — Nereid has never been resolved by a spacecraft.
  • Eris — Never visited; no resolved imaging of the surface exists.
  • Haumea — Never visited; no resolved imaging of the surface exists.
  • Makemake — Never visited; no resolved imaging of the surface exists.
  • Vesta — Dawn mosaics of Vesta exist (USGS / NASA Trek) but two longitude systems are in use (Dawn 'Claudia' system and the IAU system, about 150 degrees apart); the alignment with the pck00011 frame was not verified in this version, so no map is shipped.
  • Eros — NEAR Shoemaker mapped Eros, but the body is too irregular for a sphere-mapped equirectangular texture; a shape model would be required.
  • 1P/Halley — Comet nucleus imaged only during fast fly-bys (Giotto, Vega); no global map.
  • 67P/Churyumov-Gerasimenko — Rosetta mapped the nucleus, but its bilobate shape cannot be represented by a sphere-mapped texture; a shape model would be required.

Solar-system illustrations use a neutral grey at the published geometric albedo (no hue). The exoplanet rule (dataset.exoplanetIllustration) picks a style and an artistic colour from radius and equilibrium temperature (rocky below 1.6 R⊕; sub-Neptune to 4 R⊕; Sudarsky classes I–V for giants) and returns nil without a temperature.

# 5. Image sources

Source id Product URL Retrieved Raw MB Licence Credit line
earth-bmng-200407 Blue Marble: Next Generation, July 2004, with topography and bathymetry (MODIS Terra, 500 m) https://assets.science.nasa.gov/content/dam/science/esd/eo/images/bmng/bmng-topography-bathymetry/july/world.topo.bathy.200407.3x21600x10800.jpg 2026-11-24 27.2 NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Earth Observatory (Blue Marble: Next Generation, Reto Stöckli)
earth-blackmarble-2016-gray Earth at Night: Black Marble 2016, grayscale night lights, 3 km (Suomi NPP VIIRS day/night band) https://assets.science.nasa.gov/content/dam/science/esd/eo/images/imagerecords/144000/144897/BlackMarble_2016_3km_gray.jpg 2026-11-24 3.1 NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Earth Observatory images by Joshua Stevens, using Suomi NPP VIIRS data from Miguel Román, NASA GSFC
earth-clouds-2002 The Blue Marble (2002): cloud composite, 2048 x 1024 https://assets.science.nasa.gov/content/dam/science/esd/eo/content-feature/bluemarble/images/cloud_combined_2048.tif 2026-11-24 2.7 NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Goddard Space Flight Center, image by Reto Stöckli (land surface, shallow water, clouds)
earth-gebco-elev Blue Marble Next Generation topography (land elevation, 8-bit, from GEBCO_08 / SRTM30 Plus) https://assets.science.nasa.gov/content/dam/science/esd/eo/images/bmng/topography/gebco_08_rev_elev_5400x2700.tif 2026-11-24 14.6 NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Earth Observatory; data: British Oceanographic Data Centre, General Bathymetric Chart of the Oceans (GEBCO_08 Grid)
earth-gebco-bath Blue Marble Next Generation bathymetry (ocean depth, 8-bit, from GEBCO_08) https://assets.science.nasa.gov/content/dam/science/esd/eo/images/bmng/bathymetry/gebco_08_rev_bath_5400x2700.tif 2026-11-24 14.6 NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Earth Observatory; data: British Oceanographic Data Centre, General Bathymetric Chart of the Oceans (GEBCO_08 Grid)
moon-lroc-color CGI Moon Kit: LRO WAC colour map with polar fill (8k) https://svs.gsfc.nasa.gov/vis/a000000/a004700/a004720/lroc_color_poles_8k.tif 2026-11-24 50.6 NASA Scientific Visualization Studio (NASA media guidelines; credit line requested on the item page) NASA's Scientific Visualization Studio (Ernie Wright); data: LRO Camera (LROC WAC Hapke-normalised mosaic), Arizona State University
moon-ldem-16 CGI Moon Kit: LOLA displacement map, 16 pixels per degree, 16-bit unsigned https://svs.gsfc.nasa.gov/vis/a000000/a004700/a004720/ldem_16_uint.tif 2026-11-24 33.2 NASA Scientific Visualization Studio (NASA media guidelines; credit line requested on the item page) NASA's Scientific Visualization Studio (Ernie Wright); data: Lunar Orbiter Laser Altimeter (LOLA), NASA GSFC
mars-viking-mdim21 Mars Viking Colorized Global Mosaic 232 m (MDIM 2.1), NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Mars/EQ/Mars_Viking_MDIM21_ClrMosaic_global_232m 2026-11-24 26.1 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/USGS (Viking Orbiter MDIM 2.1 colourised mosaic)
mars-mola-megdr16 MGS MOLA Mission Experiment Gridded Data Record, topography, 16 pixels per degree (PDS) https://pds-geosciences.wustl.edu/mgs/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg016/megt90n000eb.img 2026-11-24 33.2 NASA Planetary Data System (NASA mission archive; citation requested) NASA/JPL/GSFC, MOLA Science Team; NASA Planetary Data System Geosciences Node
mercury-mdis-bdr Mercury MESSENGER MDIS Basemap BDR Global Mosaic 166 m (monochrome, 750 nm), NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Mercury/EQ/Mercury_MESSENGER_MDIS_Basemap_BDR_Mosaic_Global_166m 2026-11-24 24.1 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/Johns Hopkins University Applied Physics Laboratory/Carnegie Institution of Washington/USGS
venus-magellan-c3mdir-color Venus Magellan C3-MDIR Colorized Global Mosaic 4641 m (synthetic aperture radar, 12.6 cm; colour is synthetic) https://planetarymaps.usgs.gov/mosaic/Venus_Magellan_C3-MDIR_Colorized_Global_Mosaic_4641m.tif 2026-11-24 100.8 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Magellan synthetic aperture radar)
jupiter-opal-2020a HST OPAL global map of Jupiter, 2020 rotation A, colour composite F631N/F502N/F395N https://archive.stsci.edu/hlsps/opal/cycle27/jupiter/hlsp_opal_hst_wfc3-uvis_jupiter-2020a_f395n-f502n-f631n_v1_globalmap.tif 2026-11-24 25.9 MAST High-Level Science Product OPAL (STScI; acknowledgement required) NASA, ESA, A. Simon (GSFC), M. H. Wong (UC Berkeley) and the OPAL team. This work used data acquired from the NASA/ESA HST Space Telescope, associated with OPAL program (PI: Simon, GO13937), and archived by the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Inc., under NASA contract NAS 5-26555. All maps are available at http://dx.doi.org/10.17909/T9G593.
saturn-opal-2020a HST OPAL global map of Saturn, 2020 rotation A, colour composite F631N/F502N/F395N https://archive.stsci.edu/hlsps/opal/cycle27/saturn/hlsp_opal_hst_wfc3-uvis_saturn-2020a_f395n-f502n-f631n_v1_globalmap.tif 2026-11-24 4.9 MAST High-Level Science Product OPAL (STScI; acknowledgement required) NASA, ESA, A. Simon (GSFC), M. H. Wong (UC Berkeley) and the OPAL team. This work used data acquired from the NASA/ESA HST Space Telescope, associated with OPAL program (PI: Simon, GO13937), and archived by the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Inc., under NASA contract NAS 5-26555. All maps are available at http://dx.doi.org/10.17909/T9G593.
uranus-opal-2019a HST OPAL global map of Uranus, 2019 rotation A, colour composite F657N/F547M/F467M https://archive.stsci.edu/hlsps/opal/cycle27/uranus/hlsp_opal_hst_wfc3-uvis_uranus-2019a_f467m-f547m-f657n_v1_globalmap.tif 2026-11-24 0.8 MAST High-Level Science Product OPAL (STScI; acknowledgement required) NASA, ESA, A. Simon (GSFC), M. H. Wong (UC Berkeley) and the OPAL team. This work used data acquired from the NASA/ESA HST Space Telescope, associated with OPAL program (PI: Simon, GO13937), and archived by the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Inc., under NASA contract NAS 5-26555. All maps are available at http://dx.doi.org/10.17909/T9G593.
neptune-opal-2020a HST OPAL global map of Neptune, 2020 rotation A, colour composite F657N/F547M/F467M https://archive.stsci.edu/hlsps/opal/cycle27/neptune/hlsp_opal_hst_wfc3-uvis_neptune-2020a_f467m-f547m-f657n_v1_globalmap.tif 2026-11-24 0.8 MAST High-Level Science Product OPAL (STScI; acknowledgement required) NASA, ESA, A. Simon (GSFC), M. H. Wong (UC Berkeley) and the OPAL team. This work used data acquired from the NASA/ESA HST Space Telescope, associated with OPAL program (PI: Simon, GO13937), and archived by the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Inc., under NASA contract NAS 5-26555. All maps are available at http://dx.doi.org/10.17909/T9G593.
io-galileo-voyager-color Io Galileo SSI / Voyager Color Merged Global Mosaic 1 km https://planetarymaps.usgs.gov/mosaic/Io_GalileoSSI-Voyager_Global_Mosaic_ClrMerge_1km.tif 2026-11-24 196.6 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Galileo SSI and Voyager ISS)
europa-galileo-voyager Europa Voyager / Galileo SSI Global Mosaic 500 m (monochrome) https://planetarymaps.usgs.gov/mosaic/Europa_Voyager_GalileoSSI_global_mosaic_500m.tif 2026-11-24 192.8 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Galileo SSI and Voyager ISS)
ganymede-galileo-voyager-color Ganymede Voyager / Galileo SSI Global Color Mosaic 1435 m https://planetarymaps.usgs.gov/mosaic/Ganymede_Voyager_GalileoSSI_Global_ClrMosaic_1435m.tif 2026-11-24 199.2 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Galileo SSI and Voyager ISS)
callisto-galileo-voyager Callisto Voyager / Galileo SSI Global Mosaic 1 km (monochrome) https://planetarymaps.usgs.gov/mosaic/Callisto_Voyager_GalileoSSI_global_mosaic_1km.tif 2026-11-24 114.6 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Galileo SSI and Voyager ISS)
mimas-cassini-dlr Cassini ISS global mosaic of Mimas (DLR basemap, 2017), NASA Trek tiles at 4096 x 2048 https://trek.nasa.gov/tiles/Mimas/EQ/MI_170630_DLR_basemap 2026-11-24 3.7 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute/DLR (Cassini ISS)
enceladus-cassini Enceladus Cassini ISS Global Mosaic 100 m (high-pass filtered), NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Enceladus/EQ/Enceladus_Cassini_ISS_Global_Mosaic_100m_HPF 2026-11-24 25.6 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute/USGS (Cassini ISS)
tethys-cassini Tethys Cassini ISS global mosaic 293 m, NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Tethys/EQ/Tethys_Cassini_mosaic_global_293m 2026-11-24 15.7 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute (Cassini ISS)
dione-cassini Dione Cassini and Voyager global mosaic 154 m, NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Dione/EQ/Dione_Cassini_Voyageglobal_154m 2026-11-24 17.6 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute (Cassini ISS, Voyager ISS)
rhea-cassini-dlr Cassini ISS global mosaic of Rhea (DLR basemap, 2012), NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Rhea/EQ/RH_120803_DLR_basemap 2026-11-24 13.8 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute/DLR (Cassini ISS)
titan-cassini-iss Titan Cassini ISS Global Mosaic 4 km (PIA19658, near-infrared 938 nm), NASA Trek tiles at 4096 x 2048 https://trek.nasa.gov/tiles/Titan/EQ/Titan_ISS_P19658_Mosaic_Global_4km 2026-11-24 4.9 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute/USGS (Cassini ISS, 938 nm)
iapetus-cassini Iapetus Cassini and Voyager global mosaic 783 m, NASA Trek tiles at 4096 x 2048 https://trek.nasa.gov/tiles/Iapetus/EQ/Iapetus_Cassini_Voyager_mosaic_global_783m 2026-11-24 4.4 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/Space Science Institute (Cassini ISS, Voyager ISS)
triton-voyager2-color Triton Voyager 2 Color Mosaic, global fill, 600 m (orange, violet and ultraviolet filters shown as RGB approximation; unimaged areas are filled) https://planetarymaps.usgs.gov/mosaic/Triton_Voyager2_ClrMosaic_GlobalFill_600m.tif 2026-11-24 300.0 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Voyager 2 ISS)
pluto-newhorizons Pluto New Horizons LORRI - MVIC Global Mosaic 300 m (panchromatic) https://planetarymaps.usgs.gov/mosaic/Pluto_NewHorizons_Global_Mosaic_300m_Jul2017_8bit.tif 2026-11-24 309.8 USGS public domain (Copyrights and Credits) NASA/Johns Hopkins University Applied Physics Laboratory/Southwest Research Institute/USGS
charon-newhorizons Charon New Horizons LORRI - MVIC Global Mosaic 300 m (panchromatic) https://planetarymaps.usgs.gov/mosaic/Charon_NewHorizons_Global_Mosaic_300m_Jul2017_8bit.tif 2026-11-24 80.6 USGS public domain (Copyrights and Credits) NASA/Johns Hopkins University Applied Physics Laboratory/Southwest Research Institute/USGS
ceres-dawn-fc Ceres Dawn Framing Camera HAMO global mosaic 59 ppd / 140 m (DLR, Feb 2016), NASA Trek tiles at 8192 x 4096 https://trek.nasa.gov/tiles/Ceres/EQ/Ceres_Dawn_FC_DLR_global_59ppd_Feb2016 2026-11-24 24.6 NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) NASA/JPL-Caltech/UCLA/MPS/DLR/IDA (Dawn Framing Camera)
phobos-viking Phobos Viking Global Mosaic, 40 pixels per degree (DLR control network; monochrome) https://planetarymaps.usgs.gov/mosaic/Phobos_Viking_Mosaic_40ppd_DLRcontrol.tif 2026-11-24 103.7 USGS public domain (Copyrights and Credits) NASA/JPL-Caltech/USGS (Viking Orbiter), control network DLR
sky-starmap-2020 Deep Star Maps 2020: star map with Milky Way, celestial coordinates, 8k OpenEXR https://svs.gsfc.nasa.gov/vis/a000000/a004800/a004851/starmap_2020_8k.exr 2026-11-24 130.5 NASA Scientific Visualization Studio (NASA media guidelines; credit line requested on the item page) NASA/Goddard Space Flight Center Scientific Visualization Studio. Gaia DR2: ESA/Gaia/DPAC. Constellation figures based on those developed for the IAU by Alan MacRobert of Sky and Telescope magazine (Roger Sinnott and Rick Fienberg).
sky-milkyway-2020 Deep Star Maps 2020: Milky Way background only (unresolved stars), celestial coordinates, 8k OpenEXR https://svs.gsfc.nasa.gov/vis/a000000/a004800/a004851/milkyway_2020_8k.exr 2026-11-24 137.3 NASA Scientific Visualization Studio (NASA media guidelines; credit line requested on the item page) NASA/Goddard Space Flight Center Scientific Visualization Studio. Gaia DR2: ESA/Gaia/DPAC.

# Licence statements

Licence key Statement recorded URL
NASA Images and Media Usage Guidelines Verified on the page (2026-11-24): NASA content "generally are not subject to copyright in the United States. You may use this material for educational or informational purposes"; "NASA should be acknowledged as the source of the material". The NASA insignia and any implied endorsement are restricted. https://www.nasa.gov/nasa-brand-center/images-and-media/
NASA Earth Observatory (NASA media guidelines; credit requested on the product page) NASA Earth Observatory imagery is NASA content, generally not subject to copyright in the United States (NASA Images and Media Usage Guidelines, https://www.nasa.gov/nasa-brand-center/images-and-media/). The Blue Marble page states: "Anyone using or republishing Blue Marble: Next Generation please credit 'NASA Earth Observatory.'" Third-party data credits (GEBCO, Suomi NPP) are kept in the credit line. https://science.nasa.gov/earth/earth-observatory/blue-marble-next-generation/
NASA Scientific Visualization Studio (NASA media guidelines; credit line requested on the item page) SVS items are NASA content under the NASA Images and Media Usage Guidelines (generally not subject to copyright in the United States; NASA to be acknowledged). Each SVS page prints the credit to give ("Please give credit for this item to: ..."), recorded in the credit field. https://www.nasa.gov/nasa-brand-center/images-and-media/
USGS public domain (Copyrights and Credits) Verified on the page (2026-11-24): "USGS-authored or produced data and information are considered to be in the U.S. Public Domain." Credit the USGS and the NASA mission and instrument team. https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
NASA Solar System Treks tile service (NASA media guidelines; underlying products NASA/USGS/PDS public domain) WMTS tiles of NASA/USGS/PDS cartographic products served by NASA Solar System Treks (NASA/JPL). NASA content under the NASA Images and Media Usage Guidelines; the underlying products are NASA mission data archived by the Planetary Data System and USGS Astrogeology. No separate licence text is published by the tile service. Products labelled DLR were produced by the German Aerospace Center for the NASA instrument teams and are distributed through NASA/PDS; their credit lines name DLR. https://trek.nasa.gov/
NASA Planetary Data System (NASA mission archive; citation requested) PDS-archived NASA mission data, used under the NASA Images and Media Usage Guidelines (U.S. Government work). The PDS page gives citation guidance and no licence text; the data set citation is recorded. https://pds.nasa.gov/datastandards/citing/
MAST High-Level Science Product OPAL (STScI; acknowledgement required) Public HLSP at MAST, DOI 10.17909/T9G593; its readme requires the acknowledgement quoted in the credit field. STScI copyright page (https://www.stsci.edu/copyright, verified 2026-11-24): "no claim to copyright is being asserted by STScI and material on this site may be freely used as in the public domain in accordance with NASA's contract", with acknowledgement of NASA and STScI; it adds that contributed material may be claimed by its authors. OPAL is a contributed product of a NASA GSFC-led team: no restriction is stated, but the terms should be confirmed with the team before commercial redistribution. https://archive.stsci.edu/hlsp/opal

Trek tiles are the 8192-pixel (or 4096) level of the same USGS/PDS products whose originals are 0.8 GB and more; they are JPEG (PNG for Titan and Enceladus) and are re-encoded once more by this pipeline.

# 6. Packs

Pack id Files Size (MB) Content
textures-starter 59 (+ manifest.json) 30.4 1024 and 2048 px levels of every layer (1024 only for elevation and normal maps); Uranus/Neptune at 512
textures-hd 54 (+ manifest.json) 319.1 4096 and 8192 px levels where the source resolution allows (2048 for elevation and normal maps too)
sky-imagery 6 (+ manifest.json) 34.4 Star map and Milky Way at 2048, 4096 and 8192 px

Manifests follow pack manifest schema v1 (Documentation/modules/CosmosDataPacks.md, checked by python3 DataPipeline/packs/packtool.py validate): schemaVersion, id, version, kind (textures or sky-imagery), title and description in English and French, installedSize, license, redistribution, coverage (bodies, widths, roles), files[] (path, size, sha256, url, role, source, description) and sources[] (one record per raw source actually used by the pack: id, name, version = first 16 hex digits of the raw file's SHA-256, retrieved, url, license, citation = credit line + reference, method; the same records as the provenance table of planetary.json). Extension keys: retrieved, acknowledgement (the credit lines of the pack), convention, redistributionNote, and per file credit, body, nature, width, height, encoding, projection, latitude, source_title, source_page, source_retrieved, source_sha256. The licence statement and the citation of a file are those of its source and are no longer repeated per file. build_textures.py <root> --manifests-only rewrites the manifests from the images on disk (no conversion, no network).

redistribution is computed, conservatively, from the licence statements recorded in section 5: a pack is redistributable only when every source it uses has a statement that quotes public-domain terms (today only the "USGS public domain" key). All three packs use at least one source without such a quotation (NASA media guidelines "educational or informational purposes", Trek tile service and PDS without licence text, OPAL terms to be confirmed), so all three are localBuildOnly, with the reason in redistributionNote, pending the owner's decision.

Formats: JPEG (quality 0.9, sRGB) for colour and monochrome imagery; PNG for data — 8-bit grey (water mask, Earth elevation), 16-bit grey (Moon and Mars elevation), 8-bit RGB (normal maps), RGBA (clouds: white with alpha = coverage). Monochrome imagery is stored as RGB so that it loads as a three-channel texture. Data PNGs are untagged (linear). Both formats load through ImageIO / MTKTextureLoader. Decode + draw to RGBA8 measured on the build machine (M5 Max, ImageIO, warm cache): Earth albedo JPEG 1024 px 9 ms, 2048 px 26 ms, 4096 px 28 ms, 8192 px 88 ms; normal PNG 4096 px 75 ms; 16-bit elevation PNG 4096 px 134 ms. KTX/ASTC precompression was not evaluated: no measurement was made, so no claim is made about it.

Elevation units are recorded per layer (elevation.metersPerUnit, offsetMeters, reference): Earth 0–6400 m over 0–255 above sea level (land only, as published); Moon radius = 1 727 400 m + 0.5 m × value (stored relative to 1 737 400 m); Mars metres above the MOLA areoid = value − 32768. Normal maps are computed from the elevation level of the same size on a sphere of the mean radius with slopes multiplied by 5 (normal.slopeExaggeration; use normalStrength = 0.2 for true relief).

# 7. Atmosphere optical models

Channels are evaluated at 680, 550 and 440 nm (no spectral integration).

Body Reference level Rayleigh β at 680/550/440 nm (m⁻¹) H_R (km) Mie extinction (m⁻¹) g Top (km) Status Artistic parameters
Venus cloud tops, about 65 km above the surface (the rendered sphere is the cloud deck) 1.46e-06, 3.41e-06, 8.32e-06 5.2 0 0 62 estimated — (aerosols not modelled: zero)
Earth sea level, clear sky 5.8e-06, 1.36e-05, 3.31e-05 8.0 4.4e-06 0.8 100 computed —
Mars mean surface 1.03e-07, 2.4e-07, 5.87e-07 11.0 4.55e-05 0.7 132 hypothetical mieScattering, mieAsymmetry
Jupiter 1 bar level 1.42e-06, 3.33e-06, 8.13e-06 27.0 0 0 324 estimated — (aerosols not modelled: zero)
Saturn 1 bar level 1.96e-06, 4.59e-06, 1.12e-05 59.5 0 0 714 estimated — (aerosols not modelled: zero)
Uranus 1 bar level 3.16e-06, 7.39e-06, 1.8e-05 27.7 0 0 332 estimated — (aerosols not modelled: zero)
Neptune 1 bar level 3.02e-06, 7.05e-06, 1.72e-05 20.4 0 0 245 estimated — (aerosols not modelled: zero)
Titan surface 2.34e-05, 5.47e-05, 0.000133 21.0 6.92e-05 0.7 252 hypothetical mieScattering, mieAsymmetry
  • Earth: published clear-sky parameter set (Bruneton & Neyret 2008; Hillaire 2020, table 1), identical to CosmosRender.AtmosphereDescription.earthClearSky; the green Rayleigh coefficient is checked against Bucholtz (1995) within 20 % (it is 17 % higher).
  • Other bodies, Rayleigh term (status estimated): beta(lambda) = 32 pi^3 (n-1)^2 F_K / (3 N lambda^4), with n-1 = sum_i x_i (n_i - 1)_STP * N / N_Loschmidt and N = P / (k T) at the reference level. Dispersion of n is neglected (refractivities at 589.3 nm), which underestimates the blue coefficient by a few percent. Refractivities and King factors: see curated/atmospheres.json (Kaye & Laby; Bates 1984; Sneep & Ubachs 2005). Pressure, temperature, composition and scale height come from the NSSDCA fact sheets, except: Venus is evaluated at the cloud tops (≈ 0.1 bar, 240 K near 65 km, VIRA, rounded); Titan at the surface with Huygens HASI values (1467 hPa, 93.65 K) and 95 % N₂ / 5 % CH₄; the giants at the 1 bar level. Scale heights are the published ones (Mars, Jupiter, Saturn, Uranus) or kT/(μg) (Venus cloud tops, Titan, Neptune).
  • Aerosols: Mars dust and Titan haze extinctions are estimated from a published vertical optical depth (0.5; 4.5) divided by a scale height; their single-scattering albedo per channel and asymmetry factor are artistic approximations (hypothetical, basis text starts with "ARTISTIC APPROXIMATION"); the model status is then hypothetical and containsArtisticParameters is true. Venus and the giants have no aerosol term (zero).
  • Top height: Earth 100 km (published model); others 12 Rayleigh scale heights — a numerical cut-off.
  • The literature values quoted in the curated file (refractivities, King factors, Mars dust and Titan haze optical depths, VIRA level, Bucholtz reference) were entered from the cited papers and were not re-downloaded by the pipeline; they should be re-checked against the papers before publication.

# 8. Ring systems

Components (name, type, inner/outer or centre radius, width, normal optical depth or its range, albedo) are parsed from the PDS Ring-Moon Systems Node tables, with albedos from the NSSDCA ring fact sheets: Jupiter 5, Saturn 41, Uranus 12, Neptune 6 components. Saturn's main rings:

Component Inner radius (km) Outer radius (km) Normal optical depth
D Ring 66,900 74,491 1e-05–0.001
C Ring 74,491 91,975 0.05–0.35
B Ring 91,975 117,570 0.4–5.0
Cassini Division 117,500 122,050 0.0–0.2
A Ring 122,050 136,770 0.4–1.0
F Ring 139,826 140,612 0.01–0.2

segments is a piecewise-constant radial profile derived from that table (status estimated): optical depth = the published value or the midpoint of the published range, opacity = 1 − e^(−τ) at normal incidence; narrower components override the broad region that contains them. It carries no colour: no public-domain radial colour profile was integrated, and a real occultation profile (Cassini UVIS/VIMS, Voyager PPS at the PDS RMS node) is not integrated either.

# 9. Not sourced, limitations

  • Earth cloud layer at 8192 pixels (Blue Marble 2002 cloud_combined_8192.tif) — Not found on science.nasa.gov after the migration of the Visible Earth catalogue (HTTP 404 on the relocated asset path); the 2048-pixel version of the same product is used.
  • Saturn ring colour and transparency texture — No public-domain radial colour profile was located. Ring radii and optical depths come from the PDS Ring-Moon Systems Node tables; a full-resolution occultation profile (Cassini UVIS/VIMS or Voyager PPS, PDS RMS) was not integrated in this version.
  • Mars MOLA elevation above 16 pixels per degree — The 463 m USGS mosaic is 2.1 GB; the 16 pixel-per-degree PDS MEGDR grid (5760 x 2880) is used instead, so elevation and normal maps stop at 4096 pixels.
  • Earth elevation at 16 bits — The Blue Marble Next Generation topography product is published as 8-bit only (0-6400 m); bathymetry is not included in the elevation layer.
  • Mercury and other colour mosaics at full resolution — USGS originals of 0.8 GB and more were skipped in favour of the 8192-pixel level of the same products served as tiles by NASA Solar System Treks (JPEG tiles, re-encoded once more).
  • NASA Earth Observatory image use policy page — The former policy URL returns HTTP 404 after the site migration; the credit request printed on the Blue Marble page and the general NASA media guidelines are recorded instead.
  • Licence of the Hubble OPAL maps (Jupiter, Saturn, Uranus, Neptune) — Public MAST product with a mandatory acknowledgement and no stated restriction, but a contributed team product: reuse terms to be confirmed with the OPAL team before commercial redistribution.
  • Jupiter, Saturn, Uranus, Neptune: complete global maps — Only Earth-facing latitudes are observed by Hubble: Saturn south of 4 S (2020), Uranus south of 10 S (2019), Neptune north of 36 N and Jupiter beyond 78 degrees are a declared zonal fill, not data. Cloud features drift, so longitudes are valid at the observation epoch only.

Other limitations:

  • Latitude type differs between bodies (see the table); a renderer that samples by planetocentric direction shows planetographic maps displaced by up to 0.19° (Earth), 3.8° (Jupiter) and 5.6° (Saturn) at mid latitudes.
  • Monochrome maps (Mercury, Europa, Callisto, Saturnian moons, Pluto, Charon, Ceres, Phobos) are not albedo-calibrated and carry no colour; Enceladus is high-pass filtered.
  • The Earth cloud layer is one frozen composite at 2048 px; night lights are a 2016 composite; the colour map is the July 2004 month only (the other eleven months are published but not shipped).
  • Pluto's and Charon's southern hemispheres are black (never imaged); Mimas lacks the polar caps.
  • The orientation of the giant-planet maps, of Io, Europa, Ganymede, Callisto, the Saturnian moons, Titan, Triton, Charon and Phobos rests on source metadata only (no feature test).
  • Tone mapping of the sky layers is a plain exposure of 1.0 from linear OpenEXR to 8-bit sRGB; bright stars saturate.
  • Phobos is far from spherical; its map on a sphere is a simplification.
  • The module embeds the data as a generated Swift string because the target declares no resources. To ship the JSON as a bundle resource instead, Package.swift would need resources: true for CosmosPlanetary.

# 10. Tests

Packages/CosmosPlanetary/Tests (Swift Testing, 22 tests): schema and round trip, embedded copy = pipeline output, provenance and annotation on every value, unknown-is-nil and the list of published zeros, derived quantities against the fact sheets, atmosphere and ring models, registry consistency, selection by budget, credits, exoplanet rule; and, against the built packs (located from #filePath, override COSMOS_PACKS_DIR): every registered file present with matching size and SHA-256, manifests = registry, no stray image, and the feature/star orientation checks. Without the packs the tests fail with the instruction to run the pipeline. Fixtures: Tests/Fixtures/orientation_features.json, reference_values.json.

text
swift build --scratch-path .build-pla --target CosmosPlanetary
swift test  --scratch-path .build-pla --filter CosmosPlanetaryTests
Files main
Menu

Theme