Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcalado/marsroversphotos
Downloads photos from NASA's rovers on Mars
https://github.com/jcalado/marsroversphotos
downloader mars mars-rover nasa nasa-api space
Last synced: 10 days ago
JSON representation
Downloads photos from NASA's rovers on Mars
- Host: GitHub
- URL: https://github.com/jcalado/marsroversphotos
- Owner: jcalado
- Created: 2021-03-02T21:20:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-02T21:53:20.000Z (almost 4 years ago)
- Last Synced: 2024-11-14T18:49:54.435Z (2 months ago)
- Topics: downloader, mars, mars-rover, nasa, nasa-api, space
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mars Rovers photo downloader
## Start here
* `pip install -r requirements.txt`
* This will use the official NASA API, so you will need a key from here: https://api.nasa.gov/
* You will need to create an api.py file with```python
KEY = 'Your nasa provided api key goes here'
```## Ok, so how do I use this?
`python photos.py` should be enough to get you today's perseverance photos if there are any.
You can (and should!) also try some arguments:* Download photos from an Earth Date: `--date 2021-02-28`
* Download photos from Mars Sol: `--sol 1` for Sol 1, `--sol 1-10` for Sol 1 through 10
* Download only photos from a specific camera on the rover. Use `--camera MCZ_LEFT`. Check https://api.nasa.gov/ for an extensive list of possible strings, or check the section below.
* Output to another place than photos/: `--output path/to/output/dir`
* Defaults to Perseverance but you can target other rovers: `--rover curiosity`
* More! Use `--help` for all options.## Rovers (--rover)
spirit
opportunity
curiosity
perseverance## Perseverance cameras (--camera)
| Camera | Description |
| -------------------- | ------------------------------------- |
| NAVCAM_LEFT | Navigation Camera - Left |
| NAVCAM_RIGHT | Navigation Camera - Right |
| MCZ_LEFT | Mast Camera Zoom - Left |
| MCZ_RIGHT | Mast Camera Zoom - Right |
| FRONT_HAZCAM_LEFT_A | Front Hazard Avoidance Camera - Left |
| FRONT_HAZCAM_RIGHT_A | Front Hazard Avoidance Camera - Right |
| REAR_HAZCAM_LEFT | Rear Hazard Avoidance Camera - Left |
| REAR_HAZCAM_RIGHT | Rear Hazard Avoidance Camera - Right |
| EDL_RDCAM | Rover Down-Look Camera |
| EDL_PUCAM1 | Parachute Up-Look Camera A |
| EDL_PUCAM2 | Parachute Up-Look Camera B |