import pyroSAR.snap fails
See original GitHub issueIf I try to import pyroSAR.snap it fails with the following Error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/qe89hep/Programmieren/pyroSAR/pyroSAR/snap/__init__.py", line 4, in <module>
snap_config = ExamineSnap()
File "/home/qe89hep/Programmieren/pyroSAR/pyroSAR/snap/auxil.py", line 253, in __init__
self.__get_etc()
File "/home/qe89hep/Programmieren/pyroSAR/pyroSAR/snap/auxil.py", line 263, in __get_etc
self.config_path = os.path.join(self.etc, [s for s in self.auxdata if "snap.auxdata.properties" in s][0])
IndexError: list index out of range
My Snap etc folder is at /home/username/snap/etc this is the location that is used automatically by the SNAP installer.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
SNAP API — pyroSAR 0.19 documentation
pyroSAR offers a collection of tools to parse SNAP XML workflows and execute them with SNAP's Graph Processing Tool (GPT). All functionality is...
Read more >Is pyroSAR a good substitute for python based ... - STEP Forum
Hi, I recently came across pyroSAR and starting to setup it up. I am trying to create a python based preprocessing workflow.
Read more >pyroSAR Documentation - Read the Docs
from pyroSAR.snap import geocode ... this fails and RES files are allowed, it will download the RES file. The selected OSV.
Read more >Exporting SNAP S1 preprocessing model as Python script
... it from SNAP, but there are libraries in Python which allow you to easily create and run it. snapista recommended; pyroSAR ·...
Read more >Data Tools | ASF - Alaska Satellite Facility
... the Sentinel Application Platform (SNAP) for processing Sentinel-1 data. ... pyroSAR — A Python Framework for Large-Scale SAR Satellite Data Processing.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe it isn’t. My snap is installed at /usr/bin/snap and there is a .snap folder in my home with a etc folder. I think, this happens when we use the -dir option of the SNAP installer. This would need to be checked.
Closed for now since no further import errors were discovered