Open falkamelung opened 2 years ago
@falkamelung I don't understand why you are comparing data length for unittestGalapagosSenDT128
and MiamiSenAT48
. They are definitely different
I run unittestGalapagosSenDT128
data without problem and did not get this error. You might not be using the last version of MiaplPy or your DEM is not downloaded properly:
unittestGalapagosSenDT128/merged/SLC/20160605[1070] cat *.full.rsc | grep -E 'LENGTH|length'
FILE_LENGTH 2826
LENGTH 2826
length 2826
Also these 2 options do not have overlap:
topsStack.boundingBox = -0.81 -0.80 -90.9 -90.86
miaplpy.subset.lalo = -0.86:-0.81,-91.19:-91.13
however it is not a big problem for this dataset because isce uses a larger subset than the bbox in template and still covers the subset defined for miaplpy
Hi @mirzaees Thank you for running this. I am glad this it is still working for you! Are you using the committed unittestGalapagosSenDT128.template?
If not, can you please post yours?
I ran with a new DEM and I am still getting the same error and have multi looked LENGTH
.
/unittestGalapagosSenDT128/merged/SLC/20160605[1097]
grep -E 'LENGTH|length' *rsc
FILE_LENGTH 565
LENGTH 565
length 2826
I did check for latest versions. So maybe my installation got screwed and I should do a new one.
@falkamelung , Yes I used the same template that is committed
Hi @mirzaees I found the problem. The issue occurs if you run MintPy prior to running MiaplPy.
The Mintpy prep_isce module creates an /reference/data.rsc
. If that exists then MiaplPy has a problem. I did not look at the code but it looks that the MiaplPy prep_isce module does not create it if it exists, or similar, which looks like an easy fix.
The offending attribute seems to be WIDTH
which is created by the Mintpy module but not by the MiaplPy module.
unittestGalapagosSenDT128
grep WIDTH reference/data.rsc mintpy_data.rsc
mintpy_data.rsc:WIDTH 1364
If both MiaplPy and Mintpy always overwrite all *rsc files there should not be an issue.
I am getting an
out of data range
error, although I have selected a subset that is fully within the SLCs. It turns out that the LENGTH and WIDTH in the *.rsc files are too small. Some multilooking seems to have been applied and this is what causes the problem? I darkly remember that we had this before, but I don't remember details. Any idea?For comparison, here for a different dataset which works fine:
Here the *template file for the problem case: