Skip to content

Commit

Permalink
Update xarray/backends/h5netcdf_.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer authored Sep 17, 2024
1 parent 7845e81 commit 391f085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/h5netcdf_.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def prepare_variable(
if dtype is str:
dtype = h5py.special_dtype(vlen=str)

# check enum metadata and use netCDF4.EnumType
# check enum metadata and use h5netcdf.core.EnumType
if (
(meta := np.dtype(dtype).metadata)
and (e_name := meta.get("enum_name"))
Expand Down

0 comments on commit 391f085

Please sign in to comment.