We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f3324 commit 22c6e6bCopy full SHA for 22c6e6b
1 file changed
sarxarray/_io.py
@@ -45,7 +45,7 @@ def from_dataset(ds: xr.Dataset) -> xr.Dataset:
45
The input dataset should have the following variables: `('real', 'imag')`.
46
"""
47
# Check ds should have the following dimensions: (azimuth, range, time)
48
- if any(dim not in list(ds.sizes) for dim in ["azimuth", "range", "time"]):
+ if any(dim not in ds.sizes for dim in ["azimuth", "range", "time"]):
49
raise ValueError(
50
"The input dataset should have three dimensions: (azimuth, range, time)."
51
)
0 commit comments