Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Section ID does not match. Should be 2 is 3 error #4

@wildtang

Description

@wildtang

I use your lib to read my grib2 file, but exception below occured.
To figure out the problem I can provide my grib2 file to you if you need it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions