diff --git a/examples/scripts/script_reslc.py b/examples/scripts/script_reslc.py index d5ac2c5..e95cd9d 100644 --- a/examples/scripts/script_reslc.py +++ b/examples/scripts/script_reslc.py @@ -131,7 +131,10 @@ def get_free_port(): ifgs['time'] = [datetime.strptime(file.parts[-2], '%Y%m%d') for file in f_ifgs] # Add time coords to ifgs # Lazy loading mother SLC - mother = sarxarray.from_binary([f_mother_slc], shape, dtype=dtype_slc_ifg, chunks=reading_chunks) # Load mother SLC + mother = sarxarray.from_binary([f_mother_slc], + shape, + dtype=dtype_slc_ifg, + chunks=reading_chunks) # Load mother SLC # Construct a dummy h2ph with zeros and assign to mother mother_h2ph = mother['amplitude'].copy() mother_h2ph.data = da.zeros(mother_h2ph.shape, dtype=np.float32)