refactoring remote sensing download for condor job