Open fnhirwa opened 8 months ago
i want to fix this issue please assign me this issue.
@sarthakvyas16 before assigning you to the issue it would be good to hear your ideas and discuss them.
ok let me explain. First of all i m review the implementation of get_keepbits. Understand its expected input, output, and the logic that leads to the computation of the return value after that Check the input being fed into get_keepbits. Ensure that the .grib datasets are formatted correctly and do not contain any corrupted or unexpected values and then ensure that all variables used in the calculations are of the correct data type. Sometimes, implicit type conversions can lead to unexpected negative values and tracing the calculation which help us to identify where the negative entity is originating. and many more things which use to sortout bug.If you are satisfy by my Point of view , then assign me this issue.
0.1.dev587+g10a08dd
3.9.18
Description
Was trying the xbitinfo and following the tutorial presented and when compressing the
.grib
datasets it seems that the compression fails as theget_keepbits
function returns negative values.What I Did