org.meteogroup.griblibrary.exception.GribReaderException: Section ID does not match. Should be 2 is 3


Solutions on the web

Solution icon of github
Section ID does not match. Should be 2 is 3

Stack trace

org.meteogroup.griblibrary.exception.GribReaderException: Section ID does not match. Should be 2 is 3
	at org.meteogroup.griblibrary.grib2.Grib2RecordReader.readCompleteRecord(Grib2RecordReader.java:82)
	at org.meteogroup.griblibrary.grib2.Grib2CollectionReader.readAllRecords(Grib2CollectionReader.java:81)
	at org.meteogroup.griblibrary.grib2.Grib2CollectionReader.readFileFromFileName(Grib2CollectionReader.java:58)
	at cn.robusoft.grib.Main.main(Main.java:16)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.io.IOException: Section ID does not match. Should be 2 is 3
	at org.meteogroup.griblibrary.grib2.Grib2LUSReader.readLUSValues(Grib2LUSReader.java:23)
	at org.meteogroup.griblibrary.grib2.Grib2RecordReader.readCompleteRecord(Grib2RecordReader.java:68)
	... 8 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.