#----------------------------------------------------------------------- # Make VOLUME images first -- Can comment when finished so # this script can be easily rerun if needed. #----------------------------------------------------------------------- cd /n/diraid02/data/lien/ditemp_maps/ mkdir VOLUME mkdir VOLUME/ditemp_0001 cd VOLUME/ditemp_0001 ln -s ../../aareadme.txt aareadme.txt ln -s ../../voldesc.cat voldesc.cat ln -s ../../catalog catalog ln -s ../../data data ln -s ../../document document ln -s ../../index index #----------------------------------------------------------------------- # Make MD5 checksums for this volume #----------------------------------------------------------------------- cd /n/diraid02/data/lien/ditemp_maps/ mkpdssum -f -l -x CODE -x dataset.html -x DOWNLOAD -x NOTES -x VOLUME #----------------------------------------------------------------------- # Make DOWNLOAD files for these but first temporarily rename # the top-level directory to the volume ID to make "nice" # download files. #----------------------------------------------------------------------- cd /n/diraid02/data/lien/ditemp_maps/DOWNLOAD rm ditemp_0001.zip ditemp_0001.iso MD5SUM cd /n/diraid02/data/lien/ mv ditemp_maps ditemp_0001 zip -r ditemp_0001/DOWNLOAD/ditemp_0001.zip \ ditemp_0001/aareadme.txt \ ditemp_0001/catalog \ ditemp_0001/data \ ditemp_0001/document \ ditemp_0001/index \ ditemp_0001/voldesc.cat mv ditemp_0001 ditemp_maps #----------------------------------------------------------------------- # Make VOLUME/ and an ISO image of it #----------------------------------------------------------------------- cd /n/diraid02/data/lien/ditemp_maps/VOLUME mkisofs -iso-level 2 \ -follow-links \ -publisher "PDS Small Bodies Node, Comet Subnode" \ -p "Anne Raugh, SBN, University of Maryland, College Park" \ -volset "DEEP IMPACT 9P/TEMPEL 1 SURFACE TEMPERATURE MAPS" \ -volset-size 1 \ -volset-seqno 1 \ -V "DITEMP_0001" \ -o /n/diraid02/data/lien/ditemp_maps/DOWNLOAD/ditemp_0001.iso \ ditemp_0001 #----------------------------------------------------------------------- # Make checksum.md5 for all files in DOWNLOAD/, and rename the # top-level directory #----------------------------------------------------------------------- cd /n/diraid02/data/lien/ditemp_maps/DOWNLOAD mkpdssum -p -x checksum . mv checksum.tab MD5SUM cd /n/diraid02/data/lien/