From e36c75c05f6c9a36ab5b367818116e62018c8c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr>
Date: Fri, 10 Mar 2023 10:33:28 +0100
Subject: [PATCH] S. Riette 10 Mar 2023: testprogs documentation

---
 docs/Offline.md                 |  5 +++--
 tools/check_commit_testprogs.sh | 13 +++++++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/docs/Offline.md b/docs/Offline.md
index 5a219dead..1be56f68a 100644
--- a/docs/Offline.md
+++ b/docs/Offline.md
@@ -50,8 +50,9 @@ The last step will create a directory (in $HOME/TESTPROGS) with a copy of your s
 
 ### Data generation
 
-The branch testprogs\_data contains modified source code for the AROME model to enable the generation of data samples.
-Using this branch, in the drivers of the different parametrisations (aro\_\* files), output can be enable for the AROME model.
+The branch testprogs\_data contains modified source code for the AROME model to enable the generation of data samples for the turb, shallow, rain\_ice and ice\_adjust testprogs.
+The branch testprogs\_data2 contains modified source code for the AROME model to enable the generation of data samples for the rain\_ice\_old testprog.
+Using these branches, in the drivers of the different parametrisations (aro\_\* files), output can be enable for the AROME model.
 Running the AROME model with these modifications outputs files in the running directory.
 This must be done once by parametrisation (note that the check\_commit\_ial.sh script can be used to execute an AROME simulation).
 
diff --git a/tools/check_commit_testprogs.sh b/tools/check_commit_testprogs.sh
index 485f1162c..87aa9f9b5 100755
--- a/tools/check_commit_testprogs.sh
+++ b/tools/check_commit_testprogs.sh
@@ -12,9 +12,18 @@ set -e
 #ref is commit 855b8f8 for ice_adjust, rain_ice
 #ref is commit 4171c53 for turb
 #ref is commit 7e44ab1 for shallow
+#ref is commit e070d16 for rain_ice_old
 
-#Commit 7e44ab1 can be used for shallow (ref commit for this testprogs), and for
-#turb, rain_ice and ice_adjust (as it gives the same results for these test cases).
+#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).
+
+#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
+#   activated in the corresponding aro_* routine (as only one set of data can be produced during
+#   a single execution).
+# - The last commit of the testprogs_data2 branch (based on 48t3) is able to produce the data
+#   for the rain_ice_old testprog.
 
 specialName="ref"
 availTests="ice_adjust,rain_ice,rain_ice_old,turb,shallow"
-- 
GitLab