You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which operating system are you using?
Ubuntu 22.04
which environment is pyroSAR running in?
Python installation 3.10.12 under Conda Environnement
which version of pyroSAR are you using?
one install via pip
which function of pyroSAR did you call with which parameters?
Geocode
if applicable, which version of SNAP or GAMMA are you using in pyroSAR?
SNAP 5.0
the full error message
Exception has occurred: AttributeError
'ExamineSnap' object has no attribute 'gpt'
File "/home/nivole/Documents/18_detection_TFAC_MERCORAIL/MultiTFAC.py", line 45, in
geocode(
AttributeError: 'ExamineSnap' object has no attribute 'gpt'
Thanks for getting in touch @FranckNIRD. I see that you are using quite an old version on SNAP for which I cannot guarantee support. Can you update to SNAP 9 and see whether the problem persists?
SNAP identification with ExamineSnap is not run at every startup but only once and the relevant paths are then stored in a file .pyrosar/config.ini in your home directory. Can you check the content of this file? Do the paths point to your SNAP installation? If not you can try deleting the file and running the following:
I didn't have more time to work on. I Keep in mind your answer. I will have to work again with Sentinel1. For the moment I close issues. Thank you for your help.
Ubuntu 22.04
Python installation 3.10.12 under Conda Environnement
one install via pip
Geocode
SNAP 5.0
Exception has occurred: AttributeError
'ExamineSnap' object has no attribute 'gpt'
File "/home/nivole/Documents/18_detection_TFAC_MERCORAIL/MultiTFAC.py", line 45, in
geocode(
AttributeError: 'ExamineSnap' object has no attribute 'gpt'
in the previous version, this code woked :
geocode( infile="/home/Documents/18_detection_TFAC/FichierS1/S1_NOUMEA/S1B_IW_GRDH_1SDV_20200117T182230_20200117T182247_019860_0258F5_0531.zip",
outdir="./Geocode/Noumea",
tr=20,
scaling="dB",
t_srs=4326,
refarea="sigma0",
terrainFlattening=False,
speckleFilter = 'Median',
)
I changed bashrc to get the good path.
The text was updated successfully, but these errors were encountered: