#!/bin/csh #Brian Schlinig #extract_tmp set can = ep1 set dstpath = /oasis.old/users/brian/mooring/eqpac/ep1/raw set cfgpath = /oasis.old/users/brian/mooring/eqpac/cfg #============================================ # Move 199711 deployment data and extract it #============================================ set n = 0 set srcpath = /oasis/eqpac/deployments/199711/raw echo 9. $can.$n.gz set file = $srcpath/$can.$n.gz echo moving::::: $file cp $file $dstpath/ echo unzipping:: $dstpath/$can.$n.gz gunzip $dstpath/$can.$n.gz echo extracting: $dstpath/$can.$n nice /oasis/bin/extract -y 1 -i specprr -c $cfgpath/$can.cfg.tmp $dstpath/$can.$n echo removing::: $dstpath/$can.$n rm -f $dstpath/$can.$n set n = 300 set file = $srcpath/$can.$n.gz echo 10. $can.$n.gz echo moving::::: $file cp $file $dstpath/ echo unzipping:: $dstpath/$can.$n.gz gunzip $dstpath/$can.$n.gz echo extracting: $dstpath/$can.$n nice /oasis/bin/extract -y 1 -i specprr -c $cfgpath/$can.cfg.tmp $dstpath/$can.$n echo removing::: $dstpath/$can.$n rm -f $dstpath/$can.$n