step - correct_troposphere error

115 views
Skip to first unread message

sakuya_izayoi

unread,
Feb 15, 2024, 4:51:12 AMFeb 15
to MintPy
I'm having trouble with a parsing error.

Please help.

I encountered the following error while performing analysis with Mintpy and I'm in need of assistance. Furthermore, I have confirmed that the analysis of the data from https://mintpy.readthedocs.io/en/latest/demo_dataset/#sentinel-1_on_western_cape_south_africa_with_snap has been completed successfully.

I will also attach the full analysis log. Please let me know if you have any information.

The environment is Ubuntu running on Docker on Windows, with Python 3.7.

******************** step - correct_troposphere ********************
Input data seems to be geocoded. Lookup file not needed.
Atmospheric correction using Weather Re-analysis dataset (PyAPS, Jolivet et al., 2011)
Weather Re-analysis dataset: ERA5

tropo_pyaps3.py -f /app/snap/mintpy/timeseries.h5 --model ERA5 -g /app/snap/mintpy/inputs/geometryGeo.h5 -w ${WEATHER_DIR}
Traceback (most recent call last):
  File "/opt/miniconda/envs/MintPy/bin/smallbaselineApp.py", line 10, in <module>
    sys.exit(main())
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/cli/smallbaselineApp.py", line 208, in main
    run_smallbaselineApp(inps)
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/smallbaselineApp.py", line 1117, in run_smallbaselineApp
    app.run(steps=inps.runSteps)
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/smallbaselineApp.py", line 898, in run
    self.run_tropospheric_delay_correction(sname)
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/smallbaselineApp.py", line 648, in run_tropospheric_delay_correction
    mintpy.cli.tropo_pyaps3.main(iargs)
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/cli/tropo_pyaps3.py", line 163, in main
    from mintpy.tropo_pyaps3 import run_tropo_pyaps3
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/mintpy/tropo_pyaps3.py", line 14, in <module>
    import pyaps3 as pa
  File "/opt/miniconda/envs/MintPy/lib/python3.7/site-packages/pyaps3/__init__.py", line 13, in <module>
    from importlib.metadata import PackageNotFoundError, version
ModuleNotFoundError: No module named 'importlib.metadata'
log_copy.txt
Message has been deleted

sakuya_izayoi

unread,
Feb 16, 2024, 8:27:15 PMFeb 16
to MintPy
When I skipped the above part, the analysis worked. 
Although atmospheric correction was not possible, I was able to grasp the situation once.

Thank you.
2024年2月15日木曜日 18:51:12 UTC+9 sakuya_izayoi:

Zhang Yunjun

unread,
Mar 13, 2024, 10:59:12 AMMar 13
to MintPy
The importlib module, which is used by PyAPS, requires Python 3.8+. So you would need to update your python to use this option.

Yunjun
Reply all
Reply to author
Forward
0 new messages