Skip to content

Commit

Permalink
Only remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Jul 28, 2023
1 parent cbaba46 commit 3ebd29c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pygmtsar/pygmtsar/SBAS_geocode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion pygmtsar/pygmtsar/SBAS_topo_ra.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3ebd29c

Please sign in to comment.