Skip to content

Commit

Permalink
included self.core_data().shape when shape is none, for Coord cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ESadek-MO committed Dec 23, 2024
1 parent 0ceed69 commit 8bddec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/_data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def ndim(self):
@property
def shape(self):
"""The shape of the data being managed."""
return self._shape
return self._shape if self._shape else self.core_data().shape

def is_dataless(self) -> bool:
"""Determine whether the cube has no data.
Expand Down

0 comments on commit 8bddec7

Please sign in to comment.