From 10dc9cc4d962d957070d89a309b8c13398ca25b1 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ipsl.fr> Date: Tue, 2 Jul 2024 12:30:44 +0200 Subject: [PATCH] Read the same NetCDF files Read the same NetCDF files than those used to create `cont_list`. It does not change anything since the window is going to be created inside `test_set_max_speed`, so it is an unnecessary complication to have input NetCDF files on a restricted domain. Furthermore, if we want to use `test_set_max_speed` on a non longitude-latitude grid, then it would be a problem to convert x, y corresponding to the grid of `cont_list` to x, y corresponding to a restricted grid. --- Inst_eddies/Tests/short_tests.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Inst_eddies/Tests/short_tests.json b/Inst_eddies/Tests/short_tests.json index 49e84d40..b5117162 100644 --- a/Inst_eddies/Tests/short_tests.json +++ b/Inst_eddies/Tests/short_tests.json @@ -191,8 +191,8 @@ ], [ "$build_dir/Inst_eddies/Tests/test_set_max_speed", - "$src_dir/Inst_eddies/Tests/Input/h_outermost.nc", - "$src_dir/Inst_eddies/Tests/Input/uv_outermost.nc", + "$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc", + "$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc", "$tests_old_dir/Get_1_outerm/SHPC", "$tests_old_dir/Get_1_outerm/cont_list.shp" ] ], -- GitLab