#!/bin/csh #Brian Schlinig #extractM1_01 set startdate = 95075 set endate = 95100 set date = $startdate set can = m1b #set filepath = /oasis/mar95/raw set filepath = /oasis.old/users/brian/mooring/monterey/m1/raw while($date < $endate) foreach file ($filepath/$can.$date.*) echo $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis.old/users/brian/mooring/monterey/cfg/m1.cfg $file end @ date ++ end set startdate = 95101 set endate = 95230 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis.old/users/brian/mooring/monterey/cfg/m1.cfg $file end @ date ++ end set startdate = 95231 set endate = 95327 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis.old/users/brian/mooring/monterey/cfg/m1.cfg $file end @ date ++ end set startdate = 95331 set endate = 95365 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis.old/users/brian/mooring/monterey/cfg/m1.cfg $file end @ date ++ end set startdate = 96001 set endate = 96151 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis.old/users/brian/mooring/monterey/cfg/m1.cfg $file end @ date ++ end