-
Notifications
You must be signed in to change notification settings - Fork 394
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
addcyclic slicer IndexError #555
Comments
Hi @fragkoul! Thanks for your support and for reporting the issue. I may have some time around Friday to check it properly, but you are very likely right, and your solution is the correct one. I remember seeing around this If you want to try out, feel also free to provide a pull request with this change and I will accept it. If you have a simple minimal example, it would also be very nice, since I would like to start adding some basic tests to the repository based on the bugs found by the users. If you do not have time, do not worry, I will come back to it on Friday. |
@fragkoul Sorry for the late feedback, I was busier than expected. I checked three example scripts from the When the pipelines pass, I will prepare a hotfix release 1.3.5 with the bugfix. I would also like to include in this hotfix the issue #522 because it is a very problematic one, so it might take me some days until I tag it (but hopefully soon). |
The patch is merged into the |
The bugfix is already available in the latest |
First of all, kudos to @molinav for keeping basemap alive. I still find it nicer than Cartopy.
Earlier python versions give a FutureWarning and newer python versions an IndexError on the output of the addcyclic function:
version 1.3.4, line 5098: npsel.concatenate((a,a[slicer]),axis=axis)
I suppose this needs to change to:
npsel.concatenate((a,a[tuple(slicer)]),axis=axis) ?
The text was updated successfully, but these errors were encountered: