My installation OSX 10.9.5, Snap 2.0 with S2TBX 2.0.3, Python 3.4
I am using the snappy python interface to read S2 data in order to generate time series of values at specific locations.
I have downloaded some data and this comes in the form of a directory ending .SAFE
with a hierarchy of files underneath, though this does not include any “.dim” file.
All the python examples I have seen appear to work with “.dim” files. For example in the following code:
from snappy import ProductIO
p = ProductIO.readProduct(test_file)
I have tried this code supplying the name of the directory and of jp2 files but this simply returns a None object. As there are no “dim” files it isn’t clear to me how I can load the data under the SAFE directory.
Question: How can I do this within Python? Should I be downloading data in a different (dim) form?
In another thread, I have seen this code:
file = snappy.File(fileNameString)
readerString = ‘Sen3_SLSTRL1B_1km’
product = snappy.ProductIO.readProduct(file, readerString)
Question: Where I can get a list of accepted readerString values for S2tBX?
Thanks in advance for any help…