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

read the .grib2 data failed #6

Open
jayhuang75 opened this issue Aug 28, 2018 · 6 comments
Open

read the .grib2 data failed #6

jayhuang75 opened this issue Aug 28, 2018 · 6 comments

Comments

@jayhuang75
Copy link

Hello,

I try to open test.grib2 file and get this error message:
Failed to unpack data: packing type [40] not supported

Please advise.

Thank you.

@amsokol
Copy link
Owner

amsokol commented Aug 28, 2018

Hi,

go-grib2 does not support all packing type.
I recommend you try another my lib:
https://github.com/amsokol/go-eccodes

@jayhuang75
Copy link
Author

@amsokol Thank you so much much appreciated.

@jayhuang75
Copy link
Author

Hello @amsokol, I just test this go-eccodes you mentioned. however when i run i get to this issues:
../github.com/amsokol/go-eccodes/io/file.go:8:2: invalid input file name "+linux_amd64.go"

Anything i miss here? thank you.

@amsokol
Copy link
Owner

amsokol commented Sep 3, 2018

Hi,

I am out of office now.
I come back at end of this week and try to help.
Sorry.

@gocluster
Copy link

Hi I have the same issue. @jayhuang75 how did u resolve this.
I got the Failed to unpack data: packing type [41] not supported

@mtfelian
Copy link

mtfelian commented Jan 14, 2019

@gocluster @jayhuang75 you should rename the file +linux_amd64.go to c_linux_amd64.go.
I did it in my fork

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

4 participants