Cant open Sentinel 2 in SNAP 9.0.0

Thank you @amaliadetoni for quickly confirming the result of our recommendation, which, surprising, it was the solution for your problem.

Now we stopped our investigation of your problem on our Mac because the problem is now, solved.

All the best!

Regards
Adrian

1 Like

HI. I am new to the community. Yesterday i have installed snap version 9.0. I am trying to open IMG-HH-ALOS2489433150-230616-WBDR2.1GUD.tif files. it is not opening. There was an error message at the right hand bottom
unexpected Exception
org.geotools.referencing.crs.DefaultGeocentricCRS cannot be cast to org.opengis.referencing.crs.GeograhicCRS.
Please help

Hi @srishambhu
Your issue seems to be related to ALOS-2 L1.5 Geotiff not opening - #2 by marpet.

Hello All
I am receiving this error once I try to open S2 product

Can someone provide help pls. Should I uninstall then reinstall SNAP? that is the first time it happens, been working on it for months.
it is doing this to all S2 images. I tried unzipping them through all options and tried adding the zipped file. Both ways not working. S3 images are opening normally.

Hello @abeddoughan,
Deleting <user_directory>\ .snap\auxdata\gdal and restarting SNAP should fix your problem.
If it still doesn’t work, please attach the messages.log file (use “Help" → "Show Log Directory” menu to find the log).

Ok thanks. I will check

Hello,
since today I have the same issue when I try to load Sentinel-2 data.
My OS is Windows 10 and I am using the current SNAP version 9.0.7. And in the options → GDAL Library Loader the internal GDAL version from SNAP (3.2.1) is selected.
I tried already to delete the folder .snap\auxdata\gdal but after restart the application the the gdal folder is restored but the problem is not solved. Has anyone an idea how to solve?
Thanks in advance …
folder_content_1


messages.log (134.3 KB)

An error crept in the S2 reader during the last SNAP update. Our team is currently working on it and there will be a new update available today.
We apologize for any inconvenience caused.

thanks for the quick reply :slight_smile: … Then I will wait for the update …

SNAP update 9.0.8 which fixes the S2 reader is now available.

Hello. I have the same issue. I have tried deleting the snap folder, changin the GDAL Library Loaader and I have uninstall and install the program over three times but the issue persist. My error is
A java.lang.UnsatisfiedLinkError exception has occurred.
Click Show Details or see the messages.log file located in your C:\Users\LAURA TERÁN\AppData\Roaming\SNAP\var\log folder.
java.lang.UnsatisfiedLinkError: org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()I
at org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get(Native Method)
at org.gdal.gdalconst.gdalconstConstants.(gdalconstConstants.java:12)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:156)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
at java.lang.reflect.Field.get(Field.java:393)
at org.esa.snap.dataio.gdal.drivers.GDALReflection.fetchGDALLibraryConstant(GDALReflection.java:31)
at org.esa.snap.dataio.gdal.drivers.GDALConst.gaReadonly(GDALConst.java:28)
at org.esa.s2tbx.dataio.s2.Sentinel2ProductReader.computeJP2MatrixCellsResolutionCountWithGDAL(Sentinel2ProductReader.java:295)
at org.esa.s2tbx.dataio.s2.Sentinel2ProductReader.computeJP2MatrixCellsResolutionCount(Sentinel2ProductReader.java:321)
at org.esa.s2tbx.dataio.s2.Sentinel2ProductReader.computeMatrixCellsResolutionCount(Sentinel2ProductReader.java:286)
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReader.addBands(Sentinel2OrthoProductReader.java:551)
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReader.readProduct(Sentinel2OrthoProductReader.java:265)
at org.esa.s2tbx.dataio.s2.Sentinel2ProductReader.readProductNodesImpl(Sentinel2ProductReader.java:199)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:178)
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReaderProxy.readProductNodes(Sentinel2OrthoProductReaderProxy.java:90)
at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:182)
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 am a windows 11Pro user and I have Snap 9.0.0 version. I hope you can help me, thanks

Hello @diana_harosa How can I download this version? I was searching in the Snap website but the version available is 9.0.0

I have this problem with gdal and I dont know what to do. My OS is windows 11 Pro
Thank you

Hello Laura
You can update SNAP 9.0.0 to the latest minor version using the HelpCheck for Updates menu.
The modules to be updated will be listed:

Click Next and wait for the plugins to download


Click on Click the balloon to restart your application now

image

After update, check the SNAP version using the HelpAbout SNAP… menu

image

Hi Laura,
We will do some tests but I think that, in your case, the problem is your user’s folder which contains the Á character.

Hi @diana_harosa

I am getting the same problem.
I cannot open S2_MSIL1C anymore. It shows this message.

I already did the update, but didn’t work. I’m using a Mac M2.
Please, could you help me?
Thank you very much.
Amália