Curiosity Image Retrieval Tools, scripts and software |
Curiosity Image Retrieval Tools, scripts and software |
Aug 11 2012, 09:18 AM
Post
#1
|
|
Member Group: Members Posts: 270 Joined: 29-December 04 From: NLA0: Member No.: 133 |
I wrote a shell script that allows you to download all images from a given sol.:
http://paranoid.dechengst.nl/files/MSLget.sh There are two rm commands in the script to clean up the tempdir. If you're afraid my script screws up your system replace them with rm -i commands. If you want any features added please let me know and I'll see what I can do. EDIT1: Added leading zeros in the directory names for easy sorting after a request for it on IRC. EDIT2: I see a lot of people downloading the script. To be clear: This is a script for *NIX systems and won't run on a standard Windows box. To get it running under Windows you need to install a *NIX environment like Cygwin. Your other option would be to install something like Ubuntu in VirtualBox. EDIT3: As RoverDriver pointed out you need to have wget on your system to use this script. The script now handles this gracefully. -------------------- PDP, VAX and Alpha fanatic ; HP-Compaq is the Satan! ; Let us pray daily while facing Maynard! ; Life starts at 150 km/h ;
|
|
|
Aug 24 2012, 08:28 AM
Post
#2
|
|
Junior Member Group: Members Posts: 43 Joined: 7-August 12 From: The Netherlands Member No.: 6493 |
Nice round image milestone: 4000! Only many 10s of thousands to go:) Really shows the scalability goals of any listing tool.... |
|
|
Aug 24 2012, 10:41 AM
Post
#3
|
|
Senior Member Group: Members Posts: 1465 Joined: 9-February 04 From: Columbus OH USA Member No.: 13 |
Yes, particularly when having to depend on scraping web pages--would be very nice if JPL could provide JSON-style queries on their images. As it is, as the sols rack up & given that an image for any of the sols might belatedly come in on any day, to be thorough the individual page for each sol needs to be checked.
I'm thinking it might be good to only check, say, the last 15 sols or so on a frequent basis, and scan all the sols once a day or something like that. -------------------- |
|
|
Aug 24 2012, 11:02 AM
Post
#4
|
|
Junior Member Group: Members Posts: 43 Joined: 7-August 12 From: The Netherlands Member No.: 6493 |
I haven't checked yet, but how about parsing the first page (with their per camera, per sol listing) for marked sols? I currently check that page already for the total count, should be relatively straight forward to obtain a workset from it, too. It would be particullarly welcome if we could skip sol 0, as it is quite large due to the Descent images.... [Edit] Yep, checked it: any line ending on '<span class="OrangeRawMark">Sol' preceeds a line with sol number. Not sure how long JPL keeps images "new", as sol 17s images are currently unmarked.... |
|
|
Lo-Fi Version | Time is now: 22nd September 2024 - 04:15 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |