Due to an unexpected file ending for .sha files in the CDSW parcel repository, this script is failing when used as advised. The script works fine for CDSW parcels when missing case for .sha ending is added.
Are CDSW parcels not supposed to be preloaded to any images?