• In RSM script, if sst.grib exists, it won't fetch the SST files.
That means, SST would be never updated!

SST_ANL file should be updated every day from ROMS..
So we have to modify the RSM script..

 
# hyodae
if [ $NDay -eq 1 ]; then
SST_ANL=`eval echo $SST_ANL`
else # $NDay>1
SST_PLATFORM=
SST_FTP=cp
SST_FTP=ln
#SST_ANL=`eval echo $Couple_Data_SST_Dir/sstgrb:$YYYYE:$MME:$DDE:$HHE`
SST_ANL=`eval echo $SST_ANL`
fi
#
 # for SST ONLY NOV 29 2007
        for fld in sst
       do
         FLD=`echo $fld | tr '[a-z]' '[A-Z]'`
         anl=\$${FLD}_ANL
         anl=`eval echo $anl`
         anl=`eval echo $anl`
         ftp=\$${FLD}_FTP
         ftp=`eval echo $ftp`
         platform=\$${FLD}_PLATFORM
         platform=`eval echo $platform`
         if [ -n "$anl" ] ; then
              if [ $ftp != ln ] ; then
                   /ptmp/hyseo/SCOAR/Model/RSM/schina17/runs_32cpu_NOSTDAMP/runscr/fetchfile \
                        $anl ./$fld.grib \
                   $ftp $platform || exit 8
                   eval ${FLD}_GRB=$EXECDIR/$fld.grib
               else
                   eval ${FLD}_GRB=$anl
               fi
         else
            eval ${FLD}_GRB=
         fi
       done
 
                for fld in sno scv ice
                do
                        FLD=`echo $fld | tr '[a-z]' '[A-Z]'`
                        anl=\$${FLD}_ANL
                        anl=`eval echo $anl`
                        anl=`eval echo $anl`
                        ftp=\$${FLD}_FTP
                        ftp=`eval echo $ftp`
                        platform=\$${FLD}_PLATFORM
                        platform=`eval echo $platform`
                        if [ -n "$anl" ] ; then
                                if [ ! -s ./$fld.grib ] ; then
                                        if [ $ftp != ln ] ; then
                                                /ptmp/hyseo/SCOAR/Model/RSM/schina17/runs_32cpu_NOSTDAMP/runscr/fetchfile  \
                                                        $anl ./$fld.grib \
                                                        $ftp $platform || exit 8
                                                        eval ${FLD}_GRB=$EXECDIR/$fld.grib
                                        else
                                                eval ${FLD}_GRB=$anl
                                        fi
                                else
                                        eval ${FLD}_GRB=$EXECDIR/$fld.grib
                                fi
                        else
                                eval ${FLD}_GRB=
                        fi
                done