geodesymiami / rsmas_insar

RSMAS InSAR code
https://rsmas-insar.readthedocs.io/
GNU General Public License v3.0
58 stars 22 forks source link

ERROR 4 in run_10* : need to update FilterCoherence.py of ISCE #520

Open falkamelung opened 1 year ago

falkamelung commented 1 year ago

If you get this error in run10,

azimuth correlation weights:
index,coefficient:  -2  0.333333
index,coefficient:  -1  0.666667
index,coefficient:  0  1
index,coefficient:  1  0.666667
index,coefficient:  2  0.333333
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160629/../../../../../../../tmp/coreg_secondarys/20160629/IW1/burst_01.slc.vrt: No such file or directory
ERROR 4: /scratch2/05861/tg851601/unittestGalapagosSenDT128/merged/SLC/20160605/../../../../../../../tmp/reference/IW1/burst_01.slc.vrt: No such file or directory

then you might have forgotten to use the RSMAS version of FilterCoherece.py of topsStack. The ISCE version does calculate a full-resolution coherence which is not needed. We need to commit to ISCE.

def main(iargs=None):
    inps = cmdLineParse(iargs)

    if inps.filtfile is None:
        inps.filtfile = 'filt_' + inps.infile

    runFilter(inps.infile, inps.filtfile, inps.filterstrength)

    estCoherence(inps.filtfile, inps.cohfile)

    #FAif inps.slc1 and inps.slc2:
    #FA    estCpxCoherence(inps.slc1, inps.slc2, inps.cpx_cohfile,
    #FA                    alks=inps.numberAzlooks,
    #FA                    rlks=inps.numberRangelooks)