#!/bin/csh #Brian Schlinig #prc_m1_199606 #set variables here set src = jun96 set dst = 199606 set mooring = m1 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.96.tar set gz1 = $tar1.gz set tar2 = $mooring.97.tar set gz2 = $tar2.gz cd $rawpath #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_06 #extractM1_07 #extractM1_08 extract_m1_199606 #delete the files #cleanup_02 #cleanup_03 #cleanup_m1_199606 #move the processed data to the correct directory and combine into one file #mv /oasis.old/brian/mooring/prc/$mooring/specprr/* $dstpath/ #concat_m1_199606