Skip to content

Commit

Permalink
add some debug to get-vitals
Browse files Browse the repository at this point in the history
  • Loading branch information
zarzycki committed Jul 7, 2024
1 parent 0c3d913 commit 8ec930b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cyclone-tracking/get-vitals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -55,4 +58,4 @@ sort -u ${TCVITFILE} -o ${TCVITFILE}

echo "get-vitals: end of script"
echo "******* TCVIT FILE INFO"
head -20 ${TCVITFILE}
head -20 ${TCVITFILE}

0 comments on commit 8ec930b

Please sign in to comment.