hello
I have a problem opening zip files, and two months ago everything worked fine, I tried reinstalling snap many times to delete the GDAL folder, but none of this helped
java.lang.UnsatisfiedLinkError: ‘int org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()’
at org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get(Native Method)
at org.gdal.gdalconst.gdalconstConstants.(gdalconstConstants.java:12)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1042)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:186)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1105)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1086)
at java.base/java.lang.reflect.Field.get(Field.java:418)
at org.esa.snap.dataio.gdal.drivers.GDALReflection.fetchGDALLibraryConstant(GDALReflection.java:36)
at org.esa.snap.dataio.gdal.drivers.GDALConstConstants.gdtByte(GDALConstConstants.java:28)
at org.esa.snap.dataio.gdal.reader.GDALProductReader.(GDALProductReader.java:63)
at org.esa.snap.dataio.gdal.reader.plugins.AbstractDriverProductReaderPlugIn.createReaderInstance(AbstractDriverProductReaderPlugIn.java:77)
at eu.esa.sar.iogdal.sentinel1.Sentinel1ProductDirectory.addImageFile(Sentinel1ProductDirectory.java:116)
at eu.esa.sar.commons.io.AbstractProductDirectory.findImages(AbstractProductDirectory.java:141)
at eu.esa.sar.commons.io.AbstractProductDirectory.findImages(AbstractProductDirectory.java:168)
at eu.esa.sar.iogdal.sentinel1.Sentinel1ProductDirectory.createProduct(Sentinel1ProductDirectory.java:999)
at eu.esa.sar.iogdal.sentinel1.Sentinel1ProductReader.readProductNodesImpl(Sentinel1ProductReader.java:83)
Caused: java.io.IOException: eu.esa.sar.iogdal.sentinel1.Sentinel1ProductReader
[input=D:\SAT_im\14 june 2019\S1A_EW_GRDM_1SDH_20190614T081108_20190614T081208_027673_031FA1_EFAC.zip]:
‘int org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()’
at eu.esa.sar.commons.io.SARReader.handleReaderException(SARReader.java:180)
at eu.esa.sar.iogdal.sentinel1.Sentinel1ProductReader.readProductNodesImpl(Sentinel1ProductReader.java:96)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:178)
at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:181)
[catch] at org.esa.snap.rcp.actions.file.ReadProductOperation.run(ReadProductOperation.java:61)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Similar issue has been reported here:
Native library load failed (GDAL) when gpt called from a python subprocess - Optical Toolbox - STEP Forum (esa.int)
Maybe this discussion can help you
I do not use python while using snap, and I do not know how to install another version of gdal separately.