#! /bin/tcsh
/home/jhedeliu/ggg/bin/collate_results t  > /dev/null &
/home/jhedeliu/ggg/bin/collate_results v
if ( -e tsw )  mv tsw cn20140613_20141021.tsw
if ( -e vsw )  mv vsw cn20140613_20141021.vsw
sleep 10
/home/jhedeliu/ggg/bin/average_results cn20140613_20141021.tsw > /dev/null &
/home/jhedeliu/ggg/bin/average_results cn20140613_20141021.vsw
sleep 10
/home/jhedeliu/ggg/bin/apply_airmass_correction cn20140613_20141021.vav
/home/jhedeliu/ggg/bin/apply_insitu_correction cn20140613_20141021.vav.ada
/home/jhedeliu/ggg/bin/error_scale_factor cn20140613_20141021.vav.ada.aia
/home/jhedeliu/ggg/bin/write_official_output_file cn20140613_20141021.vav.ada.aia
/home/jhedeliu/ggg/bin/write_eof cn20140613_20141021.tav
/home/jhedeliu/ggg/bin/write_aux cn20140613_20141021.mav 34.1362
mkdir -p map
mv *.map map/
