Changeset 143 for altifloat/src/floater.h
- Timestamp:
- 03/31/15 16:31:55 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
altifloat/src/floater.h
r142 r143 2 2 3 3 //constantes 4 YREAL rdtflo=2*3600; 4 //YREAL rdtflo=2*3600; 5 YREAL rdtflo=3600; 5 6 //YREAL rdtflo=1; 6 7 YREAL ur_dx=0; … … 80 81 pmask[i][j]=0; 81 82 } 82 83 /* 83 84 char L1[50]="read_obs"; 84 85 char L2[50]="../obs_float/obs_float_test.dat"; … … 86 87 L[0]=L1; 87 88 L[1]=L2; 88 read_obs(2,L); 89 read_obs(2,L);*/ 89 90 //Test de isactiv 90 91 //printf("isactiv(0,0):%d\n",is_activ(0,0)); … … 448 449 int jfl; 449 450 int Yifloat=0; 450 int nfobs=0; 451 int jptend=it+1+jtlag; 451 int nfobs=0; 452 int ninit=0; 453 int jptend=it+1+jtlag; 452 454 for (jfl=0;jfl<jpnfl;jfl++) { 453 455 nfobs=0; 456 ninit=0; 454 457 if (pmask[it][jfl]==1 && is_activ(jfl,it)>0) { 455 458 //Chargemente de l'init 456 459 YS1_r_float(Yifloat,0)=pjobs[it][jfl]; 457 460 YS2_r_float(Yifloat,0)=piobs[it][jfl]; 461 ninit++; 458 462 //Chargement des obs 459 463 for (int itfl=it+1;itfl<jptend;itfl++) { … … 467 471 468 472 Yifloat++; 469 printf("--Float nr %d : %d obs loaded\n",Yifloat,nfobs);473 printf("--Float nr %d : %d initial position / %d obs loaded\n",Yifloat,ninit,nfobs); 470 474 } //if pmask==1 471 475
Note: See TracChangeset
for help on using the changeset viewer.