From c1a070ae33506750e46797091c0eb6c5fc983720 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Fri, 26 Apr 2024 23:50:36 +0200
Subject: [PATCH] Add further tests for `eddy_dump.py`

---
 Inst_eddies/Analysis/tests.json | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Inst_eddies/Analysis/tests.json b/Inst_eddies/Analysis/tests.json
index 61cd4109..b7400c4b 100644
--- a/Inst_eddies/Analysis/tests.json
+++ b/Inst_eddies/Analysis/tests.json
@@ -105,5 +105,25 @@
 	"env": {
             "PYTHONPATH": "$src_dir/Inst_eddies/Tests/Input"
 	}
+    },
+    "Eddy_dump_slices":
+    {
+	"description": "eddy_dump.py with an SHPC made of several slices.",
+	"command":
+	[
+	    "$src_dir/Inst_eddies/Analysis/eddy_dump.py",
+	    "$tests_old_dir/R4_15_splitted/SHPC", "Anticyclones"
+	],
+	"input": "20463, 2\n"
+    },
+    "Eddy_dump_inter_date":
+    {
+	"description": "eddy_dump.py with option -n.",
+	"symlink": ["$tests_old_dir/EG_15_3_SHPC/e_overestim.txt"],
+	"command":
+	[
+	    "$src_dir/Inst_eddies/Analysis/eddy_dump.py",
+	    "$tests_old_dir/R4_15_splitted/SHPC", "Anticyclones", "-n", "61391"
+	]
     }
 }
-- 
GitLab