Ignore:
Timestamp:
Oct 11, 2011, 11:29:33 AM (13 years ago)
Author:
campagne
Message:

prepare new way to process the data: first perform specmfib, second perform post-analysis (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/proc_specmfib.sh

    r567 r570  
    8686    $ECHO "FATAL: You have forgotten to select the type option (-type)"
    8787    exit 1
    88 else
    89     offtype=`$ECHO ${typeofproc} | $GREP -i OFF | $WC -l`
    90     ontype=`$ECHO ${typeofproc} | $GREP -i ON | $WC -l`
    91     if [ "<${offtype}>" = "<1>" -a  "<${ontype}>" = "<0>" ]; then
    92         datatype="OFF"
    93     elif [ "<${offtype}>" = "<0>" -a  "<${ontype}>" = "<1>" ]; then
    94         datatype="ON"
    95     else
    96         $ECHO "FATAL: not supported: -type ${typeofproc}"
    97         exit 1
    98     fi
    99 fi
     88
     89fi
     90#else
     91#    offtype=`$ECHO ${typeofproc} | $GREP -i OFF | $WC -l`
     92#    ontype=`$ECHO ${typeofproc} | $GREP -i ON | $WC -l`
     93#    if [ "<${offtype}>" = "<1>" -a  "<${ontype}>" = "<0>" ]; then
     94#       datatype="OFF"
     95#    elif [ "<${offtype}>" = "<0>" -a  "<${ontype}>" = "<1>" ]; then
     96#       datatype="ON"
     97#    else
     98#       $ECHO "FATAL: not supported: -type ${typeofproc}"
     99#       exit 1
     100#    fi
     101#fi
    100102
    101103
     
    220222#JEC 29/9/11 avoid finished stuff
    221223#$RM -f ${tmppublicpath}/select.finished
    222 ${scriptpath}/select.sh ${scaFileSummarized} ${dirFiberfile} ${datatype} | $GREP "^#[0-9]" | $SED "s/^#//" > $headerFileSelected
     224${scriptpath}/select.sh ${scaFileSummarized} ${dirFiberfile} ${typeofproc} | $GREP "^#[0-9]" | $SED "s/^#//" > $headerFileSelected
    223225#while [ ! -f "${tmppublicpath}/select.finished" ]; do
    224226#    $ECHO "INFO (${scriptName}): waiting for ${tmppublicpath}/select.finished"
Note: See TracChangeset for help on using the changeset viewer.