Closed nikkopante closed 2 months ago
Hi @nikkopante, I was facing a similar issue when installing the most recent version from git, i.e, python -m pip install git+https://github.com/johntruckenbrodt/pyroSAR.git
. Note I am using SNAP version 9.0.0 on linux.
I was able to resolve the issue by downgrading to a previous version of pyroSAR. i.e. python -m pip install pyrosar==0.23.0
.
This won't solve the root cause of your issue but might help you get a working process for the time being.
Hi @nikkopante it looks like you are not using the latest version of pyroSAR. It is trying to get the version of s1tbx
, which does no longer exist with SNAP 10. I could imagine that you set up an environment with Python >=3.11 and then installed pyroSAR into it. This will install an older version of pyroSAR because version 0.25.0 introduced an upper Python version limit. See here. I hope to be able to fix this soon. Could you try again with a Python 3.10 environment?
Thanks @abradley60 for helping to solve this.
Hi @johntruckenbrodt, I installed Python=3.10 and managed to install pyroSAR=0.26.0. It is working now. Thank you and @abradley60 for the help.
Great! Happy processing @nikkopante
Hi all! I am trying to use the pyrosar tool in Jupyter Notebook. However, I get an error that it cannot read the current version of SNAP. I just installed SNAP after I install the tool in conda.
Here is the error:
Windows 10
Anaconda environment
one installed via conda
I'm using
geocode
to get terrain flattened of S1 SLC scene. I am using SNAP latest version v10.0.0