Skip to content

Commit 4c3c4fd

Browse files
popododo0720TomNicholasmaxrjones
authored
Remove unnecessary dtype conversion in icechunk writer (#760)
Co-authored-by: Tom Nicholas <[email protected]> Co-authored-by: Max Jones <[email protected]>
1 parent 8f97788 commit 4c3c4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualizarr/writers/icechunk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def write_virtual_variable_to_icechunk(
419419
name=name,
420420
shape=metadata.shape,
421421
chunks=metadata.chunks,
422-
dtype=metadata.data_type.to_native_dtype(),
422+
dtype=metadata.data_type,
423423
filters=filters,
424424
compressors=compressors,
425425
serializer=serializer,

0 commit comments

Comments
 (0)