Skip to content

Commit

Permalink
Merge pull request #187 from TabeaW/fix_save_as_int
Browse files Browse the repository at this point in the history
Fix stack save_as_ int
  • Loading branch information
remi-braun authored Nov 26, 2024
2 parents b94b660 + 55d98fc commit f9d3e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Release History

## 0.21.8 (2024-mm-dd)
- FIX: Fix stack save_as_int to use updated int values
- ENH: Add a new type (`BandsType`) for list of BandType
- FIX: Fixed PAZ Product Regex to properly indentify PAZ ST products as `PAZProduct` @guillemc23
- FIX: Remove useless `_norm_diff` function `indices.py`
Expand Down
2 changes: 1 addition & 1 deletion eoreader/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def stack(
"Band not in reflectance, keeping them as is (the values will be rounded)"
)
else:
band_xda = band_xda * scale
band_xds[band] = band_xda * scale

# Fill no data
band_xds = band_xds.fillna(nodata)
Expand Down

0 comments on commit f9d3e1a

Please sign in to comment.