Skip to content

Commit

Permalink
Changed compress_uint8 hardcoded values to comply with openeo backend
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinBabe committed Jun 20, 2024
1 parent c6e35df commit 8eede68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openeo_gfmap/preprocessing/scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def compress_uint8(
cube : openeo.DataCube
The datacube with the data linearly scaled and compressed to uint8 and rescaled frome.
"""
return _compress(cube, 0, 254, alpha, beta)
return _compress(cube, 0, 253, alpha, beta)

0 comments on commit 8eede68

Please sign in to comment.