18 Aug
2011
18 Aug
'11
5:10 p.m.
Hi,
I have a field which uses data.LeftEdge, but when I try to create a slice from this, it says:
AttributeError: 'AMRSlice' object has no attribute 'LeftEdge'
Is this because the data is not 3d? I was trying valiantly to avoid having to load all that in!
Yup, LeftEdge is only defined for grids and grid-like objects. Perhaps there's a better way to get at the information you need? There are spatial fields like x,y,z and so on.
-Matt
Yep - I can work with those. Thanks for the suggestion. Elizabeth