From b17829345f8d9b94c8a1d656cbfe11b33c0c05db Mon Sep 17 00:00:00 2001 From: Stephen Moseley Date: Thu, 7 Sep 2023 17:43:02 +0100 Subject: [PATCH] Sphinx --- improver/nbhood/nbhood.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/improver/nbhood/nbhood.py b/improver/nbhood/nbhood.py index 6b5c96ac13..f859583ac2 100644 --- a/improver/nbhood/nbhood.py +++ b/improver/nbhood/nbhood.py @@ -337,9 +337,9 @@ def _do_nbhood_sum( ) -> np.ndarray: """Calculate the sum-in-area from an array. As this can be expensive, the method first checks for the extreme cases where the data are: - - All zeros (result will be all zeros too) - - All ones (result will be max_extreme, if supplied) - - Contains outer rows / columns that are completely zero or completely one, these + All zeros (result will be all zeros too) + All ones (result will be max_extreme, if supplied) + Contains outer rows / columns that are completely zero or completely one, these rows and columns are trimmed before calculating the area sum and their contents will be as for the appropriate all case above.