Skip to content

Commit

Permalink
DOC: Update warning message for differing scales in rasterio attribut…
Browse files Browse the repository at this point in the history
…es (#834)
  • Loading branch information
dzanaga authored Nov 21, 2024
1 parent daf882c commit 6334ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rioxarray/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def _get_rasterio_attrs(riods: RasterioReader):
if len(set(riods.scales)) > 1:
attrs["scales"] = riods.scales
warnings.warn(
"Offsets differ across bands. The 'scale_factor' attribute will "
"Scales differ across bands. The 'scale_factor' attribute will "
"not be added. See the 'scales' attribute."
)
else:
Expand Down

0 comments on commit 6334ca0

Please sign in to comment.