PyRAT icon indicating copy to clipboard operation
PyRAT copied to clipboard

load.sentinel1 error

Open natasnat opened this issue 4 months ago • 0 comments

It is currently not possible to upload Sentinel-1 scenes.

In GUI mode I get the error POLARISATION' KeyError in Spaceborne_GDAL.py (line 241).

On the the command line I get ERROR: manifest.save file not found! ERROR: 'bool' object is not iterable TypeError in LayerData.py (line 44).

But my S1 SAFE folder has the manifest.save file and as I see it, PyRAT only needs {'dir': '', 'swath': 1}. In debug mode:

SENTINEL-1 IMPORT {'dir': '', 'swath': 1} ERROR: manifest.save file not found! Traceback (most recent call last): File "", line 1, in File "/home/PyRAT/PyRAT/pyrat/load/Spaceborne_GDAL.py", line 256, in sentinel1 return Sentinel1(*args, **kwargs).run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/PyRAT/PyRAT/pyrat/Worker.py", line 83, in run self.crash_handler(ex) File "/home/PyRAT/PyRAT/pyrat/Worker.py", line 527, in crash_handler raise ex File "/home/PyRAT/PyRAT/pyrat/Worker.py", line 80, in run return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/PyRAT/PyRAT/pyrat/ImportWorker.py", line 37, in main newlayer = pyrat.data.addLayer(array=data, block=self.block) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/PyRAT/PyRAT/pyrat/LayerData.py", line 44, in addLayer for arr in array: # Loop over all arrays in list ^^^^^ TypeError: 'bool' object is not iterable

natasnat avatar Oct 17 '24 14:10 natasnat