From 167ac5ac6cae66b9727e5348c1e6e560492ce422 Mon Sep 17 00:00:00 2001 From: CunrenLiang <56097947+CunrenLiang@users.noreply.github.com> Date: Sat, 6 Jun 2020 00:11:02 -0700 Subject: [PATCH 1/3] create an account for downloading DEM --- examples/input_files/alos2/alos2_tutorial.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/input_files/alos2/alos2_tutorial.txt b/examples/input_files/alos2/alos2_tutorial.txt index 77099e6..0a36d90 100644 --- a/examples/input_files/alos2/alos2_tutorial.txt +++ b/examples/input_files/alos2/alos2_tutorial.txt @@ -92,7 +92,15 @@ in the data. Normally we only process HH polarization, so you can only extract H zip files to save space. If you want to process other polarizations, extract those polarization instead. 2. DEM and water body -If you only process one InSAR pair, there is no need to download DEM and water body. The program will + +You MUST FIRST have an account to download DEM and water body, no matter you download them manually or let +the program download them automatically. See +https://github.com/isce-framework/isce2#notes-on-digital-elevation-models +or +https://github.com/isce-framework/isce2 +for more details. + +If you only process one InSAR pair, there is no need to download DEM and water body manually. The program will do it for you. However, if you want to process a stack of interferograms, we recommend downloading DEM and water body by yourself and set the parameters in the input file; otherwise, the program will download DEM and water body each time it processes a pair. See input file on how to download DEM and water From 2b8fdb3acbb9b9e5052d15a27c6232bfd2249bc2 Mon Sep 17 00:00:00 2001 From: CunrenLiang <56097947+CunrenLiang@users.noreply.github.com> Date: Sat, 6 Jun 2020 00:12:26 -0700 Subject: [PATCH 2/3] fix bug in baseline computation --- components/isceobj/Alos2Proc/runPreprocessor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/isceobj/Alos2Proc/runPreprocessor.py b/components/isceobj/Alos2Proc/runPreprocessor.py index 2f46b10..3d39d5a 100644 --- a/components/isceobj/Alos2Proc/runPreprocessor.py +++ b/components/isceobj/Alos2Proc/runPreprocessor.py @@ -494,6 +494,10 @@ def runPreprocessor(self): mvel = np.array(masterSV.getVelocity()) sxyz = np.array(slaveSV.getPosition()) + #to fix abrupt change near zero in baseline grid. JUN-05-2020 + mvelunit = mvel / np.linalg.norm(mvel) + sxyz = sxyz - np.dot ( sxyz-mxyz, mvelunit) * mvelunit + aa = np.linalg.norm(sxyz-mxyz) costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa) From 5bc4cd64667e0d437c6189f5b697b028b5483012 Mon Sep 17 00:00:00 2001 From: CunrenLiang <56097947+CunrenLiang@users.noreply.github.com> Date: Sat, 6 Jun 2020 00:12:54 -0700 Subject: [PATCH 3/3] fix bug in baseline computation --- components/isceobj/Alos2burstProc/runPreprocessor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/isceobj/Alos2burstProc/runPreprocessor.py b/components/isceobj/Alos2burstProc/runPreprocessor.py index c971810..d71cacb 100644 --- a/components/isceobj/Alos2burstProc/runPreprocessor.py +++ b/components/isceobj/Alos2burstProc/runPreprocessor.py @@ -417,6 +417,10 @@ def runPreprocessor(self): mvel = np.array(masterSV.getVelocity()) sxyz = np.array(slaveSV.getPosition()) + #to fix abrupt change near zero in baseline grid. JUN-05-2020 + mvelunit = mvel / np.linalg.norm(mvel) + sxyz = sxyz - np.dot ( sxyz-mxyz, mvelunit) * mvelunit + aa = np.linalg.norm(sxyz-mxyz) costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa)