diff --git a/pygmtsar/pygmtsar/SBAS_geocode.py b/pygmtsar/pygmtsar/SBAS_geocode.py index e620fcf9..9a02009f 100644 --- a/pygmtsar/pygmtsar/SBAS_geocode.py +++ b/pygmtsar/pygmtsar/SBAS_geocode.py @@ -101,7 +101,7 @@ def intf_ra2ll_matrix_parallel(self, pairs=None, chunksize=None, interactive=Fal encoding=encoding, engine=self.engine, compute=False) - pbar = tqdm_dask(dask.persist(handler), desc='Build ra2ll Transform') + tqdm_dask(dask.persist(handler), desc='Build ra2ll Transform') # cleanup - sometimes writing NetCDF handlers are not closed immediately and block reading access import gc; gc.collect() @@ -357,7 +357,7 @@ def intf_block_inv(intf_block): encoding=encoding, engine=self.engine, compute=False) - pbar = tqdm_dask(dask.persist(handler), desc='Build ll2ra Transform') + tqdm_dask(dask.persist(handler), desc='Build ll2ra Transform') # cleanup - sometimes writing NetCDF handlers are not closed immediately and block reading access import gc; gc.collect() diff --git a/pygmtsar/pygmtsar/SBAS_topo_ra.py b/pygmtsar/pygmtsar/SBAS_topo_ra.py index eee8fdf8..b423bf5e 100644 --- a/pygmtsar/pygmtsar/SBAS_topo_ra.py +++ b/pygmtsar/pygmtsar/SBAS_topo_ra.py @@ -90,7 +90,7 @@ def topo_ra_parallel(self, coarsen=4, interactive=False, **kwargs): for subswath in subswaths: delayed = self.topo_ra(subswath=subswath, interactive=interactive, **kwargs) if not interactive: - pbar = tqdm_dask(dask.persist(delayed), desc=f'Radar Topography Computing sw{subswath}') + tqdm_dask(dask.persist(delayed), desc=f'Radar Topography Computing sw{subswath}') else: delayeds.append(delayed)