SliDEM-project / SliDEM-python

Python package for the SliDEM project
https://hub.docker.com/repository/docker/loreabad6/slidem
Apache License 2.0
17 stars 2 forks source link

Snaphu unwrapping failing #38

Closed ZahraDabiri closed 1 year ago

ZahraDabiri commented 1 year ago

Pipelines exit during procesing of unwrapping with the following error:

Reading wrapped phase from file Phase_ifg_IW1_VV_19Jul2018_13Jul2018.snaphu.img
No weight file specified.  Assuming uniform weights
No brightness file specified.  Using interferogram magnitude as intensity
Reading correlation data from file coh_IW1_VV_19Jul2018_13Jul2018.snaphu.img
Calculating topography-mode cost parameters
Despeckling intensity image
Normalizing intensity
Intensity-normalization averaging box too large for input array size
Abort

We have yet to investigate the cause.

Also related to #9 and #36.

loreabad6 commented 1 year ago

@ZahraDabiri, I just managed to make this particular example work by adding a buffer to the AOI. We could check in more detail what is exactly happening, maybe the AOI is too small? But then why is not failing every time? In any case, this is the code I used:

python3.6 scripts/2_dem_generation.py --download_dir data/s1/austria --output_dir data/results/grossarl
 --query_result s1_scenes_grossarl_2018.csv --pair_index 0 --aoi_path data/aoi/Grossarl.geojson --aoi_buffer 0.01
ZahraDabiri commented 1 year ago

@loreabad6 It works for me as well :-) I got the results without any error using the buffer :-)