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

# ------------------------------------------------------------

make clean
make cope             # Combine_for_Ope.f90

# ------------------------------------------------------------
cat > Namelist_Combine_for_Ope.txt << EOF

&File_Dir_Names
   Inp_Dir      = "/home/tanpv/Data/562_VNU/0.25_VN/2024/Combined_Ope/"  ! Combined data dir from 1982 to current month
   Mask_File    = "/home/tanpv/Data/AWC/Mask_VN_0.25_Corrected.nc"   ! Land points and sub-region
   Dir_Ope      = "/home/tanpv/Data/562_VNU/0.25_VN/2024/Corrected_Ope/"    ! Corrected Ope of Pr_Ope, T2_Ope
   TVar         = "t2"             ! Ten bien nhiet do trong file NC
   RVar         = "pr"              ! Ten bien luong mua trong file NC
/
&Data_Info
   Yr1          = 1982
   Yr2          = 2025
   Nmodel       = 2                 ! "RegCM","clWRF"
/
&Model_name
   Model_nm     = "RegCM","clWRF",
/
&Time_Infor
   YOpe         = ${year} 
   MOpe         = ${month} 
/

EOF

./1.exe


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