Commit 22d9b8b8 authored by Jan Klaus Rieck's avatar Jan Klaus Rieck

test pipe

parent b703b58d
Pipeline #3643 failed with stage
in 1 minute and 41 seconds
......@@ -344,9 +344,9 @@ def test_depthave(ds_in):
""" Test depthave().
"""
ds_box = xbox.getbox(ds_in, time=['2000-01-01', '2000-06-30'],
depth=[500, 1000], x=[10, 20], y=[10, 20])
ds_d_ave = xbox.depthave(ds_box)[0]
ds_a = xbox.getbox(ds_in, time=['2000-01-01', '2000-06-30'],
depth=[500, 1000], x=[10, 20], y=[10, 20])
ds_d_ave = xbox.depthave(ds_a)[0]
assert 'z_c' and 'z_l' not in ds_d_ave.dims,\
'depth averaging failed'
......@@ -365,9 +365,9 @@ def test_depthsum(ds_in):
""" Test depthsum().
"""
ds_box = xbox.getbox(ds_in, time=['2000-01-01', '2000-06-30'],
depth=[500, 1000], x=[10, 20], y=[10, 20])
ds_d_sum = xbox.depthsum(ds_box)[0]
ds_s = xbox.getbox(ds_in, time=['2000-01-01', '2000-06-30'],
depth=[500, 1000], x=[10, 20], y=[10, 20])
ds_d_sum = xbox.depthsum(ds_s)[0]
assert 'z_c' and 'z_l' not in ds_d_sum.dims,\
'depth summing failed'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment