St_process_bulk.sh to process a whole night of observations.
This commit is contained in:
parent
198c974428
commit
18f77e2c2f
18
scripts/st_process_bulk.sh
Executable file
18
scripts/st_process_bulk.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#./bin/bash
|
||||
|
||||
# Loop into every directory
|
||||
for obsdir in *; do
|
||||
if [ -d $obsdir ]; then
|
||||
echo $obsdir
|
||||
cd $obsdir
|
||||
# check if observation is not already processed
|
||||
N=`ls -1 ./2*.fits 2>/dev/null | wc -l`
|
||||
if [ $N -ge 1 ]; then
|
||||
# process observation frames in directory
|
||||
st_process_offline.sh $1
|
||||
fi
|
||||
cd ..
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in a new issue