From d5e89eb98b46766a4cf71688d17bd7efccc3734e Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Thu, 17 Jun 2021 19:51:35 +0200
Subject: [PATCH] Redefine test `Extraction_eddies_region_2_noise`

Make it 15 days long because we want to use it in place of
`Overlap/Tests/Input/Region_2_SHPC`.
---
 Inst_eddies/Tests/long_tests.json  | 12 ++++++++++++
 Inst_eddies/Tests/short_tests.json | 12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Inst_eddies/Tests/long_tests.json b/Inst_eddies/Tests/long_tests.json
index 481ef6cb..deb2cf47 100644
--- a/Inst_eddies/Tests/long_tests.json
+++ b/Inst_eddies/Tests/long_tests.json
@@ -56,5 +56,17 @@
 	],
 	"input": "&main_nml /\n",
 	"description": "Same as Extraction_eddies_region_4 with larger domain."
+    },
+    {
+        "input": "&main_nml /\n",
+        "required": ["$src_dir/Inst_eddies/Tests/Input/main_nml.txt"],
+        "title": "Extraction_eddies_region_2_noise",
+        "command":
+	[
+	    "$build_dir/Inst_eddies/inst_eddies.py", "-b", "1.625", "15.625",
+	    "-38.375", "-30.375",
+	    "/proju/lmd-oce/data/AVISO/DT_2018/2006/01/dt_global_allsat_phy_l4_20060101_20190101.nc",
+	    "dt_global_allsat_phy_l4_%Y%m%d_20190101.nc", "-l", "20060115"
+	]
     }
 ]    
diff --git a/Inst_eddies/Tests/short_tests.json b/Inst_eddies/Tests/short_tests.json
index 4b4de869..836e0b74 100644
--- a/Inst_eddies/Tests/short_tests.json
+++ b/Inst_eddies/Tests/short_tests.json
@@ -290,18 +290,6 @@
             "$build_dir/Inst_eddies/inst_eddies"
         ]
     },
-    {
-        "input": "&main_nml /\n",
-        "required": [
-            ["$src_dir/Inst_eddies/Tests/Input/h_region_2.nc", "h.nc"],
-            ["$src_dir/Inst_eddies/Tests/Input/uv_region_2.nc", "uv.nc"]
-        ],
-        "title": "Extraction_eddies_region_2_noise",
-        "commands": [
-            ["mkdir", "SHPC_cyclo", "SHPC_anti"],
-            "$build_dir/Inst_eddies/inst_eddies"
-        ]
-    },
     {
         "description": "Part of the domain has missing values.",
         "required": ["$src_dir/Inst_eddies/Tests/Input/main_nml.txt"],
-- 
GitLab