Hello everyone,
i am using snappy on both windows 10, anaconda3 environment, and Ubuntu 20.04 without anaconda. On both machines i am using python 3.8.10. So i built the jpy accordingly.
Now a strange thing happens. On windows machine i can read a Sentinel-3 SLSTR product without any problems.
On the Ubuntu machine i can read single .nc files from the product folder properly, but ProductIO.readProduct won’t read the entire product no matter whether i only specify the folder or the xfdumanifest.xml file specifically.
Even worse i won’t even get any error message, just an NoneType object.
The example code is fairly simple:
import snappy
from snappy import ProductIO
productPath = “/dm/dm/data/sentinel/tmp/shorter.SEN3/LST_in.nc” ← working
product = ProductIO.readProduct(productPath)
productPath = “/dm/dm/data/sentinel/tmp/shorter.SEN3” ← not working
product = ProductIO.readProduct(productPath)
productPath = “/dm/dm/data/sentinel/tmp/shorter.SEN3/xfdumanifest.xml” ← not working
product = ProductIO.readProduct(productPath)
Obviously, the .nc file only is of no use since i need to georeference the whole thing first. So what might be the issue here and how to overcome?