Commit d387b20d authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

correction de controle remplissage tm-freq-map visi2tmfreq.cc, Reza 19/06/2015

parent 3f436a75
......@@ -157,7 +157,6 @@ int main(int narg, char* arg[])
cout << " visi2tmfreq/Info: allocating Time-Freqncy maps : Freq->NX= "<<tfmSX<<" x Time->NY="<<tfmSY<<endl;
for(int k=0; k<8; k++) vtfm.push_back( TArray< r_4 >(tfmSX, tfmSY) );
}
cnt++;
if (I==0) { // start filling a new DataTable row
dateobs=cfdate;
if (prtlev>0)
......@@ -183,7 +182,14 @@ int main(int narg, char* arg[])
tfmap(ix, TFMtmidx) = (vac( Range(ix*TFMfbin, (ix+1)*TFMfbin-1) ).Sum())*facnorm;
} //---- end of loop over 8 auto-corr
TFMtmidx++;
I=0; cntnt++;
}
cnt++;
if ((TFMtmidx>0)&&(TFMtmidx%10==0)) {
cout << " visi2tmfreq/Info: TimeIndex="<<TFMtmidx<<" fileCount="<<cnt<<" /Max="<<Imax
<<" DateObs="<<dateobs<<endl;
}
} //--- fin de boucle de lecture des fichiers d'entree
cout<<" visi2tmfreq/Info: count="<<cnt<<" visimtx read "<<endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment