From c98ba5953a4e35dd6a419af7d1cd13d5d075f6cd Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Wed, 7 Jun 2023 09:19:15 +0200
Subject: [PATCH] Add test `Examine_eddy`

---
 Inst_eddies/Tests/short_tests.json | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/Inst_eddies/Tests/short_tests.json b/Inst_eddies/Tests/short_tests.json
index e2534de8..2f0967aa 100644
--- a/Inst_eddies/Tests/short_tests.json
+++ b/Inst_eddies/Tests/short_tests.json
@@ -454,5 +454,21 @@
 	"exclude_cmp": ["timings.txt", "perf_report.csv"]
     },
     "Complete_SSH":
-    {"command": "$build_dir/Inst_eddies/Tests/test_complete_ssh"}
+    {"command": "$build_dir/Inst_eddies/Tests/test_complete_ssh"},
+    "Examine_eddy":
+    {
+	"commands":
+	[
+            ["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
+	    [
+		"$build_dir/Inst_eddies/Tests/examine_eddy",
+		"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_03.nc",
+		"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_03.nc",
+		"$tests_old_dir/Inst_eddies_loop/SHPC/Slice_0"
+	    ]
+	],
+	"input": "&MAIN_NML DATE = 20456 EDDY_I_TARGET = 3/\n",
+	"symlink": ["$tests_old_dir/Inst_eddies_loop/config_nml.txt"],
+	"description": "This eddy is interesting because the maximum speed is a little lower (relative difference # 1e-3) than in version v0.26. SSH on maximum speed contour differs by about 2e-3 m from version v0.26. There are n_max_cont in cont_list."
+    }
 }
-- 
GitLab