Merge pull request #145 from CunrenLiang/master

fix bug in baseline computation
LT1AB
dbekaert 2020-06-06 09:17:12 -07:00 committed by GitHub
commit 54221944b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View File

@ -494,6 +494,10 @@ def runPreprocessor(self):
mvel = np.array(masterSV.getVelocity()) mvel = np.array(masterSV.getVelocity())
sxyz = np.array(slaveSV.getPosition()) 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) aa = np.linalg.norm(sxyz-mxyz)
costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa) costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa)

View File

@ -417,6 +417,10 @@ def runPreprocessor(self):
mvel = np.array(masterSV.getVelocity()) mvel = np.array(masterSV.getVelocity())
sxyz = np.array(slaveSV.getPosition()) 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) aa = np.linalg.norm(sxyz-mxyz)
costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa) costheta = (x[1]*x[1] + aa*aa - slvrng*slvrng)/(2.*x[1]*aa)

View File

@ -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. zip files to save space. If you want to process other polarizations, extract those polarization instead.
2. DEM and water body 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 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 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 DEM and water body each time it processes a pair. See input file on how to download DEM and water