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

Convert gribapi to eccodes #325

Merged
merged 6 commits into from
Mar 29, 2023

Conversation

s-boardman
Copy link
Contributor

@s-boardman s-boardman commented Mar 16, 2023

The gribapi has been deprecated for a little while now and replaced by eccodes. There's a bit of guidance around the migration but its pretty much a find/replace of gribapi -> eccodes and grib_ -> codes_.

I've run the tests with the current version of iris-test-data and everything now passes.

There are a couple of references to early versions gribapi not handling certain use cases, but at the moment I've been unable to work out if they can be removed.

@s-boardman s-boardman marked this pull request as ready for review March 16, 2023 16:54
@lbdreyer lbdreyer self-assigned this Mar 22, 2023
Copy link
Member

@lbdreyer lbdreyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this @s-boardman !

This has been on our to do list as I think it has confused developers who were unsure why we using gribapi when it had been deprecated!

Could you address the points I have raised below?

iris_grib/_save_rules.py Outdated Show resolved Hide resolved
Copy link
Member

@lbdreyer lbdreyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks @s-boardman !

@lbdreyer lbdreyer merged commit 32e9eef into SciTools:main Mar 29, 2023
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

Successfully merging this pull request may close these issues.

2 participants