From 90aec9862e36b5306b867272eefe69508bb08756 Mon Sep 17 00:00:00 2001 From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr> Date: Thu, 27 May 2021 11:08:16 +0200 Subject: [PATCH] Philippe 27/05/2021: budgets: bugfix in Les_diachro_common_intern: ytitle was not correct due to missing trim and therefore budgets with hsuffixes were overwritten --- src/MNH/mode_les_diachro.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MNH/mode_les_diachro.f90 b/src/MNH/mode_les_diachro.f90 index ba8129e71..3ca1897c8 100644 --- a/src/MNH/mode_les_diachro.f90 +++ b/src/MNH/mode_les_diachro.f90 @@ -1018,7 +1018,7 @@ iresp = 0 if ( oavg ) call Les_time_avg_4d( zfield, tzdates, iresp ) if ( Present( hsuffixes ) ) then - ytitle(:) = tpfield%cmnhname // hsuffixes(:) + ytitle(:) = Trim( tpfield%cmnhname ) // hsuffixes(:) else ytitle(:) = tpfield%cmnhname endif -- GitLab