
year=${1}
month=${2}
day=${3}

# Current directory:
Here=`pwd`

# Move to GS directory:
# cd /home/tanpv/Progs/562_VNU/2024/GS
cd /home/tanpv/Progs/CLI/dro/GS
ROOT=/home/tanpv/Progs/CLI/dro/PDF
In_Dir=/home/tanpv/Progs/CLI/Dr/outputs/Ope
# ------------------------------------------------------------
cat > Plot_Pr_T2_fcs_anomaly.gs << EOF
   "reinit"
   "set display color white"; "c"
   Yr_Ope=${year}
   Mn_Ope=${month}
   Dy_Ope=${day}
   Dir_Inp="${In_Dir}/${year}/${month}/${day}/"
   Dat_out="${ROOT}/${year}${month}${day}"
EOF
cat Temp_Pr_T2_fcs_anomaly.gs >> Plot_Pr_T2_fcs_anomaly.gs
mkdir -p ${Dat_out}
grads -lc Plot_Pr_T2_fcs_anomaly.gs


##################################
