From b8bf0432172dd6162bebb4e0ad5d644a0db258d1 Mon Sep 17 00:00:00 2001 From: Simran S Sangha Date: Wed, 9 Aug 2023 11:27:54 -0700 Subject: [PATCH] Make sequential stitcher the default --- tools/ARIAtools/extractProduct.py | 2 +- tools/ARIAtools/tsSetup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ARIAtools/extractProduct.py b/tools/ARIAtools/extractProduct.py index 14bda594..a511f1e9 100755 --- a/tools/ARIAtools/extractProduct.py +++ b/tools/ARIAtools/extractProduct.py @@ -82,7 +82,7 @@ def createParser(): help='Amplitude threshold below which to mask. Specify "None" to not use amplitude mask. By default "None".') parser.add_argument('-nt', '--num_threads', dest='num_threads', default='2', type=str, help='Specify number of threads for multiprocessing operation in gdal. By default "2". Can also specify "All" to use all available threads.') - parser.add_argument('-sm', '--stitchMethod', dest='stitchMethodType', type=str, default='overlap', + parser.add_argument('-sm', '--stitchMethod', dest='stitchMethodType', type=str, default='sequential', help="Method applied to stitch the unwrapped data. Allowed methods are: 'overlap', '2stage', and 'sequential'. 'overlap' - product overlap is minimized, '2stage' - minimization is done on connected components, 'sequential' - sequential minimization of all overlapping connected components. Default is 'overlap'.") parser.add_argument('-of', '--outputFormat', dest='outputFormat', type=str, default='VRT', help='GDAL compatible output format (e.g., "ENVI", "GTiff"). By default files are generated virtually except for "bPerpendicular", "bParallel", "incidenceAngle", "lookAngle","azimuthAngle", "unwrappedPhase" as these are require either DEM intersection or corrections to be applied') diff --git a/tools/ARIAtools/tsSetup.py b/tools/ARIAtools/tsSetup.py index eb9a63ee..8e95d662 100644 --- a/tools/ARIAtools/tsSetup.py +++ b/tools/ARIAtools/tsSetup.py @@ -96,7 +96,7 @@ def create_parser(): 'By default "2". Can also specify "All" to use all ' 'available threads.') parser.add_argument('-sm', '--stitchMethod', dest='stitchMethodType', - type=str, default='overlap', help='Method applied to ' + type=str, default='sequential', help='Method applied to ' 'stitch the unwrapped data. Allowed methods are: ' '"overlap", "2stage", and "sequential". "overlap" - ' 'product overlap is minimized, "2stage" - '