Skip to content

Commit

Permalink
ready for checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Dec 3, 2024
1 parent 9ba174a commit a4ac746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcube_stac/stac_extension/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def apply_offset_scaling_odc_stac(ds: xr.Dataset, grouped_items: dict) -> xr.Dat
)
return ds

if asset_name.lower() != "scl":
if str(asset_name).lower() != "scl":
nodata_val = raster_bands[0].get("nodata")
if nodata_val is not None:
ds[asset_name][i] = ds[asset_name][i].where(
Expand Down

0 comments on commit a4ac746

Please sign in to comment.