From 4e47909428992c86c0dd7e057e6b7abd24900699 Mon Sep 17 00:00:00 2001 From: CunrenLiang Date: Sun, 15 Nov 2020 01:00:27 -0800 Subject: [PATCH] Update ion_filt.py minor update --- contrib/stack/alosStack/ion_filt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/stack/alosStack/ion_filt.py b/contrib/stack/alosStack/ion_filt.py index 8ae6044..d058522 100755 --- a/contrib/stack/alosStack/ion_filt.py +++ b/contrib/stack/alosStack/ion_filt.py @@ -371,7 +371,7 @@ def cmdLineParse(): help = 'secondary filtering window size. default: 5') parser.add_argument('-filter_std_ion', dest='filter_std_ion', type=float, default=None, help = 'standard deviation after ionosphere filtering. default: None, automatically set by the program') - parser.add_argument('-masked_areas', dest='masked_areas', type=float, nargs='+', action='append', default=None, + parser.add_argument('-masked_areas', dest='masked_areas', type=int, nargs='+', action='append', default=None, help='This is a 2-d list. Each element in the 2-D list is a four-element list: [firstLine, lastLine, firstColumn, lastColumn], with line/column numbers starting with 1. If one of the four elements is specified with -1, the program will use firstLine/lastLine/firstColumn/lastColumn instead. e.g. two areas masked out: -masked_areas 10 20 10 20 -masked_areas 110 120 110 120') if len(sys.argv) <= 1: