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)
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
Can you send us the product so we can do the tests locally?
I also noticed that the product directory name end with -N_001. Is this the original name or did you change it?
The naming convention for Pléiades reader is : IMG_PHR<SAT_NUMBER>_<SPECTRAL_PROCESSING>_<NUM_PRODUCT>
where: <SAT_NUMBER> = {1A, 1B}, Pléiades 1A or Pléiades 1B, or one of them if both used in a mosaic <SPECTRAL_PROCESSING> = {P, MS, PMS, MS-N, MS-X, PMS-N, PMS-X} <NUM_PRODUCT> = Product index within the Volume. Format is three digits from 001 to 999
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) :
What I wanted yo ask is if the uploaded VOL_PHR.xml file was in the same archive as the IMG-PHR1B_PM-N_001 directory, because if it was, this product doesn’t seem to be in a format supported by SNAP) .
(see A.1 File and Folder Naming in Pléiades Imagery User Guide )