Skip to content

Manipulate an SLC stack as an Xarray

The loaded stack can be manipulated as an Xarray.Dataset instance.

Slice the SLC stack in 3D:

stack.isel(azimuth=range(1000,2000), range=range(1500,2500), time=range(2,5))

Select the amplitude attribute

amp = stack['amplitude']

Compute stack and persist in memory:

stack = stack.compute()