pyrocko / kite

InSAR unwrapped surface displacement processing for earthquake modelling.
https://pyrocko.org/kite/
GNU General Public License v3.0
78 stars 34 forks source link

Unable to import SNAP GAMMA files #110

Closed Cilokcilok closed 11 months ago

Cilokcilok commented 11 months ago

Hello Sir,  I was trying to import my SNAP GAMMA data using the spool' command but got an error. Here is the error code:

rana@rana:~/desc_taj/GAMMA$ ls
20230221_20230305_Orb_Stack_ifg_deb_mrg_dinsar_ml_flt_unw_dsp_TC..rslc
20230221_20230305_Orb_Stack_ifg_deb_mrg_dinsar_ml_flt_unw_dsp_TC.rslc.par
rana@rana:~/desc_taj/GAMMA$ spool --load 20230221_20230305_Orb_Stack_ifg_deb_mrg_dinsar_ml_flt_unw_dsp_TC.rslc.par 
Traceback (most recent call last):
  File "/home/rana/.local/bin/spool", line 8, in <module>
    sys.exit(main())
  File "/home/rana/.local/lib/python3.10/site-packages/kite/spool/__main__.py", line 111, in main
    spool(import_file=ns.load)
  File "/home/rana/.local/lib/python3.10/site-packages/kite/spool/spool.py", line 393, in spool
    spool_app = Spool(*args, **kwargs)
  File "/home/rana/.local/lib/python3.10/site-packages/kite/spool/spool.py", line 46, in __init__
    self.importScene(import_file)
  File "/home/rana/.local/lib/python3.10/site-packages/kite/spool/spool.py", line 61, in importScene
    self.spool_win.model.importFile(filename)
  File "/home/rana/.local/lib/python3.10/site-packages/kite/spool/scene_model.py", line 171, in importFile
    self.setScene(Scene.import_data(filename))
  File "/home/rana/.local/lib/python3.10/site-packages/kite/scene.py", line 459, in dynclassmethod
    return func(Scene(), *args, **kwargs)
  File "/home/rana/.local/lib/python3.10/site-packages/kite/scene.py", line 972, in _import_data
    raise ImportError("Could not recognize format for %s" % path)
ImportError: Could not recognize format for 20230221_20230305_Orb_Stack_ifg_deb_mrg_dinsar_ml_flt_unw_dsp_TC.rslc.par
rana@rana:~/desc_taj/GAMMA$