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

An import error when using the function of estCpxCoherence #854

Open
JolinnaYoung opened this issue Jun 23, 2024 · 1 comment
Open

An import error when using the function of estCpxCoherence #854

JolinnaYoung opened this issue Jun 23, 2024 · 1 comment
Labels
support Assistance for end users

Comments

@JolinnaYoung
Copy link

JolinnaYoung commented Jun 23, 2024

Traceback(most recent call last):
  File "Coherence.py", line 39, in <module>
    estCpxCoherence('/home/E/process/merged/SLC/20220719.slc.full', '/home/E/process/merged/SLC/20220731.slc.full', '20220719_20220731.cor', alks=5, rlks=20)
  File "Coherence.py", line 9, in estCpxCoherence
    from isceobj.TopsProc.runBurstIfg import computeCoherence
  File "/home/Program/ISCE/isce/components/isceobj/TopsProc/__init__.py", line 6, in <module>
    from .TopsProc import *
  File "/home/Program/ISCE/isce/components/isceobj/TopsProc/TopsProc.py", line 9, in <module>
    from iscesys.Component.Component import Component
  File "/home/Program/ISCE/isce/components/iscesys/Component/Component.py", line 20, in <module>
    from iscesys.StdOEL.StdOELPy import _WriterInterface
  File "/home/Program/ISCE/isce/components/iscesys/StdOEL/StdOELPy.py", line 22, in <module>
    from StdOELPy import StdOEL
ImportError: cannot import name StdOEL

I met an import error when trying to compute the coherence. Unfortunately I tried a lot of ways but still couldn't fix it. Could you please tell me how to fix it or how to compute coherence value through another way? Thanks so much!

@rtburns-jpl rtburns-jpl added the support Assistance for end users label Aug 15, 2024
@rtburns-jpl
Copy link
Member

I'm confused by this part:

  File "/home/Program/ISCE/isce/components/iscesys/StdOEL/StdOELPy.py", line 22, in <module>
    from StdOELPy import StdOEL

As far as I can tell, the line causing the error (from StdOELPy import StdOEL) does not exist anywhere in isce2. What version of isce2 are you using? How did you install it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Assistance for end users
Projects
None yet
Development

No branches or pull requests

2 participants