-
Notifications
You must be signed in to change notification settings - Fork 279
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
Bug (with fix?) in month name stitching for aggregate_by() #1183
Comments
@niallrobinson - I can't reproduce this. My code is:
Have I missed a key part to this? What version are you using? |
Scrap that. I've just added another coordinate ( |
Fixed by #1208. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a bug in a special case of aggregated_by. Here seems to be an example case:
If you aggregate_by season on a cube where there are text month coordinates and the cube only covers one season, then iris fails when it stitches the component month names together as there is only one _slices_by_key and so the iterate fails.
Which disappears as soon as you do this
or this
This might be fixed merely by changing the code to this:
The text was updated successfully, but these errors were encountered: