Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

### Bug fixes

- Fix handling of scalar Zarr V3 arrays with None dimension_names.
([#897](https://github.com/zarr-developers/VirtualiZarr/pull/897)).
By [Lars Buntemeyer](https://github.com/larsbuntemeyer).
- Fix setting `fill_value` for Zarr V2 arrays if data type is a subtype of integer or float.
([#845](https://github.com/zarr-developers/VirtualiZarr/pull/845)).
By [Hauke Schulz](https://github.com/observingClouds).
Expand Down
2 changes: 1 addition & 1 deletion virtualizarr/manifests/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def to_virtual_variable(self) -> xr.Variable:

# The xarray data model stores dimension names and arbitrary extra metadata outside of the wrapped array class,
# so to avoid that information being duplicated we strip it from the ManifestArray before wrapping it.
dims = self.metadata.dimension_names
dims = self.metadata.dimension_names or ()
attrs = self.metadata.attributes
stripped_metadata = utils.copy_and_replace_metadata(
self.metadata, new_dimension_names=None, new_attributes={}
Expand Down
Loading