Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to write the data in the output file. #27

Open
elfervargas opened this issue Sep 19, 2017 · 0 comments
Open

Error trying to write the data in the output file. #27

elfervargas opened this issue Sep 19, 2017 · 0 comments

Comments

@elfervargas
Copy link

When I trying to extract the element data from my gfs file the following error occurs

grib2json -d -o ~/path/fieldsAndValues.json ~/path/gfs.t18z.sfluxgrbf00.grib2

javax.json.JsonException: I/O error while closing JsonGenerator
at org.glassfish.json.JsonGeneratorImpl.flushBuffer(JsonGeneratorImpl.java:705)
at org.glassfish.json.JsonGeneratorImpl.writeChar(JsonGeneratorImpl.java:669)
at org.glassfish.json.JsonPrettyGeneratorImpl.writeComma(JsonPrettyGeneratorImpl.java:121)
at org.glassfish.json.JsonGeneratorImpl.writeValue(JsonGeneratorImpl.java:537)
at org.glassfish.json.JsonGeneratorImpl.write(JsonGeneratorImpl.java:327)
at org.glassfish.json.JsonPrettyGeneratorImpl.write(JsonPrettyGeneratorImpl.java:55)
at net.nullschool.grib2json.GribRecordWriter.writeData(GribRecordWriter.java:271)
at net.nullschool.grib2json.Grib2Json.write(Grib2Json.java:70)
at net.nullschool.grib2json.Grib2Json.write(Grib2Json.java:106)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant