-
Notifications
You must be signed in to change notification settings - Fork 285
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
Problem with data access from PP file loaded cubes and numpy 1.16 #3266
Comments
I have recently encountered this during work on #3255 It is specific to numpy >= 1.16, which has disallowed setting That has since been merged back to master, so latest code should solve the problem. |
awesome, cheers muchly! Can you guys pls update the conda and pypi sources so we can grab the latest code as well? Many thanks and have a good weekend 🍺 |
Hi @valeriupredoi
But as I said
So, we can't update package sources until we have completed a new version release. In the meantime, can you maybe install + use the latest code from the project ? ... Identifying + fixing installation requirements can be a little awkward.
|
@pp-mo much appreciated! The problem is that we (the ESMValTool devs and community) are using iris via the tagged release only (from the conda channel for now, but will switch to pypi: scitools-iris in the near future). We have our own environment recipe and work in production mode and only deal with source installs just in the most unfortunate case, which is definitely not how we release our tool. That's why I asked for a new release from you guys, but totally understand that such a bug would not warrant a new release 😁 In any case, the support for PP files in ESMValTool is minimal (ie close to none, just two out of many diagnostics get affected) and this will affect only a tiny bit of the tool until you guys tag a new release. BTW any indication when you guys will release a new version? Cheers muchly! |
hi @pp-mo my apologies for getting back to this - I'd like to close it so we don't clutter you guys' issues space if you could confirm that iris 2.3.0 (or whatevs you gonna call the next release) will contain the fix (also bonus if you can tell us when to expect the new tagged release 😁 ) |
Hi @valeriupredoi apologies for silence, I was trying to work out the answer (!) Not so sure about 2.3.0 just yet, but we do have a few things now that we'd like to issue in a bug release, which will be 2.2.1 Still hoping to include #3255 #3263, maybe , plus the already-done #3257 #3247 etc. Will that help you, or do you need a new minor-version ? |
hi @pp-mo - awesome, cheers for the heads up! Good luck with all those issues' inclusion, we will wait for you guys to release the new tagged version, no rush and no need for minor-version releases just for us 😁 I have just opened another issue (well, two days ago) #3269 - maybe you guys have time to look at it and get a fix in as well for 2.2.1 (sorry, am hoarding your attention while I can 😆 ) |
@valeriupredoi I'm going to close this issue so that we close of the v2.2.1 milestone. |
I have some issues when loading PP files and accessing the cube data afterwords: in iris 2.2.0 with numpy 1.16:
the offending block is:
even simpler case, using the PP file directly and just loading the cube from it:
results in the error above; note that the print statement is just for prrof of concept, of course that any operation on the data will not work either.
Copying the cube to a new one and operating on the copy doesnt help either.
The only thing that sets the behavior correct and allows me to access the data and operate on it is switching to numpy 1.15
Any ideas?
Apologies if this was raised elsewhere 😃
The text was updated successfully, but these errors were encountered: