CoolFace
Datasetpublic

juliensimon/nasa-mars-rover-images

NASA Mars Rover Image Catalog Credit: NASA/JPL-Caltech/MSSS Part of a dataset collection on Hugging Face. Dataset description The NASA Mars Rover Image Catalog contains metadata for every raw image captured by the Perseverance (Mars 2020) and Curiosity (MSL) rovers on the surface of Mars. Perseverance has been exploring Jezero Crater since February 2021, investigating an ancient river delta for signs of past microbial life and caching samples for future… See the full description on the dataset page: https://huggingface.co/datasets/juliensimon/nasa-mars-rover-images.

sourceHugging Facecc-by-4.0updated 5d agoView on Hugging Face
0likes163downloads
Dataset Card

NASA Mars Rover Image Catalog

<div align="center"> <img src="banner.jpg" alt="NASA's Curiosity rover on the surface of Mars" width="400"> <p><em>Credit: NASA/JPL-Caltech/MSSS</em></p> </div>

Part of a [dataset collection](https://huggingface.co/collections/juliensimon/space-probe-and-mission-datasets-69c3fe82d410a42b1e313167) on Hugging Face.

Dataset description

The NASA Mars Rover Image Catalog contains metadata for every raw image captured by the Perseverance (Mars 2020) and Curiosity (MSL) rovers on the surface of Mars. Perseverance has been exploring Jezero Crater since February 2021, investigating an ancient river delta for signs of past microbial life and caching samples for future Earth return. Curiosity has been climbing Mount Sharp in Gale Crater since August 2012, discovering evidence that Mars once had long-lived lakes and rivers with conditions suitable for life. Together, these rovers have captured over 2 million raw images using a variety of cameras: engineering cameras for navigation and hazard avoidance, science cameras for geological investigation, and specialized instruments like SuperCam and Mastcam-Z. This metadata catalog includes image timestamp, sol number, camera instrument, rover position (XYZ site frame), pointing angles, and download URLs -- enabling large-scale analysis of imaging patterns, traverse mapping, and targeted image retrieval without downloading terabytes of raw image data.

This dataset is suitable for tabular classification tasks.

Schema

ColumnTypeDescriptionSampleNull %
idInt64NASA-assigned unique integer image ID; monotonically increasing per mission13768090.0%
missionstrMission identifier: "mars2020" (Perseverance, Jezero Crater, landed Feb 18 2021) or "msl" (Curiosity, Gale Crater, landed Aug 6 2012)mars20200.0%
solInt64Martian solar day since rover landing (sol 0 = landing date, ~1.0275 Earth days per sol)43050.0%
instrumentstrCamera instrument name (e.g. "FRONTHAZCAMLEFTA", "NAVCAMLEFT", "MCZRIGHT", "MASTCAMLEFT"; null rare)MAST_RIGHT0.0%
date_takenstrUTC datetime when image was captured on Mars2024-09-15T09:31:32.000Z0.0%
date_receivedstrUTC datetime when image was received on Earth via Deep Space Network2024-09-16T18:31:47.000Z0.0%
siteInt64Terrain site index along the rover traverse; increments when the rover drives to a new location10850.2%
driveInt64Drive sequence number within a site; tracks individual driving sessions252850.2%
rover_xfloat64Rover X position in local site frame (meters); coordinate origin at site establishment point-69.780650.2%
rover_yfloat64Rover Y position in local site frame (meters)-30.734550.2%
rover_zfloat64Rover Z position in local site frame (meters); typically near zero on flat terrain-3.1625950.2%
mast_azimuthfloat64Remote sensing mast azimuth angle in degrees (0-360, clockwise from north)89.907650.2%
mast_elevationfloat64Remote sensing mast elevation angle in degrees; positive = above horizon, negative = below-28.621450.2%
sample_typestrImage sampling mode: "full" (full-resolution), "subframe" (cropped region), "thumbnail" (reduced-resolution preview)thumbnail0.0%
local_mean_solar_timestrLocal Mean Solar Time at image capture (format "sol HH:MM:SS"); approximates the position of the sun in the skySol-04306M12:32:28.09450.2%
image_urlstrDirect HTTPS URL to download the raw image from the NASA Mars Raw Images serverhttps://mars.nasa.gov/msl-raw-images/...0.0%
is_thumbnailboolTrue if this row represents a thumbnail image (lower resolution preview), False for full/subframe imagesTrue0.0%
titlestrHuman-readable image title composed from instrument, sol, and sequence identifiers; may be nullSol 4305: Mast Camera (Mastcam)0.0%

Quick stats

  • —529,310 total images
  • —264,655 Perseverance images (through sol 5,021)
  • —264,655 Curiosity images (through sol 5,021)
  • —11 camera instruments

Usage

python
from datasets import load_dataset

ds = load_dataset("juliensimon/nasa-mars-rover-images", split="train")
df = ds.to_pandas()
python
from datasets import load_dataset

# Load all images
ds = load_dataset("juliensimon/nasa-mars-rover-images", split="train")
df = ds.to_pandas()

# Perseverance images only
m2020 = df[df["mission"] == "mars2020"]

# Curiosity Mastcam images
mastcam = df[(df["mission"] == "msl") & (df["instrument"].str.contains("MAST", na=False))]

# Images per sol for Perseverance
import matplotlib.pyplot as plt
sol_counts = m2020.groupby("sol").size()
sol_counts.plot(title="Perseverance images per sol")
plt.xlabel("Sol")
plt.ylabel("Image count")
plt.show()

# Rover traverse (XYZ positions)
positions = m2020.dropna(subset=["rover_x", "rover_y"])
positions.plot.scatter(x="rover_x", y="rover_y", s=0.1, title="Perseverance traverse")
plt.show()

Data source

https://mars.nasa.gov/raw_images/

Update schedule

Weekly (Monday at 11:00 UTC) via GitHub Actions. Incremental updates fetch only images added since the last run.

Related datasets

If you find this dataset useful, please consider giving it a like on Hugging Face. It helps others discover it.

About the author

Created by Julien Simon — AI Operating Partner at Fortino Capital. Part of the Space Datasets collection.

Citation

bibtex
@dataset{nasa_mars_rover_images,
  title = {NASA Mars Rover Image Catalog},
  author = {Simon, Julien},
  year = {2026},
  url = {https://huggingface.co/datasets/juliensimon/nasa-mars-rover-images},
  note = {Derived from NASA Mars Exploration Program, https://mars.nasa.gov/raw_images/},
  publisher = {Hugging Face}
}

License

CC-BY-4.0