#!/bin/csh #Brian Schlinig #prc_m2_199905 #set variables here set src = may99 set dst = 199905 set mooring = m2 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.tar set gz1 = $tar1.gz cd $rawpath #extract the file from thier archives echo Unpacking archives.......................................... cp $srcpath/$gz1 $rawpath gunzip $gz1 tar xvf $tar1 gzip $tar1 #run the extract scripts cd /oasis.old/users/brian/mooring/monterey/bin echo Extracting data.......................................... extract_m2_199905 #delete the files #echo Removing old files....................................... #cleanup_m2_199905 #move the processed data to the correct directory and combine into one file #echo Moving data files........................................ #mv /oasis.old/brian/mooring/prc/$mooring/specprr/* $dstpath/ #echo Combining daily records into a single file............... #concat_m2_199905