| 1 | nx=120;ny=31;nz=29;n=nx*ny*nz;nens=30;iter=68; | nx=120;ny=31;nz=29;n=nx*ny*nz;nens=30; | 
| 2 |  | %iter=68; | 
| 3 | z=15; | z=15; | 
| 4 |  | disp=0; | 
| 5 |  |  | 
| 6 |  |  | 
| 7 | %filename=sprintf('%s','../00/assimilate/pickup.in') | %filename=sprintf('%s','../00/assimilate/pickup.in') | 
| 32 | ensv(:,:,:)=reshape(mean(memv,2),[nx ny nz]); | ensv(:,:,:)=reshape(mean(memv,2),[nx ny nz]); | 
| 33 | ensw(:,:,:)=reshape(mean(memw,2),[nx ny nz]); | ensw(:,:,:)=reshape(mean(memw,2),[nx ny nz]); | 
| 34 |  |  | 
|  | subplot(3,2,1);imagesc(truu(:,:,z)); |  | 
|  | subplot(3,2,3);imagesc(truv(:,:,z)); |  | 
|  | subplot(3,2,5);imagesc(truw(:,:,z)); |  | 
|  |  |  | 
|  | subplot(3,2,2);imagesc(ensu(:,:,z)); |  | 
|  | subplot(3,2,4);imagesc(ensv(:,:,z)); |  | 
|  | subplot(3,2,6);imagesc(ensw(:,:,z)); |  | 
|  | title(sprintf('%s%i','truth and ensemble mean after assim',iter)); |  | 
| 35 |  |  | 
| 36 |  | rmsu=reshape(std(memu,0,2),[nx ny nz]); | 
| 37 |  | rmsv=reshape(std(memv,0,2),[nx ny nz]); | 
| 38 |  | rmsw=reshape(std(memw,0,2),[nx ny nz]); | 
| 39 |  |  | 
| 40 |  | %figure(1);imagesc(rmsu(:,:,z));colorbar | 
| 41 |  | %figure(2);imagesc(rmsv(:,:,z));colorbar | 
| 42 |  | %figure(3);imagesc(rmsw(:,:,z));colorbar | 
| 43 |  |  | 
| 44 |  |  | 
| 45 |  | if (disp) | 
| 46 |  | subplot(3,2,1);imagesc(truu(:,:,z));colorbar; | 
| 47 |  | subplot(3,2,3);imagesc(truv(:,:,z));colorbar; | 
| 48 |  | subplot(3,2,5);imagesc(truw(:,:,z));colorbar; | 
| 49 |  |  | 
| 50 |  | subplot(3,2,2);imagesc(ensu(:,:,z));colorbar; | 
| 51 |  | subplot(3,2,4);imagesc(ensv(:,:,z));colorbar; | 
| 52 |  | subplot(3,2,6);imagesc(ensw(:,:,z));colorbar; | 
| 53 |  | title(sprintf('%s%i','truth and ensemble mean after assim',iter)); | 
| 54 |  | end |