pyvista / pyvista-xarray

xarray DataArray accessors for PyVista
Apache License 2.0
101 stars 7 forks source link

Potential bug in setting axes for data array (XYZ=ZYX) #41

Open banesullivan opened 2 years ago

banesullivan commented 2 years ago

Was running into an issue with a particular DataArray where:

mesh = ds.data.pyvista.mesh(x='x', y='y', z='z')

and

mesh = ds.data.pyvista.mesh(x='z', y='y', z='x')

were yielding the same result.

This is unexpected and I think the DataArray wasn't/isn't being reorder properly

banesullivan commented 2 years ago

Need to reproduce this bug with a standard dataset