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

Questions: Python >=3.10 dependency #37

Closed
kobebryant432 opened this issue Apr 17, 2024 · 4 comments
Closed

Questions: Python >=3.10 dependency #37

kobebryant432 opened this issue Apr 17, 2024 · 4 comments

Comments

@kobebryant432
Copy link

Is it possible to include python 3.9 or is there a specific reason why it is excluded?

I was also wondering if it is the ambition for this to become part of xarray eventually?

@BSchilperoort
Copy link
Contributor

Hi Kobe, thanks for your questions.

It might be possible that the package could work on python 3.9 with some minor changes, but as numpy and xarray stopped supporting 3.9 for new versions I would prefer to not put time into that now (more info here, xarray follows this system as well).

I would be open to (parts) of this package being merged into xarray itself, however there are a lot of geo-data specific things happening here (for example weighing data by latitude in the conservative regridder).
Additionally, the linear/nearest-neighbor/cubic methods are mostly a wrapper around xarray's interp method. This package makes those easier to use in a regridding context.

Moving this repository to https://github.com/xarray-contrib could be nice though.

@kobebryant432
Copy link
Author

Thanks for the quick response Bart.
Understandable that you prefer not to do additional work for older versions - guess it may be time for me to start using python 3.10.

Indeed https://github.com/xarray-contrib looks like a good place for this!

In any case I think this lightweight regridding in python is very usefull. I will try to use it in my current project and might (no promises) have some time to contribute here.

@jhamman
Copy link

jhamman commented Apr 18, 2024

Is it possible to include python 3.9 or is there a specific reason why it is excluded?

Noting that Xarray is currently dropping support for python 3.9: pydata/xarray#8937

Moving this repository to https://github.com/xarray-contrib could be nice though.

Xarray dev here. Happy to help make this happen if you are up for it. Guidelines are here when you want to move forward on this.

@BSchilperoort
Copy link
Contributor

Move to xarray-contrib has been initiated!

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

3 participants