getPics.sh is a script that downloads raw images from the Mars Curiosity Rover archive. The images are organized by Sol (a Martian solar day. The archive can be found here: http://mars.jpl.nasa.gov/msl/multimedia/raw/?s=#/?slide=845
getPics.sh is the main program, but it calls on getDynamicHTML.py to retrieve a dynamically rendered HTML page for each Sol.
- Python
- Selenium
- ChromeDriver: https://code.google.com/p/selenium/wiki/ChromeDriver
Before you run the script, you need to change the path to chromedriver in the getDynamicHTML.py file:
browser = webdriver.Chrome('path to chromedriver')
Then, to run the script:
sh getPics.sh <starting sol number> <ending sol number>
Example - getting all images from Sol #1 to Sol #6:
sh getPics.sh 1 6
A folder for each sol containing all the full size raw images available in the NASA archive.