Skip to content
Browse files

HiRISE: Make downloader agnostic to Mission Phase

Now were just that much more generic towards downing imagery. ESP PSP
... doesn't matter. I even think there was a calibration phase but I
forgot how they denote that in 3 letters.
  • Loading branch information...
1 parent 0e3b559 commit b81e5726eefd870a1336fc157dcdcde6baf95fdc Zack Moratto committed Nov 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 data/HiRISE/downloader.sh
View
4 data/HiRISE/downloader.sh
@@ -16,7 +16,7 @@
# limitations under the License.
# __END_LICENSE__
-
+phase_prefix=${1:0:3}
orbit_prefix=${1:4:4}
obsv_prefix=${1:0:15}
-wget -O $1 http://hirise-pds.lpl.arizona.edu/PDS/EDR/PSP/ORB_${orbit_prefix}00_${orbit_prefix}99/$obsv_prefix/$1
+wget -O $1 http://hirise-pds.lpl.arizona.edu/PDS/EDR/${phase_prefix}/ORB_${orbit_prefix}00_${orbit_prefix}99/$obsv_prefix/$1

0 comments on commit b81e572

Please sign in to comment.
Something went wrong with that request. Please try again.