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

load.sentinel1 error #30

Open
natasnat opened this issue Oct 17, 2024 · 0 comments
Open

load.sentinel1 error #30

natasnat opened this issue Oct 17, 2024 · 0 comments

Comments

@natasnat
Copy link

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

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

No branches or pull requests

1 participant