Cannot read SYN VG1 products

Description

From an e-mail: "The S3MPC operators raise an issue concerning the handling of Sentinel 3 SYNERGY VG1 products (S3A_SY_2_VG1____[..]). Whereas SNAP was able to open these files last year, it is now impossible to open this file through the manifest and impossible to open individually any of the included files.

There have been an evolution of this processing beginning of the year and it seems that the updated VG1 files are no longer accepted by SNAP. However, no modification of format have been included in VG1 file – except maybe a correction about the Plate-Carrée resolution.

Can you please have a look?

I have the following error message if I tried to open a recent VG1 product with SNAP :

“java.lang.IllegalStateException

at ucar.nc2.iosp.IospHelper.readData(IospHelper.java:396)

at ucar.nc2.iosp.IospHelper.readDataFill(IospHelper.java:292)

at ucar.nc2.iosp.hdf5.H5iosp.readData(H5iosp.java:163)

at ucar.nc2.iosp.hdf5.H5iosp.readData(H5iosp.java:141)

at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1957)

at ucar.nc2.Variable.reallyRead(Variable.java:841)

at ucar.nc2.Variable._read(Variable.java:813)

at ucar.nc2.Variable.read(Variable.java:691)

at org.esa.s3tbx.dataio.s3.util.S3NetcdfReader.addVariableMetadata(S3NetcdfReader.java:510)

at org.esa.s3tbx.dataio.s3.util.S3NetcdfReader.addBands(S3NetcdfReader.java:215)

at org.esa.s3tbx.dataio.s3.util.S3NetcdfReader.readProductNodesImpl(S3NetcdfReader.java:65)

at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:169)

at org.esa.s3tbx.dataio.s3.synergy.VgtProductFactory.readProduct(VgtProductFactory.java:94)

at org.esa.s3tbx.dataio.s3.AbstractProductFactory.readProducts(AbstractProductFactory.java:406)

at org.esa.s3tbx.dataio.s3.AbstractProductFactory.createProduct(AbstractProductFactory.java:82)

at org.esa.s3tbx.dataio.s3.Sentinel3ProductReader.createProduct(Sentinel3ProductReader.java:95)

at org.esa.s3tbx.dataio.s3.Sentinel3ProductReader.readProductNodesImpl(Sentinel3ProductReader.java:83)

at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:169)

at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:161)

at org.esa.snap.rcp.actions.file.ReadProductOperation.run(ReadProductOperation.java:51)

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)”"

A first investigation showed that the problem occurs because the netcdf files now have a variable "crs" which is encoded as string, which cannot be read by our netcdf library.

Environment

None

GitHub Work

None

Activity

Show:

Marco Peters14 March 2019 at 10:14

  • the issue was that the crs variable was of type string and SNAP couldn't handle this case

  • only creating one-dim variables

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created 5 March 2019 at 13:31
Updated 10 February 2023 at 13:41
Resolved 10 February 2023 at 13:32

Flag notifications