Caldtg='/data/public/HYCOM/shian/Caldtg.ksh'


tmpdtg=2018020112
tmpdtg2=2018020112
while [ ${tmpdtg} -le ${tmpdtg2} ]
do

   y4=`echo ${tmpdtg} | cut -c1-4`
wget ftp://ftp.hycom.org/datasets/GLBv0.08/expt_92.9/data/hindcasts/${y4}/hycom_glbv_929_${tmpdtg}_t000_ts3z.nc
wget ftp://ftp.hycom.org/datasets/GLBv0.08/expt_92.9/data/hindcasts/${y4}/hycom_glbv_929_${tmpdtg}_t000_uv3z.nc
wget ftp://ftp.hycom.org/datasets/GLBv0.08/expt_92.9/data/hindcasts/${y4}/hycom_glbv_929_${tmpdtg}_t000_ssh.nc
  tmpdtg=`${Caldtg} ${tmpdtg} 48`
done

