Skip to content

Commit

Permalink
multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerkuou committed Oct 21, 2024
1 parent 0a300be commit 9931838
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/scripts/script_reslc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9931838

Please sign in to comment.