Skip to content

Commit bb37d85

Browse files
committed
updates to notebook
1 parent 883283d commit bb37d85

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

uxarray/core/dataarray.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ def zonal_mean(self, lat=(-90, 90, 10), conservative: bool = False, **kwargs):
571571
if step < 0.1:
572572
warnings.warn(
573573
f"Very small step size ({step}°) may lead to performance issues...",
574-
UserWarning, stacklevel=2
574+
UserWarning,
575+
stacklevel=2,
575576
)
576577
num_points = int(round((end - start) / step)) + 1
577578
latitudes = np.linspace(start, end, num_points)
@@ -618,7 +619,8 @@ def zonal_mean(self, lat=(-90, 90, 10), conservative: bool = False, **kwargs):
618619
if step < 0.1:
619620
warnings.warn(
620621
f"Very small step size ({step}°) may lead to performance issues...",
621-
UserWarning, stacklevel=2
622+
UserWarning,
623+
stacklevel=2,
622624
)
623625
num_points = int(round((end - start) / step)) + 1
624626
edges = np.linspace(start, end, num_points)

0 commit comments

Comments
 (0)