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

name 'isp' is not defined #85

Open
maulanarachmat opened this issue Jul 10, 2019 · 4 comments
Open

name 'isp' is not defined #85

maulanarachmat opened this issue Jul 10, 2019 · 4 comments

Comments

@maulanarachmat
Copy link

Hello,
I have installed pyroSAR and trying to process sentinel-1 data with gamma geocode,
I got an error like this :

unpacking scene..
removing border noise..
border noise removal not necessary for IPF version 2.91
converting scene to GAMMA format..
Traceback (most recent call last):
File "", line 1, in
File "/home/ubuntusar/anaconda3/envs/envgamma/lib/python3.7/site-packages/pyroSAR/gamma/util.py", line 581, in geocode
convert2gamma(scene, scene.scene, logpath=path_log, outdir=scene.scene, shellscript=shellscript)
File "/home/ubuntusar/anaconda3/envs/envgamma/lib/python3.7/site-packages/pyroSAR/gamma/util.py", line 269, in convert2gamma
isp.par_S1_GRD(**pars)
NameError: name 'isp' is not defined

I got GAMMA GEO package already installed on my system
How to resolve this, thank you

@johntruckenbrodt
Copy link
Owner

Hi,
pyroSAR makes use of the GAMMA modules DIFF, DISP, ISP and LAT. The command par_S1_GRD is part of the ISP package. You would need a GAMMA license including this module. What modules are included in your GEO package?
Regards,
John

@maulanarachmat
Copy link
Author

It have pretty much cover all command and library for geocoding SAR data, including par_S1_GRD as well.
I think its because my GAMMA installation directory only have GEO and DISP so the searching of the commands not defined

@johntruckenbrodt
Copy link
Owner

Ah okay. I didn't know this structure exists. Is this GEO directory organized just like the others with folders
./GEO/bin and ./GEO/scripts etc.? I could integrate this structure, but it might take some time.

@maulanarachmat
Copy link
Author

Yes the structure organized like the others folder, thank you

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

2 participants