From 35a80f0a5f2111e31c726bd75da3518318cb1b23 Mon Sep 17 00:00:00 2001 From: Zhang Yunjun Date: Wed, 6 May 2020 23:19:13 -0700 Subject: [PATCH] bugfix in stripmapStack/Stack for config unwIfg if filter is turned off If filter is turned OFF while unwrapping is still ON, the phase unwrapping output filename should not include "filt_" prefix. --- contrib/stack/stripmapStack/Stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/stack/stripmapStack/Stack.py b/contrib/stack/stripmapStack/Stack.py index 51b6ae4..91bc46f 100755 --- a/contrib/stack/stripmapStack/Stack.py +++ b/contrib/stack/stripmapStack/Stack.py @@ -628,7 +628,7 @@ class run(object): # skip phase unwrapping if input method == no if self.unwMethod.lower() != 'no': configObj.igram = configObj.filtIgram - configObj.unwIfg = os.path.dirname(configObj.outDir) + '/filt_' + pair[0] + '_' + pair[1] + configObj.unwIfg = os.path.splitext(configObj.igram)[0] configObj.noMCF = noMCF configObj.master = os.path.join(self.slcDir,stackMaster +'/data') configObj.defoMax = defoMax