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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maths operations on cubes with unstructured grid cause a TypeError in resolve() #4454
Comments
Hey @dennissergeev, Great to hear from you! Thanks for taking the time to raise this issue... which means that you're also using the We're at the odd point where we've extended the We've started that journey so that you can at least load and save UGRID, which is reasonably robust now, added a We're keen for people to play with the experimental UGRID support and feedback, which is priceless, so thank-you! 馃嵒 Frustratingly for you, our UGRID support isn't mature enough for your workflow (yet), but your issue is a great reminder to @SciTools/iris-devs that we at least need some minimal and clear documentation for UGRID, targeting I know this probably isn't quite the answer that you wanted, but your feedback will most certainly help us priortise how we turn on UGRID capability rolling forwards. So at this stage, it's pretty much caveat emptor with regards to UGRID, hence the "experimental" title, but don't let that stop you kicking the tyres and feeding back - we really, really do welcome it 馃憤 Does that help for now? |
That said, I'm going to start a I'll also start a UGRID GH Discussions thread as a place for the community to huddle and share on this specific theme. |
Pinging @schlunma since he is interested in unstructured grids. |
We now have a new UGRID GH Discussions category and UGRID GH Project 馃帀 Hopefully this might help us manage and curate all/most things UGRID related... let's see how we roll. |
Thanks for the extensive answer @bjlittle! I understand this is an experimental interface and everything is super new, so I am not complaining. I am actually quite impressed that iris allows for working with UGRID at all - it has certainly made my first steps in analysing LFRic data much easier. I'll keep an eye on the UGRID GH project, and if any low-hanging fruit issues, I'll try to contribute. |
Thanks for your understanding @dennissergeev ... it's super early days for UGRID support within The timeline of when that all happens is a bit vague at the moment, but I know that we're super keen to keep momentum on this effort, as its benefit to the community is a pretty big win. |
Looks like #4651 will fix this. |
We believe this was fixed in v3.3, please reopen if this is still a problem. @SciTools/peloton |
馃悰 Bug Report
I am using the dev version of iris to work with unstructured grids (LFRic output). The issue I am having is that all maths operations seem to be broken: a
TypeError
is raised when the maths operation callsresolver.cube()
, which in turn invokes thecontainer()
method on an auxiliary coordinate with an unexpected keywordbounds
(see the full message below). This happens even if the RHS and LHS cubes are the same cube, but it doesn't happen if operations are unary, such as raising the cube to the power.How To Reproduce
Steps to reproduce the behaviour:
This results in "TypeError: __init__() got an unexpected keyword argument 'bounds'"
Expected behaviour
The expected behaviour is obviously that the maths works :)
Environment
The text was updated successfully, but these errors were encountered: