Skip to content

Commit

Permalink
DAS-2276: reword comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingbear committed Dec 17, 2024
1 parent 3864f03 commit 8d8968c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hybig/browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d8968c

Please sign in to comment.