corincerami / mars-photo-api

A Rails API for photo data from NASA's Mars Rovers
https://api.nasa.gov/#MarsPhotos
GNU General Public License v3.0
352 stars 48 forks source link

sol vs max_sol #22

Closed Orbyt closed 8 years ago

Orbyt commented 8 years ago

What is the difference between the sol value and the rover objects max_sol value? Im assuming that max_sol is the number of sols that rover has been on the planet, but then what is the sol value?

corincerami commented 8 years ago

The sol value represents the sol of the rover's expedition on which a photo was taken. You're right about max_sol. sol is an attribute of a photo whereas max_sol is an attribute of a rover.