diff --git a/cyclone-tracking/get-vitals.sh b/cyclone-tracking/get-vitals.sh index f39bbbb..282a8e9 100755 --- a/cyclone-tracking/get-vitals.sh +++ b/cyclone-tracking/get-vitals.sh @@ -46,6 +46,9 @@ if [ ! -f ${TCVITFILE} ]; then #if TCVITFILE doesn't exist, download sed -i $'s/\t/ /g' combined_tcvitals.${yearstr}.dat cd ../.. fi + echo "Last 10 lines of ${TCVITFOLDER}/combined/combined_tcvitals.${yearstr}.dat" + tail -10 ${TCVITFOLDER}/combined/combined_tcvitals.${yearstr}.dat + echo "-------" grep "${yearstr}${monthstr}${daystr} ${cyclestr}00" ${TCVITFOLDER}/combined/combined_tcvitals.${yearstr}.dat > ${TCVITFILE} if [ "$CLEARCOMBINEDVIT" = true ]; then rm -v ${TCVITFOLDER}/combined/combined_tcvitals.${yearstr}.dat ; fi fi @@ -55,4 +58,4 @@ sort -u ${TCVITFILE} -o ${TCVITFILE} echo "get-vitals: end of script" echo "******* TCVIT FILE INFO" -head -20 ${TCVITFILE} \ No newline at end of file +head -20 ${TCVITFILE}