Skip to content

Commit

Permalink
changed sign for offset from +0.1 to -0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasValentin committed Dec 1, 2023
1 parent c9a32a0 commit 4b175c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eodal/core/sensors/sentinel2.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _get_gain_and_offset(in_dir: Union[str, Path]) -> Tuple[Number, Number]:
# actual reflectance factor values.
s2_offset = 0
if baseline >= 400:
s2_offset = 0.1
s2_offset = -0.1
return (s2_gain_factor, s2_offset)

@staticmethod
Expand Down

0 comments on commit 4b175c3

Please sign in to comment.