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 1cb44e7 commit f2c1f30Copy full SHA for f2c1f30
lib/iris/_merge.py
@@ -1261,14 +1261,8 @@ def merge(self, unique=True):
1261
some_are_dataless = True
1262
else:
1263
# We have (at least one) array content : Record the shape+dtype
1264
- if part_shape is None:
1265
- part_shape = data.shape
1266
- part_dtype = data.dtype
1267
- else:
1268
- # We expect that the "parts" should **all be the same**
1269
- assert data.shape == part_shape
1270
- assert data.dtype == part_dtype
1271
-
+ part_shape = data.shape
+ part_dtype = data.dtype
1272
# ensure lazy (we make the result real, later, if all were real)
1273
if is_lazy_data(data):
1274
all_have_real_data = False
0 commit comments