Skip to content

Commit 5b8a07c

Browse files
committed
Fixed weird bug causing unit test failure, updated Changelog and docker service version
1 parent 9141c17 commit 5b8a07c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Changelog](http://keepachangelog.com/en/1.0.0/).
1111
* GitHub release notes for HyBIG will now include the commit history for that
1212
release.
1313

14+
## [v2.4.2] - Unreleased
15+
16+
### Changed
17+
18+
* Dynamically determine nodata index based on where it is supplied in the remote/embedded color table for a product.
19+
1420
## [v2.4.1] - 2025-06-23
1521

1622
### Changed

docker/service_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.2

hybig/browse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def scale_grey_1band(data_array: DataArray) -> tuple[ndarray, ColorMap]:
312312
normalized_data = norm(band) * 254.0
313313

314314
# Set any missing to missing
315-
normalized_data[np.isnan(normalized_data)] = DST_NODATA
315+
normalized_data[np.isnan(normalized_data)] = NODATA_IDX
316316

317317
grey_colormap = greyscale_colormap()
318318
raster_data = np.expand_dims(np.round(normalized_data).data, 0)

0 commit comments

Comments
 (0)