From 16a5a711cf32039810acb8c5066fb63e8b2ca495 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr>
Date: Fri, 30 Jun 2023 13:45:50 +0200
Subject: [PATCH] S. Riette 30 June 2023: add refenrence version in json files

---
 src/arome/ial_version.json           | 20 +++++++++++++++++++-
 src/mesonh/mesonh_version.json       | 12 +++++++++++-
 src/testprogs/testprogs_version.json |  5 +++++
 tools/check_commit_testprogs.sh      |  2 ++
 4 files changed, 37 insertions(+), 2 deletions(-)
 create mode 100644 src/testprogs/testprogs_version.json

diff --git a/src/arome/ial_version.json b/src/arome/ial_version.json
index 86b5a45c2..12d0a36b3 100644
--- a/src/arome/ial_version.json
+++ b/src/arome/ial_version.json
@@ -2,5 +2,23 @@
 "cycle":"49t0",
 "branch":"main",
 "version":"01",
-"scripttag":"_nam1"
+"scripttag":"_nam1",
+"testing": {
+            "small_3D":"00148b1",
+            "small_3D_alt1":"00148b1",
+            "small_3D_alt2":"00148b1",
+            "small_3D_alt3":"00148b1",
+            "small_3D_alt4":"00148b1",
+            "small_3D_alt5":"00148b1",
+            "small_3D_alt6":"00148b1",
+            "small_3D_alt7":"00148b1",
+            "small_3D_alt8":"00148b1",
+            "small_3D_alt9":"00148b1",
+            "small_3D_alt10":"00148b1",
+            "small_3D_alt11":"00148b1",
+            "small_3D_alt12":"00148b1",
+            "small_3D_lima":"00148b1",
+            "small_3D_np2":"00148b1",
+            "big_3D":"00148b1"
+           }
 }
diff --git a/src/mesonh/mesonh_version.json b/src/mesonh/mesonh_version.json
index 1914b5386..48200108a 100644
--- a/src/mesonh/mesonh_version.json
+++ b/src/mesonh/mesonh_version.json
@@ -1,3 +1,13 @@
 {
-"refversion":"MNH-V5-6-0-INITNAM"
+"refversion":"MNH-V5-6-0-INITNAM",
+"testing": {
+            "007_16janvier/008_run2":"79fe47e",
+            "007_16janvier/008_run2_turb3D":"79fe47e",
+            "007_16janvier/008_run2_lredf":"79fe47e",
+            "COLD_BUBBLE/002_mesonh":"79fe47e",
+            "ARMLES/RUN":"79fe47e",
+            "COLD_BUBBLE_3D/002_mesonh":"79fe47e",
+            "OCEAN_LES/004_run2":"79fe47e",
+            "014_LIMA/002_mesonh":"79fe47e"
+           }
 }
diff --git a/src/testprogs/testprogs_version.json b/src/testprogs/testprogs_version.json
new file mode 100644
index 000000000..3a24b0663
--- /dev/null
+++ b/src/testprogs/testprogs_version.json
@@ -0,0 +1,5 @@
+{
+"testing": {
+            "ALL":"00148b1"
+           }
+}
diff --git a/tools/check_commit_testprogs.sh b/tools/check_commit_testprogs.sh
index 04fb62c16..71e597483 100755
--- a/tools/check_commit_testprogs.sh
+++ b/tools/check_commit_testprogs.sh
@@ -18,6 +18,8 @@ set -o pipefail #abort if left command on a pipe fails
 #Commit e070d16 can be used for rain_ice_old (ref commit for this testprogs), and for
 #turb, shallow, rain_ice and ice_adjust (as it gives the same results for these test cases).
 
+#Some modifications have been introduced and new reference commit is 00148b1
+
 #Data generation:
 # - The last commit of the testprogs_data branch (based on 46t1) is able to produce the data
 #   for the turb, shallow, rain_ice and ice_adjust testprogs. The code is present but must be
-- 
GitLab