tcall correct interpolation function from test - Granular.jl - Julia package fo… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4f2a8d61f3b916c85fb29b870fa8d52746ffae3f | |
parent 0bc36bca783b0a99abb36ce0f150be6365b033a7 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 25 Apr 2017 15:29:40 -0400 | |
call correct interpolation function from test | |
Diffstat: | |
M test/netcdf.jl | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/test/netcdf.jl b/test/netcdf.jl | |
t@@ -18,8 +18,8 @@ ocean = SeaIce.readOceanNetCDF("Baltic/00010101.ocean_month.… | |
@test size(ocean.e) == (23, 14, 64, 5) | |
info("Testing ocean state interpolation") | |
-@test_throws ErrorException SeaIce.findContacts!(ocean, time=0.) | |
-@test_throws ErrorException SeaIce.findContacts!(ocean, time=1.e34) | |
+@test_throws ErrorException SeaIce.interpolateOceanState(ocean, time=0.) | |
+@test_throws ErrorException SeaIce.interpolateOceanState(ocean, time=1.e34) | |
u1, v1, h1, e1 = SeaIce.interpolateOceanState(ocean, ocean.time[1]) | |
u2, v2, h2, e2 = SeaIce.interpolateOceanState(ocean, ocean.time[2]) | |
u1_5, v1_5, h1_5, e1_5 = SeaIce.interpolateOceanState(ocean, |