module load cdo
rm -rf tmp
mkdir -p tmp
#period="1951.1960 1961.1970 1971.1980 1981.1990 1991.2000 2001.2010 2011.2019"
#for per in $period ; do
#cdo remapbil,grid_SEA.dat ../cru_ts4.04.${per}.tmp.dat.nc  tmp/CRU_${per}.nc
#done

#File=TRMM.2000.2019.dd.nc

#APHRO_MA_025deg_Pre_V1101_T_V1808_1961-2015.nc

#File=/work/projects/G09/SEACLID/LandMask_VN_0.1.nc
#File=/work/projects/G09/SEACLID/Land_Mask_VN.nc
#cdo remapbil,grid_VN.dat ${File} tmp/1.nc

#cdo mergetime tmp/CRU_*.nc tmp/All.nc
#cdo chname,tmp,tas tmp/All.nc  tas_CRU_historical_SRF_1951_2019.nc

#File=TRMM.2011.2015.nc
#cdo remapbil,grid_SEA_11-15.dat ${File} tmp/1.nc 

File="../Mask/Mask_VN_0.1.nc"
#cdo remapbil,grid_VN_0.125_S2S.dat ${File} tmp/1.nc 
cdo remapnn,grid_VN_0.125_S2S.dat ${File} tmp/1.nc 

