java.lang.IllegalStateException: Different data types: bandDataType=11, dataTypeFromMetadata=21.
at org.esa.s2tbx.dataio.pleiades.PleiadesProductReader.validateMatrix(PleiadesProductReader.java:578)
at org.esa.s2tbx.dataio.pleiades.PleiadesProductReader.buildJP2MosaicMatrix(PleiadesProductReader.java:570)
at org.esa.s2tbx.dataio.pleiades.PleiadesProductReader.buildMosaicMatrix(PleiadesProductReader.java:484)
at org.esa.s2tbx.dataio.pleiades.PleiadesProductReader.readProductNodesImpl(PleiadesProductReader.java:187)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:178)
at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:179)
at org.esa.snap.rcp.actions.file.ReadProductOperation.run(ReadProductOperation.java:61)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
for which 2 tickets were opened: https://senbox.atlassian.net/browse/SIITBX-441 https://senbox.atlassian.net/browse/SNAP-1400
I remember the error you get, it is corrected now. The data is not correctly written in the medatada (extra spaces that don’t respect the format), this is why SNAP throws an error. The handling was updated in order to ignore the extra spaces.
I am still getting this problem when trying to open a Pleiades download. I also tried File->import->Optical Sensors->Pleiades and selected the downloaded zip file but I also get “No appropriate product reader found”.
I am using SNAP 9.0.0 - can you tell me what I am doing wrong or another way to open the file ?
Thanks
I do have the same problem - although maybe you can confirm I am opening the correct file and extension - I am opening the file VOL_PHR.xml as shown below - is this correct ?
Thanks
Diana,
I downloaded the .zip folder from the UP42 website on their sample data download section. (for the city of Melbourne)
I tried to load direct from the .zip folder but this didn’t work, so I unzipped the folder and tried to load the VOL_PHR file. I didn’t change the name.
The file is included below
Thanks
Can you confirm that the VOL_PHR.xml file is the the index metadata file for the product displayed in the screenshot (IMG-PHR1B_PM-N_001)?
The components listed in the attached file are searched in two different directories (IMG_PHR1A_P_001 and IMG_PHR1A_MS_002) :