diff --git a/examples/scripts/script_ps_selection.py b/examples/scripts/script_ps_selection.py index f05af0d..90a5d45 100644 --- a/examples/scripts/script_ps_selection.py +++ b/examples/scripts/script_ps_selection.py @@ -103,7 +103,7 @@ def get_free_port(): ds = xr.open_zarr(path_slc_zarr) # Load the zarr file as a xr.Dataset # Construct SLCs from xr.Dataset # this construct three datavariables: complex, amplitude, and phase - slcs = sarxarray.from_ds(slcs) + slcs = sarxarray.from_dataset(slcs) # A rechunk might be needed to make a optimal usage of the resources # Uncomment the following line to apply a rechunk after loading the data