Skip to content

Commit

Permalink
Add missed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Aug 31, 2024
1 parent 54ce434 commit 192a4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pygmtsar/pygmtsar/Stack_phasediff.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ def phasediff(self, pairs, data='auto', topo='auto', phase=None, method='nearest
import dask.array as da
import xarray as xr
import numpy as np
import pandas as pd

if debug:
print ('DEBUG: phasediff')
Expand All @@ -472,7 +473,7 @@ def phasediff(self, pairs, data='auto', topo='auto', phase=None, method='nearest
phase_topo = topo
else:
# use zero topography grid
notopo = xr.DataArray(dask.array.zeros_like(data[0], dtype=np.float32), coords=data[0].coords)
notopo = xr.DataArray(da.zeros_like(data[0], dtype=np.float32), coords=data[0].coords)
phase_topo = self.topo_phase(pairs, notopo, method=method)
del notopo

Expand Down
2 changes: 1 addition & 1 deletion pygmtsar/pygmtsar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Licensed under the BSD 3-Clause License (see LICENSE for details)
# ----------------------------------------------------------------------------
__version__ = '2024.8.30.post1'
__version__ = '2024.8.30.post3'

# unified progress indicators
from .tqdm_joblib import tqdm_joblib
Expand Down

0 comments on commit 192a4f0

Please sign in to comment.