dt=7.
echo "Clear"
nda=`grep -c "" CL.txt`
echo $dt > moyenne.in
echo $nda >> moyenne.in
cat CL.txt >> moyenne.in
./moyenne
mv moyenne.out CLmoy_$dt
echo $dt > minimum.in
echo $nda >> minimum.in
cat CL.txt >> minimum.in
./minimum
mv minimum.out CLmin_$dt
grep wo CL.txt | grep clear > CL-clear-wo-moon.txt
nda=`grep -c "" CL-clear-wo-moon.txt`
echo $dt > moyenne.in
echo $nda >> moyenne.in
cat CL-clear-wo-moon.txt >> moyenne.in
./moyenne
mv moyenne.out CL-clear-wo-moon-moy_$dt




echo "DeepSky"
nda=`grep -c "" DS.txt`
echo $dt > minimum.in
echo $nda >> minimum.in
cat DS.txt >> minimum.in
./minimum
mv minimum.out DSmin_$dt
echo "Comet"
nda=`grep -c "" CO.txt`
echo $dt > minimum.in
echo $nda >> minimum.in
cat CO.txt >> minimum.in
./minimum
mv minimum.out COmin_$dt
echo "H alpha"
nda=`grep -c "" HA.txt`
echo $dt > minimum.in
echo $nda >> minimum.in
cat HA.txt >> minimum.in
./minimum
mv minimum.out HAmin_$dt
echo "IR block"
nda=`grep -c "" IR.txt`
echo $dt > minimum.in
echo $nda >> minimum.in
cat IR.txt >> minimum.in
./minimum
mv minimum.out IRmin_$dt

