Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API returns smaller versions of images for Spirit & Opportunity #117

Open
kriskda opened this issue Feb 4, 2021 · 2 comments
Open

API returns smaller versions of images for Spirit & Opportunity #117

kriskda opened this issue Feb 4, 2021 · 2 comments

Comments

@kriskda
Copy link

kriskda commented Feb 4, 2021

Just observed that API returns smaller versions of images for Spirit & Opportunity e.g.

https://api.nasa.gov/mars-photos/api/v1/rovers/opportunity/photos?sol=100&api_key=DEMO_KEY

{"photos":[{"id":118330,"sol":100,"camera":{"id":14,"name":"FHAZ","rover_id":6,"full_name":"Front Hazard Avoidance Camera"},"img_src":"http://mars.nasa.gov/mer/gallery/all/1/f/100/1F137064531EFF2019P1214L0M1-BR.JPG"......}

Image url has "-BR"
http://mars.nasa.gov/mer/gallery/all/1/f/100/1F137064531EFF2019P1214L0M1-BR.JPG
compare with
http://mars.nasa.gov/mer/gallery/all/1/f/100/1F137064531EFF2019P1214L0M1.JPG

Note there is also
http://mars.nasa.gov/mer/gallery/all/1/f/100/1F137064531EFF2019P1214L0M1-THM.JPG

@mtilda
Copy link

mtilda commented Apr 6, 2021

You appear to be correct! I'm working on a fix for this now. It is interesting that NASA's documentation does not mention the "-BR" suffix: https://mars.nasa.gov/mer/gallery/edr_filename_key.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants