Oops, sorry -- ignore that.
ValidateSpatial ensures the data is 3d, so it's fine. I forgot.
On 27 June 2012 15:36, Elizabeth Tasker email@example.com wrote:
Is the field such as DivV
(or any field that uses the scheme
sl_left = slice(None,-2,None) sl_right = slice(1,-1,None)
f = data["x-velocity"][sl_right,1:-1,1:-1]/ds f -= data["x-velocity"][sl_left ,1:-1,1:-1]/ds
to average between adjoining cells)
valid for objects such as regions, where the cells might not necessarily be adjoining?
I'm thinking no...