Skip to content

Commit

Permalink
Run tests with single process
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Jan 14, 2024
1 parent 6bdb7bf commit 301c134
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_img2ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_img2ts_nonortho_daily_no_resampling():

img2ts = Img2Ts(ds_in,
outputpath, start, end, imgbuffer=10,
input_grid=input_grid, n_proc=2)
input_grid=input_grid, n_proc=1)
img2ts.calc()

ts_should_base = pd.date_range(start, end, freq='D')
Expand Down Expand Up @@ -198,7 +198,7 @@ def test_img2ts_ortho_daily_no_resampling():
ds_in = TestMultiTemporalImageDatasetDaily(
cls=TestOrthogonalImageDataset)
img2ts = Img2Ts(ds_in, outputpath, start, end, imgbuffer=20,
input_grid=input_grid, n_proc=4)
input_grid=input_grid, n_proc=1)

ts_should = np.concatenate([np.arange(5, 29, dtype=float),
np.arange(1, 32, dtype=float),
Expand Down Expand Up @@ -240,7 +240,7 @@ def test_img2ts_ortho_daily_resampling():
img2ts = Img2Ts(ds_in, outputpath, start, end, imgbuffer=20,
target_grid=target_grid,
input_grid=input_grid, r_neigh=4,
n_proc=2)
n_proc=1)
img2ts.calc()

ts_should = np.concatenate([np.arange(5, 29, dtype=float),
Expand Down

0 comments on commit 301c134

Please sign in to comment.