sertit / eoreader

Remote-sensing opensource python library reading optical and SAR sensors, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
https://eoreader.readthedocs.io/en/latest/
Apache License 2.0
271 stars 22 forks source link

Capella data not loading #76

Closed koles289 closed 1 year ago

koles289 commented 1 year ago

Hello

I would like to ask some clarification regarding support for CAPELLA data for SAR. I have a zip file with CAPELLA data, but when I try to load the file, the outputting variable is empty and the code is not throwing any errors. When I was checking the reader function, it seems to me, that there is missing a class creation for Capella data and this is why it does not throw any error. Could you help me to understand if there is currently a support for Capella satellite?

remi-braun commented 1 year ago

Hello,

Could you precise the EOReader version you are using ? The 0.19.0 version that enabled the Capella support has only be up for several minutes (and not yet available on conda), so maybe you just have to update EOReader 😅

remi-braun commented 1 year ago

Moreover, archived Capella won't work (see https://eoreader.readthedocs.io/en/v0.19.0/sar.html#implemented-sar-constellations). You must extract the folder before (SNAP cannot use archived Capella products directly)

If you want to display EOReader logs, you can initialize le EOReader logger like in this :

# Create logger
import logging
from sertit import logs

logs.init_logger(logging.getLogger("eoreader"))

(from this notebook)

koles289 commented 1 year ago

Hi remi, thank you for such a quick response :) yeah I was using the older version. I upgraded it and changed thestructure a little and the files were loaded :) thank you

remi-braun commented 1 year ago

Happy to see you made it work 🎆