From f182d6b0f0bdb2cfc099791fe707e2be7995ad4d Mon Sep 17 00:00:00 2001
From: Juan Escobar <escj@aero.obs-mip.fr>
Date: Thu, 13 Oct 2016 16:41:15 +0200
Subject: [PATCH] Juan 13/10/2016:run_prep_mesonh_xyz,run_prep_toy ,add
 automatic/default definition of PREP_PGD_FILES

---
 .../1_INPUT_MNH/run_prep_mesonh_xyz                             | 2 +-
 .../013_Iroise_ideal_case_coupling/2_INPUT_TOY/run_prep_toy     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/1_INPUT_MNH/run_prep_mesonh_xyz b/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/1_INPUT_MNH/run_prep_mesonh_xyz
index 2878ec01b..372263b3d 100755
--- a/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/1_INPUT_MNH/run_prep_mesonh_xyz
+++ b/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/1_INPUT_MNH/run_prep_mesonh_xyz
@@ -2,7 +2,7 @@
 echo '--------------------------------------'
 echo '--  input for Meso-NH : PREP_PGD      '
 echo '--------------------------------------'
-
+PREP_PGD_FILES=${PREP_PGD_FILES:-"$HOME/PREP_PGD_FILES_WWW"} ; export PREP_PGD_FILES
 if [ "$PREP_PGD_FILES" = "" ]
 then
 
diff --git a/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/2_INPUT_TOY/run_prep_toy b/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/2_INPUT_TOY/run_prep_toy
index 09790be31..e8f4b28d2 100755
--- a/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/2_INPUT_TOY/run_prep_toy
+++ b/MY_RUN/KTEST/013_Iroise_ideal_case_coupling/2_INPUT_TOY/run_prep_toy
@@ -2,7 +2,7 @@
 echo '--------------------------------------'
 echo '--  input for TOY                     '
 echo '--------------------------------------'
-
+PREP_PGD_FILES=${PREP_PGD_FILES:-"$HOME/PREP_PGD_FILES_WWW"} ; export PREP_PGD_FILES
 if [ "$PREP_PGD_FILES" = "" ]
 then
 
-- 
GitLab