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

Complex fails for 24 bits per value #292

Open
joobog opened this issue Nov 18, 2024 · 3 comments · May be fixed by #298
Open

Complex fails for 24 bits per value #292

joobog opened this issue Nov 18, 2024 · 3 comments · May be fixed by #298
Assignees
Labels
bug Something isn't working

Comments

@joobog
Copy link

joobog commented Nov 18, 2024

Complex algorithm fails for some data at 24 bits per value:

+ wgrib2 --version
3.4.0
+ wgrib2 kwbc_simple.grib -set_grib_type c3 -set_grib_max_bits 24 -grib_out kwbc_complex.grib
*** FATAL ERROR: add_many_bitstream: n_bits = (26) ***

kwbc_simple.grib.zip

@webisu
Copy link
Collaborator

webisu commented Nov 19, 2024 via email

@edwardhartnett
Copy link
Contributor

@webisu could you submit a PR with that information added to the documentation?

In general, all such questions should result in documentation update, not just answering the question. For every person who asks a question, there are 10 times as many who will wonder the same thing but won't ask. So let's put out answers out for everyone.

@joobog
Copy link
Author

joobog commented Nov 20, 2024

@webisu, thanks for the detailed explanation. I hope this problem can be fixed soon.
@edwardhartnett, I agree, the comment from @webisu should be made public. The information is very useful.

@edwardhartnett edwardhartnett added the bug Something isn't working label Nov 21, 2024
@webisu webisu linked a pull request Nov 29, 2024 that will close this issue
@webisu webisu linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants