https://github.com/GeoscienceAustralia/PyRate
Tip revision: 20300854948723d29f27ee4bc799adff4c698f8d authored by Sudipta Basak on 15 June 2021, 21:06:36 UTC
using shared instead could be faster
using shared instead could be faster
Tip revision: 2030085
default_parameters.py
# This Python module is part of the PyRate software package.
#
# Copyright 2020 Geoscience Australia
#
# Licensed under the Apache License,
# Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PYRATE_DEFAULT_CONFIGURATION = {
"ifgfilelist": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": True
},
"demfile": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": True
},
"demHeaderFile": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": True
},
"hdrfilelist": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": True
},
"cohfilelist": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"basefilelist": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ltfile": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"outdir": {
"DataType": "path",
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": True
},
"processor": {
"DataType": int,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1, 2],
"Required": False
},
"noDataAveragingThreshold": {
"DataType": float,
"DefaultValue": 0.0,
"MinValue": 0,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"noDataValue": {
"DataType": float,
"DefaultValue": 0.0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"nan_conversion": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"largetifs": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"parallel": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"processes": {
"DataType": int,
"DefaultValue": 8,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"cohmask": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"cohthresh": {
"DataType": float,
"DefaultValue": 0.3,
"MinValue": 0.0,
"MaxValue": 1.0,
"PossibleValues": None,
"Required": False
},
"ifgcropopt": {
"DataType": int,
"DefaultValue": 4,
"MinValue": 1,
"MaxValue": 4,
"PossibleValues": [1, 2, 3, 4],
"Required": False
},
"ifglksx": {
"DataType": int,
"DefaultValue": 1,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ifglksy": {
"DataType": int,
"DefaultValue": 1,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ifgxfirst": {
"DataType": float,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ifgxlast": {
"DataType": float,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ifgyfirst": {
"DataType": float,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"ifgylast": {
"DataType": float,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"refx": {
"DataType": float,
"DefaultValue": -1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"refy": {
"DataType": float,
"DefaultValue": -1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"refnx": {
"DataType": int,
"DefaultValue": 10,
"MinValue": 1,
"MaxValue": 50,
"PossibleValues": None,
"Required": False
},
"refny": {
"DataType": int,
"DefaultValue": 10,
"MinValue": 1,
"MaxValue": 50,
"PossibleValues": None,
"Required": False
},
"refchipsize": {
"DataType": int,
"DefaultValue": 21,
"MinValue": 1,
"MaxValue": 101,
"PossibleValues": None,
"Note": "Must be an odd number.",
"Required": False
},
"refminfrac": {
"DataType": float,
"DefaultValue": 0.5,
"MinValue": 0.0,
"MaxValue": 1.0,
"PossibleValues": None,
"Required": False
},
"refest": {
"DataType": int,
"DefaultValue": 1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [1, 2],
"Required": False
},
"orbfit": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"orbfitmethod": {
"DataType": int,
"DefaultValue": 2,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [1, 2],
"Required": False
},
"orbfitdegrees": {
"DataType": int,
"DefaultValue": 1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [1, 2, 3],
"Required": False
},
"orbfitlksx": {
"DataType": int,
"DefaultValue": 10,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"orbfitlksy": {
"DataType": int,
"DefaultValue": 10,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"apsest": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"slpfcutoff": {
"DataType": float,
"DefaultValue": 1.0,
"MinValue": 0,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"slpnanfill": {
"DataType": int,
"DefaultValue": 1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"slpnanfill_method": {
"DataType": str,
"DefaultValue": "nearest",
"MinValue": None,
"MaxValue": None,
"PossibleValues": ["linear", "nearest", "cubic"],
"Required": False
},
"tlpfcutoff": {
"DataType": int,
"DefaultValue": 30,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"tlpfpthr": {
"DataType": int,
"DefaultValue": 1,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"phase_closure": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"large_dev_thr": {
"DataType": float,
"DefaultValue": 0.5,
"MinValue": 0.01,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"avg_ifg_err_thr": {
"DataType": float,
"DefaultValue": 0.05,
"MinValue": 0.01,
"MaxValue": 1.0,
"PossibleValues": None,
"Required": False
},
"loops_thr_ifg": {
"DataType": int,
"DefaultValue": 2,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"max_loop_length": {
"DataType": int,
"DefaultValue": 4,
"MinValue": 3,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"subtract_median": {
"DataType": int,
"DefaultValue": 1,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"max_loops_per_ifg": {
"DataType": int,
"DefaultValue": 2,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"demerror": {
"DataType": int,
"DefaultValue": 0,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [0, 1],
"Required": False
},
"de_pthr": {
"DataType": int,
"DefaultValue": 10,
"MinValue": 4,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"tsmethod": {
"DataType": int,
"DefaultValue": 2,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [1, 2],
"Required": False
},
"smorder": {
"DataType": int,
"DefaultValue": None,
"MinValue": None,
"MaxValue": None,
"PossibleValues": [1, 2],
"Required": False
},
"smfactor": {
"DataType": float,
"DefaultValue": -1.0,
"MinValue": -5.0,
"MaxValue": 0,
"PossibleValues": None,
"Required": False
},
"ts_pthr": {
"DataType": int,
"DefaultValue": 3,
"MinValue": 1,
"MaxValue": 1000,
"PossibleValues": None,
"Required": False
},
"nsig": {
"DataType": int,
"DefaultValue": 2,
"MinValue": 1,
"MaxValue": 10,
"PossibleValues": None,
"Required": False
},
"pthr": {
"DataType": int,
"DefaultValue": 3,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"maxsig": {
"DataType": int,
"DefaultValue": 1000,
"MinValue": 0,
"MaxValue": 1000,
"PossibleValues": None,
"Required": False
},
"savenpy": {
"DataType": int,
"DefaultValue": 0,
"MinValue": 0,
"MaxValue": 1,
"PossibleValues": [1, 0],
"Required": False
},
"savetsincr": {
"DataType": int,
"DefaultValue": 1,
"MinValue": 0,
"MaxValue": 1,
"PossibleValues": [1, 0],
"Required": False
},
"los_projection": {
"DataType": int,
"DefaultValue": 0,
"MinValue": 0,
"MaxValue": 2,
"PossibleValues": [2, 1, 0],
"Required": False
},
"signal_polarity": {
"DataType": int,
"DefaultValue": -1,
"MinValue": -1,
"MaxValue": 1,
"PossibleValues": [1, -1],
"Required": False
},
"velerror_nsig": {
"DataType": int,
"DefaultValue": 2,
"MinValue": 1,
"MaxValue": None,
"PossibleValues": None,
"Required": False
},
"correct": {
"DataType": list,
"DefaultValue": ['orbfit', 'refphase', 'demerror', 'mst', 'apscorrect', 'maxvar', 'timeseries', 'stack'],
"MinValue": None,
"MaxValue": None,
"PossibleValues": None,
"Required": False
}
}