From 8d8968c57c5f4017a287bd1524d8c7fd0de308ac Mon Sep 17 00:00:00 2001 From: Matt Savoie Date: Tue, 17 Dec 2024 15:46:16 -0700 Subject: [PATCH] DAS-2276: reword comment. --- hybig/browse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hybig/browse.py b/hybig/browse.py index 89d9256..b709955 100644 --- a/hybig/browse.py +++ b/hybig/browse.py @@ -252,9 +252,9 @@ def convert_mulitband_to_raster(data_array: DataArray) -> ndarray[uint8]: def convert_to_uint8(bands: ndarray, dtype: str | None) -> ndarray[uint8]: """Convert Banded data with NaNs (missing) into a uint8 data cube. - 99.99% of the time this will simply pass through the data coercing it back - into unsigned ints and setting the missing values to 0 that will be masked - as transparent in the output png. + Nearly all of the time this will simply pass through the data coercing it + back into unsigned ints and setting the missing values to 0 that will be + masked as transparent in the output png. There is a some small non-zero chance that the input RGB image was 16-bit and if any of the values exceed 255, we must normalize all of input data to