Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel concatenate #5926

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Undo unnessary change
  • Loading branch information
bouweandela committed May 15, 2024
commit add3f66dfc49aff91587906cb634edec2c1fe9be
4 changes: 3 additions & 1 deletion lib/iris/_lazy_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ def is_lazy_data(data):
"""Return whether the argument is an Iris 'lazy' data array.

At present, this means simply a :class:`dask.array.Array`.
We determine this by checking for a "compute" property.

"""
return isinstance(data, da.Array)
result = hasattr(data, "compute")
return result


def is_masked_data(data: np.ndarray | da.Array) -> bool:
Expand Down