Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Jul 9, 2024
1 parent 1a15521 commit 0be9f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eodatasets3/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def write_from_ndarray(
}
# Ensure 'nan' is always tagged as nodata for floating point types
if nodata is None:
nodata = float("nan") if numpy.issubdtype(img.dtype, numpy.floating) else 0
nodata = float("nan") if numpy.issubdtype(array.dtype, numpy.floating) else 0

if nodata is not None:
rio_args["nodata"] = nodata
Expand Down

0 comments on commit 0be9f8b

Please # to comment.