Skip to content

load.sentinel1 error #30

@natasnat

Description

@natasnat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions