Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSX: shadowMask not loading into geometryRadar.h5 #34

Open
falkamelung opened this issue Nov 19, 2022 · 0 comments
Open

TSX: shadowMask not loading into geometryRadar.h5 #34

falkamelung opened this issue Nov 19, 2022 · 0 comments

Comments

@falkamelung
Copy link
Contributor

Hi @mirzaees ,
In the run_04 step I am getting the error below running generate_unwrap_mask.py because there is no shadowMask in the geometryRadar.h5 file. It turns out that it is looking for ./merged/geom_reference/shadowMask.rdr.full which exist for Sentinel-1 but not for TSX (there is only `/merged/geom_reference/shadowMask.rdr'). Saying

miaplpy.load.shadowMaskFile = ./merged/geom_reference/shadowMask.rdr   #[path2shadow_file], optional

seems to resolve it (should it?) but I wonder whether the autopath is working properly/.

cd MiamiTsxSMD14

ls -1 merged/*/*shadowMask*
merged/geom_reference/shadowMask.rdr
merged/geom_reference/shadowMask.rdr.rsc
merged/geom_reference/shadowMask.rdr.vrt
merged/geom_reference/shadowMask.rdr.xml
generate_unwrap_mask.py --geometry /scratch/05861/tg851601/MiamiTsxSMD14/miaplpy/inputs/geometryRadar.h5 
20221118:163300 * generate_unwrap_mask.py --geometry /scratch/05861/tg851601/MiamiTsxSMD14/miaplpy/inputs/geometryRadar.h5
There is no shadow mask in geometryRadar.h5, all values set to 1
Traceback (most recent call last):
  File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MiaplPy/miaplpy/generate_unwrap_mask.py", line 110, in <module>
    main()
  File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MiaplPy/miaplpy/generate_unwrap_mask.py", line 47, in main
    mintpy.generate_mask.main(args_shm.split())
AttributeError: module 'mintpy' has no attribute 'generate_mask'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant