Index: trunk/MagicSoft/Cosy/bending.txt
===================================================================
--- trunk/MagicSoft/Cosy/bending.txt	(revision 7782)
+++ trunk/MagicSoft/Cosy/bending.txt	(revision 7783)
@@ -1,4 +1,22 @@
-MMT 1987 July 8
-S   36   7.3622   41.448  -0.0481
-IA       157   -1 
-IE        -35    -1 END
+MAGIC1 23.11.2005 10:02:00.991
+S   00   000000   000000  0000000
+     IA     502.58466   0.027003262
+     IE    -8.9888758    0.24469961
+   FLOP             0             0
+     AN             0             0
+     AW             0             0
+   NPAE             0             0
+     CA    0.04177989   0.010852749
+     TF             0             0
+     TX             0             0
+   ECES  -0.013092161    0.22248119
+   ACES  -0.022514013   0.023129372
+   ECEC  -0.085124722    0.12966354
+   ACEC   -0.01656341   0.022620231
+    NRX             0             0
+    NRY             0             0
+    CRX             0             0
+    CRY             0             0
+ MAGIC1   -0.06687592   0.010340254
+ MAGIC2             0             0
+END
Index: trunk/MagicSoft/Cosy/gettracking
===================================================================
--- trunk/MagicSoft/Cosy/gettracking	(revision 7782)
+++ trunk/MagicSoft/Cosy/gettracking	(revision 7783)
@@ -5,9 +5,9 @@
 dir=`find $src -type d -name '*00*_*_*' | sort -r | head -1`
 
-echo $dir
+# echo $dir
 
 last=`find $dir -type f -name cosy_*.log | cut -b44- | sort -r | head -1`
 
-echo $dir/$last:
+echo $last:
 
 cat $dir/$last | grep Tracking | grep -v Thread
Index: trunk/MagicSoft/Cosy/prepos.txt
===================================================================
--- trunk/MagicSoft/Cosy/prepos.txt	(revision 7783)
+++ trunk/MagicSoft/Cosy/prepos.txt	(revision 7783)
@@ -0,0 +1,5 @@
+98.30000000  -10.10333333 Camera Access
+61.23817667   0           Celestial Pole
+93.90055555  -10.10333333       Park
+76.31       149.913333333 Roque Lamp
+4             0           Zenith
Index: trunk/MagicSoft/Cosy/stars.txt
===================================================================
--- trunk/MagicSoft/Cosy/stars.txt	(revision 7782)
+++ trunk/MagicSoft/Cosy/stars.txt	(revision 7783)
@@ -4,5 +4,4 @@
 12 56 11  -05 47 22  3C279 (17.75)
 12 54 02   55 57 35  Alioth (1.77)
-19 30 43   27 57 34  Albiero (3.08)
 00 08 23   29 05 26  Alpha Andromedae (2.1)
 02 07 10   23 27 45  Alpha Aries (2.00)
@@ -34,5 +33,5 @@
 05 55 10   07 24 25  Betelgeuse (0.5)
 22 02 43   42 16 40  BL-Lac (14.5)
-05 16 41   45 59 53  Capella (0.08)
+05 15 41   45 59 53  Capella (0.08)
 00 09 11   59 08 59  Caph (2.27)
 12 59 49   27 58 50  Coma Cluster (10.70)
@@ -70,5 +69,4 @@
 06 33 54   17 46 48  Geminga
 19 30 42   51 43 47  Iota2 Cygni (3.8)
-22 07 00   25 20 42  Iota Pegasi (3.49)
 19 17 06   53 22 07  Kappa Cygni (3.9)
 18 24 10  -34 23 05  Kaus Australis (1.85)
@@ -90,8 +88,6 @@
 15 02 22  -41 53 48  SN-1006
 13 25 13  -11 09 41  Spica (0.98)
-19 46 15   10 36 48  Tarazed (2.72)
 20 11 18  -00 49 17  Theta Aquilae (3.2)
 17 37 19  -42 59 52  Theta Scorpionis (1.87)
-15 44 16    6 25 32  Unukalhay (2.65)
 18 36 56   38 47 01  Vega (0.03)
 19 05 25   13 51 48  Zeta Aquilae (3.0)
Index: trunk/MagicSoft/Cosy/sync_stesy
===================================================================
--- trunk/MagicSoft/Cosy/sync_stesy	(revision 7783)
+++ trunk/MagicSoft/Cosy/sync_stesy	(revision 7783)
@@ -0,0 +1,28 @@
+#!/usr/bin/perl
+#
+# synchronizes logfiles to pc15
+# 2005-01-10 rwagner@mppmu.mpg.de
+
+system "cd /remote/home/pc4/stesy/Cosy";
+
+sync_dir("rep","rep",3);
+sync_dir("log","log",3);
+sync_dir("tpoint","txt",3);
+
+sub sync_dir() {
+	$directory=$_[0];
+	$extension=$_[1];
+	$days=$_[2];
+	#@files = `ls $directory/`;
+	print "find $directory/ -ctime -$days\n";
+	@files = `find $directory/ -ctime -$days`;
+	foreach (@files) {
+		$file=`basename $_`;
+		($id,$date,$nr,$ext)=split(/[_\.]/,$file);
+		if ($id eq "cosy" || $id eq "tpoint" || $id eq "starg") {
+			print "$id_"."$date"."_"."$nr".".$extension -> $date\n";
+			system "mkdir -p /remote/disc01/pc15/drivelogs/$date";
+			system "rsync $directory/$id"."_"."$date"."_"."$nr".".$extension /remote/disc01/pc15/drivelogs/$date/";
+		}
+	}
+}
