Strabon

changeset 460:a85f0f7cb00a

Acquisitions per half our are 3.0 for msg2 and 7.0 for msg1_rss
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Thu Jul 19 16:58:41 2012 +0300 (2012-07-19)
parents 8474bc9a1e60
children 77cfd388d706
files scripts/v2.2/runNoaRefinementChain-papos.sh
line diff
     1.1 --- a/scripts/v2.2/runNoaRefinementChain-papos.sh	Thu Jul 19 15:38:08 2012 +0300
     1.2 +++ b/scripts/v2.2/runNoaRefinementChain-papos.sh	Thu Jul 19 16:58:41 2012 +0300
     1.3 @@ -10,9 +10,10 @@
     1.4  URLPREFIX=("HMSG1_RSS_IR_039_s7_"  "HMSG2_IR_039_s7_")
     1.5  SENSOR=(   "MSG1_RSS"              "MSG2")
     1.6  SATELITE=( "METEOSAT9"             "METEOSAT9")
     1.7 +ACQ_HALF_HOUR=( "7.0"              "3.0")
     1.8  SUFFIX=".hotspots.n3"
     1.9  PROCESSING_CHAIN="DynamicThresholds"
    1.10 -ACQUISITIONS_IN_HALF_AN_HOUR="3.0"
    1.11 +
    1.12  
    1.13  # log files
    1.14  logFile="chain.log"
    1.15 @@ -121,7 +122,7 @@
    1.16  	prefix=${URLPREFIX[$i]}
    1.17  	sensor=${SENSOR[$i]}
    1.18  	satelite=${SATELITE[$i]}
    1.19 -	
    1.20 +    acquisitions=${ACQ_HALF_HOUR[$i]}
    1.21  	# get hotpost URLS
    1.22  	for hot in $(curl -s ${HOTSPOTS_URL}/${dir}/ | grep -o ">${prefix}.*\.n3" | colrm 1 1); do
    1.23  		echo $hot
    1.24 @@ -137,6 +138,8 @@
    1.25  		t2=$(expr substr ${hot} $(( ${offset} + 9 )) 2)
    1.26  		time2="${t1}:${t2}"
    1.27  
    1.28 +		printf "$hot " >> ${timings}
    1.29 +
    1.30  		# store file
    1.31  		echo -n "storing " $file; echo; echo; 
    1.32  		# ${countTime} ./strabon -db endpoint store $file
    1.33 @@ -218,7 +221,7 @@
    1.34  		query=`echo "${refineTimePersistence}" | sed "s/TIMESTAMP/20${year}-${month}-${day}T${time2}:00/g" | \
    1.35  		sed "s/PROCESSING_CHAIN/${PROCESSING_CHAIN}/g" | \
    1.36  		sed "s/SENSOR/${sensor}/g" | \
    1.37 -		sed "s/ACQUISITIONS_IN_HALF_AN_HOUR/${ACQUISITIONS_IN_HALF_AN_HOUR}/g" | \
    1.38 +		sed "s/ACQUISITIONS_IN_HALF_AN_HOUR/${acquisitions}/g" | \
    1.39  		sed "s/MIN_ACQUISITION_TIME/${min_acquisition_time}/g" |\
    1.40  		sed "s/SAT/${satelite}/g"`
    1.41