#!/bin/csh #Brian Schlinig #prc_m1_199705 #set variables here set src = may97 set dst = 199705 set mooring = m1 # Don't need to change anything below this point set srcpath = /oasis/$src/raw set dstpath = /oasis.old/users/brian/mooring/monterey/$mooring/specprr set rawpath = /oasis.old/users/brian/mooring/monterey/$mooring/raw set tar1 = $mooring.97.tar set gz1 = $tar1.gz set tar2 = $mooring.98.tar set gz2 = $tar2.gz cd $rawpath echo Unpacking archives............................................ #extract the file from thier archives cp $srcpath/$gz1 $rawpath gunzip $gz1 tar xvf $tar1 gzip $tar1 cp $srcpath/$gz2 $rawpath gunzip $gz2 tar xvf $tar2 gzip $tar2 #run the extract scripts cd /oasis.old/users/brian/mooring/monterey/bin #extractM1_09 #extractM1_10 extract_m1_199705 #delete the files #echo Removing files................................................ #cleanup_m1_199705 #move the processed data to the correct directory and combine into one file #echo Moving processed data......................................... #mv /oasis.old/brian/mooring/prc/$mooring/specprr/* $dstpath/ #echo Combining data into one file.................................. #concat_m1_199705