From 9a3400ee56441f439031351a8b405c376119d9ae Mon Sep 17 00:00:00 2001 From: Kate Friedman Date: Tue, 28 Nov 2023 13:40:24 -0500 Subject: [PATCH] Update PDY parsing in ush/radmon_verf_bcor.sh Refs #1925 Co-authored-by: Walter Kolczynski - NOAA --- ush/radmon_verf_bcor.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ush/radmon_verf_bcor.sh b/ush/radmon_verf_bcor.sh index a01238e6ca..5b89e59ed9 100755 --- a/ush/radmon_verf_bcor.sh +++ b/ush/radmon_verf_bcor.sh @@ -104,9 +104,9 @@ else export pgm=${bcor_exec} - iyy=$(echo ${PDY} | cut -c1-4) - imm=$(echo ${PDY} | cut -c5-6) - idd=$(echo ${PDY} | cut -c7-8) + iyy="${PDY:0:4}" + imm="${PDY:4:2}" + idd="${PDY:6:2}" ihh=${cyc} ctr=0