From 1e755534d79ba323f9705f22db5b591d252f9761 Mon Sep 17 00:00:00 2001 From: mo-lottieturner <120099755+mo-lottieturner@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:01:56 +0000 Subject: [PATCH 1/3] adding logging --- bin/tweak_iodef | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/tweak_iodef b/bin/tweak_iodef index 43e41367e..76b33093f 100755 --- a/bin/tweak_iodef +++ b/bin/tweak_iodef @@ -25,9 +25,11 @@ trap 'rm -f $temp_file; exit 1' INT TERM EXIT if sed 's@\.\./\(\.\./\)*lfric_atm/metadata@$METADATA@' $iodef |\ sed 's@\.\./\(\.\./\)*metadata@$METADATA@' |\ rose env-cat - >$temp_file + echo "tweak_iodef: editing sucessful" then trap '' INT TERM EXIT cp $temp_file $iodef + echo "tweak_iodef: $iodef saved with changes" else echo "tweak_iodef: editing failed, $iodef unchanged" 1>&2 rm -f $temp_file From 6cc94cbe55e5029de8268bfa0167abf07f5074be Mon Sep 17 00:00:00 2001 From: mo-lottieturner <120099755+mo-lottieturner@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:12:55 +0000 Subject: [PATCH 2/3] edit to log message --- bin/tweak_iodef | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tweak_iodef b/bin/tweak_iodef index 76b33093f..aa846d67f 100755 --- a/bin/tweak_iodef +++ b/bin/tweak_iodef @@ -25,7 +25,7 @@ trap 'rm -f $temp_file; exit 1' INT TERM EXIT if sed 's@\.\./\(\.\./\)*lfric_atm/metadata@$METADATA@' $iodef |\ sed 's@\.\./\(\.\./\)*metadata@$METADATA@' |\ rose env-cat - >$temp_file - echo "tweak_iodef: editing sucessful" + echo "tweak_iodef: editing sucessful in $temp_file" then trap '' INT TERM EXIT cp $temp_file $iodef From fe2b7d5dbd60d5a1b702b9b9fa4d952c8100381c Mon Sep 17 00:00:00 2001 From: mo-lottieturner <120099755+mo-lottieturner@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:14:27 +0000 Subject: [PATCH 3/3] adding name to contributors.md --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 65f2e4058..883ad1bec 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,3 +7,4 @@ | jennyhickson | Jenny Hickson | Met Office | 2025-12-10 | | mo-marqh | Mark Hedley | Met Office | 2025-12-11 | | MatthewHambley | Matthew Hambley | Met Office | 2025-12-15 | +| mo-lottieturner | Lottie Turner | Met Office | 2025-12-16 |