#!/bin/csh #Brian Schlinig #extract_m2_test #startdate is the first day that I can find all the serial numbers of the # instruments deployed, not the first day of data. #set date = $startdate set can = m2 set filepath = /oasis/users/brian/mooring/monterey/$can/raw set startdate = 2001040 set endate = 2001046 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo Extracting $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis/test/cfg/2001$can.cfg $file end @ date ++ end set startdate = 2001052 set endate = 2001077 set date = $startdate while($date < $endate) foreach file ($filepath/$can.$date.*) echo Extracting $file nice /oasis/bin/extract -y 1 -i specprr -c /oasis/test/cfg/2001$can.cfg $file end @ date ++ end