Skip to content

Commit

Permalink
Added a test to ensure nan is replaced with 255 at level3
Browse files Browse the repository at this point in the history
  • Loading branch information
tebadi committed Nov 1, 2024
1 parent a0a92c5 commit ff6cd4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_lc_level3.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def image_groups():
[110, 110, 210],
[124, 110, 210],
[221, 210, 210],
[223, 255, 223],
[223, np.nan, 223],
]
],
dtype="uint8",
dtype="float32",
)

urban = np.array(
Expand All @@ -48,10 +48,10 @@ def image_groups():
[111, 112, 255],
[255, 112, 255],
[255, 255, 255],
[255, 255, 255],
[255, np.nan, np.nan],
]
],
dtype="uint8",
dtype="float32",
)

tuples = [
Expand Down

0 comments on commit ff6cd4e

Please sign in to comment.