Index: trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7529)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7631)
@@ -125,7 +125,7 @@
    var1=$date
    var2=$no2
-   rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw`
+   rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw -o -name *${run}_[D,P,C,S]_*_E.raw.gz`
    echo "rawfile: "$rawfile >> $scriptlog 2>&1
-   date=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw | cut -c 22-31`
+   date=`echo $rawfile | cut -c 22-31`
    echo "date: "$date >> $scriptlog 2>&1
    # for sinope the date is needed in the format YYYY-MM-DD
