We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55764a3 commit 4641d5dCopy full SHA for 4641d5d
xarray/coding/variables.py
@@ -125,7 +125,7 @@ def _apply_mask(
125
dtype: np.typing.DTypeLike | None,
126
) -> np.ndarray:
127
"""Mask all matching values in a NumPy arrays."""
128
- data = np.asarray(data, dtype=dtype, copy=True)
+ data = np.array(data, dtype=dtype, copy=True)
129
if encoded_fill_values:
130
condition = False
131
for fv in encoded_fill_values:
0 commit comments