johntruckenbrodt / pyroSAR

framework for large-scale SAR satellite data processing
MIT License
513 stars 112 forks source link

name 'isp' is not defined #85

Open maulanarachmat opened 5 years ago

maulanarachmat commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

johntruckenbrodt commented 5 years ago

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 commented 4 years ago

Yes the structure organized like the others folder, thank you