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
346 stars 46 forks source link

Image size parameter for Preserverance #128

Closed kriskda closed 3 years ago

kriskda commented 3 years ago

Just to consider.

Current scrapper gets all available images without using parameter extended=sample_type::full / extended=sample_type::thumbnail. In https://mars.nasa.gov/rss/api/ feed JSON that is "sample_type": "Full", or "sample_type": "Thumbnail",.

As result e.g. Sol-0 contains a lot of low res images (most from EDL cams) which are difficult to filter.

https://mars.nasa.gov/mars2020/multimedia/raw-images/ has "Image size" checkbox which uses extended=sample_type: parameter.

corincerami commented 3 years ago

Addressed by https://github.com/chrisccerami/mars-photo-api/pull/129