opath=/data/public/HYCOM/shian/2024/01

file=${opath}/hycom_glby_930_2024012412_t000
c=3137311344
fsize=`ls -l ${file}_ts3z.nc |cut -d ' ' -f 5`
panosize=$(ls -lah "${file}_ts3z.nc" | awk '{ print $5}')
if [[ ! -f ${file}_ts3z.nc ]]|| [[ ${fsize} -le $c ]];then
echo "no file"
else
echo "have file"
fi

a=8
b=6
if [[ $a -le 6 ]]  || [[ $b -le 8 ]];then
echo "or"
else
echo "and"
fi
