-
Notifications
You must be signed in to change notification settings - Fork 43
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
Remove obsolete workarounds. #410
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_save_rules
also defines fixup_int32_as_int32
and fixup_int32_as_uint32
, should these also be removed likefixup_float32_from_int32
? Their docstring also mentions how they are a workaround, is this for the same issue?
Thanks @stephenworsley |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, there's a couple comments which ought to be removed and this should be good to go.
Thanks @stephenworsley good spots ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Thanks @stephenworsley ! |
Closes #239
I'm happy that none of these workarounds are now needed, as all fixed in eccodes. Long ago, I think.
This passes existing tests, but there is no effective testing of the relevant code.
What I have done is a roundtrip test : that at least does seem to work :