Skip to content

Commit

Permalink
Merge branch 'main' into iso-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer authored Dec 30, 2024
2 parents 8a4d1af + 33bf5e8 commit 2224486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ def check_name(name: Hashable):
raise ValueError(
f"Invalid name {name!r} for DataArray or Dataset key: "
"string must be length 1 or greater for "
"serialization to netCDF files"
"serialization to netCDF or zarr files"
)
elif name is not None:
raise TypeError(
f"Invalid name {name!r} for DataArray or Dataset key: "
"must be either a string or None for serialization to netCDF "
"files"
"or zarr files"
)

for k in dataset.variables:
Expand Down

0 comments on commit 2224486

Please sign in to comment.