diff --git a/pygmtsar/pygmtsar/Stack_align.py b/pygmtsar/pygmtsar/Stack_align.py index 2c4c0ac5..eabc3022 100644 --- a/pygmtsar/pygmtsar/Stack_align.py +++ b/pygmtsar/pygmtsar/Stack_align.py @@ -41,6 +41,7 @@ def _offset2shift(self, xyz, rmax, amax, method='linear'): azis = np.arange(4/2, amax+4/2, 4) grid_r, grid_a = np.meshgrid(rngs, azis) + # crashes in Docker containers on Türkiye Earthquakes for scipy=1.12.0 grid = griddata((xyz[:,0], xyz[:,1]), xyz[:,2], (grid_r, grid_a), method=method) da = xr.DataArray(np.flipud(grid), coords={'y': azis, 'x': rngs}, name='z') return da diff --git a/pygmtsar/setup.py b/pygmtsar/setup.py index 80b48e19..06c2c9d5 100644 --- a/pygmtsar/setup.py +++ b/pygmtsar/setup.py @@ -50,7 +50,7 @@ def get_version(): 'dask_image', 'joblib', 'tqdm', - 'scipy>=1.12.0', + 'scipy==1.11.4', 'shapely>=2.0.2', 'scikit-learn', 'xmltodict',