Skip to content

Commit a7b1254

Browse files
Merge pull request #368 from Anto6453/FixShapeError
BUG: fix reading native grid coordinates for idefix 2.2 vtk files
2 parents 89d9471 + 0319e27 commit a7b1254

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/yt_idefix/_io/vtk_io.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ def warn_invalid(arr):
234234
if "native_coordinates" in md:
235235
nc = md["native_coordinates"]
236236
return Coordinates(
237-
nc["X1C_NATIVE_COORDINATES"],
238-
nc["X2C_NATIVE_COORDINATES"],
239-
nc["X3C_NATIVE_COORDINATES"],
237+
nc["X1L_NATIVE_COORDINATES"],
238+
nc["X2L_NATIVE_COORDINATES"],
239+
nc["X3L_NATIVE_COORDINATES"],
240240
array_shape,
241241
)
242242
else:

0 commit comments

Comments
 (0)