diff --git a/hls_vi/generate_indices.py b/hls_vi/generate_indices.py index 2addffe..1b575bf 100644 --- a/hls_vi/generate_indices.py +++ b/hls_vi/generate_indices.py @@ -250,6 +250,8 @@ def write_granule_index( transform=granule.transform, nodata=data.fill_value, ) as dst: + dst.offsets = (0.0,) + dst.scales = (index.scale_factor,) dst.write(data.filled(), 1) dst.update_tags( **granule.tags,