Skip to content

Commit d6e7f1b

Browse files
committed
bounds can be None
1 parent 3e4cb4d commit d6e7f1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/coords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ def points(self, points):
15911591
self._values = points
15921592

15931593
@property
1594-
def bounds(self) -> RealData:
1594+
def bounds(self) -> Optional[RealData]:
15951595
"""Coordinate bounds values.
15961596
15971597
The coordinate bounds values, as a NumPy array,
@@ -1727,7 +1727,7 @@ def core_points(self) -> RealOrLazyData:
17271727
"""Core points array at the core of this coord, which may be a NumPy array or a dask array."""
17281728
return super()._core_values()
17291729

1730-
def core_bounds(self) -> RealOrLazyData:
1730+
def core_bounds(self) -> Optional[RealOrLazyData]:
17311731
"""Core bounds. The points array at the core of this coord, which may be a NumPy array or a dask array."""
17321732
result = None
17331733
if self.has_bounds():

0 commit comments

Comments
 (0)