Skip to content

Commit

Permalink
Fix CI test following the recent code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Aug 2, 2023
1 parent 3e6fb1e commit 33870f8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/S1A_Stack_CPGF_T173.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,14 @@
# validmask = phasefilts.min('pair')
# phasefilts_ll = sbas.open_grids(pairs, 'phasefilt', geocode=True)
# Detrending
sbas.detrend_parallel(pairs, wavelength=12000)
#sbas.detrend_parallel(pairs, wavelength=12000)
unwrap = sbas.open_grids(pairs, 'unwrap')
detrend = unwrap - sbas.gaussian_parallel(unwrap, wavelength=12000, interactive=True)
sbas.save_model(detrend.rename('detrend'), caption='Gaussian Band-Pass filtering')
# output
print (sbas.open_grids(pairs, 'detrend'))
print (sbas.open_model('detrend'))
# PyGMTSAR SBAS Displacement
detrend = sbas.open_grids(pairs, 'detrend')
detrend = sbas.open_model('detrend')
corr = sbas.open_grids(pairs, 'corr')
sbas.lstsq_parallel(data=detrend, weight=corr)

Expand Down Expand Up @@ -233,7 +236,7 @@ def interp(da):
fg.fig.savefig('LOS Displacement in Geographic Coordinates, [mm].jpg', dpi=300, pil_kwargs={"quality": 95})

# PyGMTSAR SBAS Displacement
detrend = sbas.open_grids(pairs, 'detrend')
detrend = sbas.open_model('detrend')
zmin, zmax = np.nanquantile(detrend, [0.01, 0.99])
fg = detrend.plot.imshow(
col="pair",
Expand Down

0 comments on commit 33870f8

Please sign in to comment.