# read the input options and prepare some output directories inps = cmdLineParser() weightDS = inps.weightDS inps.outputDir = os.path.abspath(inps.outputDir) outDir = os.path.join(inps.outputDir, "fullStack") compressedSlcDir = os.path.join(inps.outputDir, "compressedSlc") if not os.path.exists(compressedSlcDir): os.makedirs(compressedSlcDir) #*************************************************************# # get vrt files for whole stack stack = Stack(inps.inputDir) stack.bbox = inps.bbox stack.gatherSLCs() stack.getDates() stack.configure(outDir) stack.writeStackVRT() # run calamp, ampdispersion, nmap to get wights (Weights won't change any ) # This weight dataset will be used for all mini stacks #For testing #********************************# # get vrt files for first mini stack runEvdOnMiniStack = True #*************************************************************#