Niall Robinson
unread,Dec 11, 2012, 10:45:42 AM12/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scitoo...@googlegroups.com
Hello again AVD,
I have a bunch of results that I would like to save. I suppose it would be nice if these were cubes, so that all the metadata is nicely tied into the data. I see from the Iris help file that iris.cube.Cube can be used to make a new cube, but that the help file says that this shouldn't normally be required. As you may know from reading all my other questions, I have been loading a lot of cubes from various different pp files and calculating statistics for each one in turn. What I have now is some x, y pair arrays, for instance, RMS error and a corresponding time array. What is the most efficient way for me to convert this to a RMS cube, which I can the plot and save using the iris commands?
I suspect part of the point of iris is that, if you are doing things properly, you will never end up with arrays of data, but rather you will have collapsed cubes. Would you suggest I try and adapt my code so that I never start working with arrays, or should I construct some new cubes?
Thanks again
Niall
p.s. I'm aware I've been working AVD pretty hard with the pp metedata thing, so no hurry. This is just the cherry on the analysis cake.