Skip to content

Commit 17be303

Browse files
committed
Fix: Sentinel-3 images are now actually read
1 parent 95e6e4d commit 17be303

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

efast/efast.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ def fusion(
169169
)
170170

171171
lr_values = np.zeros((len(t_s3), bands, lr_profile["height"], lr_profile["width"]))
172+
for i, lr_path in enumerate(lr_paths):
173+
with rasterio.open(lr_path) as src:
174+
lr_values[i, :, :, :] = src.read(window=lr_window)
172175

173176
# Prepare low-resolution rasters
174177
lr_i = np.nan * np.zeros(

0 commit comments

Comments
 (0)