| 1 | c |
|---|
| 2 | c $Header$ |
|---|
| 3 | c |
|---|
| 4 | IF (ok_journe) THEN |
|---|
| 5 | c |
|---|
| 6 | ndex2d = 0 |
|---|
| 7 | ndex3d = 0 |
|---|
| 8 | c |
|---|
| 9 | itau_w = itau_phy + itap + start_time * day_step |
|---|
| 10 | c |
|---|
| 11 | c Champs 3D: |
|---|
| 12 | c |
|---|
| 13 | CALL histwrite_phy(nid_bilKPins,"ue",itau_w,ue_lay) |
|---|
| 14 | c |
|---|
| 15 | CALL histwrite_phy(nid_bilKPins,"ve",itau_w,ve_lay) |
|---|
| 16 | c |
|---|
| 17 | CALL histwrite_phy(nid_bilKPins,"uq",itau_w,uq_lay) |
|---|
| 18 | c |
|---|
| 19 | CALL histwrite_phy(nid_bilKPins,"vq",itau_w,vq_lay) |
|---|
| 20 | c |
|---|
| 21 | c Champs 3D: |
|---|
| 22 | C |
|---|
| 23 | CALL histwrite_phy(nid_bilKPins,"temp",itau_w,t_seri) |
|---|
| 24 | c |
|---|
| 25 | CALL histwrite_phy(nid_bilKPins,"ovap",itau_w,qx(:,:,ivap)) |
|---|
| 26 | c |
|---|
| 27 | CALL histwrite_phy(nid_bilKPins,"geop",itau_w,zphi) |
|---|
| 28 | c |
|---|
| 29 | CALL histwrite_phy(nid_bilKPins,"vitu",itau_w,u_seri) |
|---|
| 30 | c |
|---|
| 31 | CALL histwrite_phy(nid_bilKPins,"vitv",itau_w,v_seri) |
|---|
| 32 | c |
|---|
| 33 | CALL histwrite_phy(nid_bilKPins,"vitw",itau_w,omega) |
|---|
| 34 | c |
|---|
| 35 | CALL histwrite_phy(nid_bilKPins,"pres",itau_w,pplay) |
|---|
| 36 | c |
|---|
| 37 | CALL histwrite_phy(nid_bilKPins,"play",itau_w,paprs) |
|---|
| 38 | c |
|---|
| 39 | CALL histwrite_phy(nid_bilKPins,"oliq",itau_w,cldliq) |
|---|
| 40 | c |
|---|
| 41 | CALL histwrite_phy(nid_bilKPins,"dtdyn",itau_w,d_t_dyn) |
|---|
| 42 | c |
|---|
| 43 | CALL histwrite_phy(nid_bilKPins,"dqdyn",itau_w,d_q_dyn) |
|---|
| 44 | c |
|---|
| 45 | CALL histwrite_phy(nid_bilKPins,"dtcon",itau_w,d_t_con) |
|---|
| 46 | c |
|---|
| 47 | CALL histwrite_phy(nid_bilKPins,"ducon",itau_w,d_u_con) |
|---|
| 48 | c => toi-même ! |
|---|
| 49 | |
|---|
| 50 | CALL histwrite_phy(nid_bilKPins,"dvcon",itau_w,d_v_con) |
|---|
| 51 | c |
|---|
| 52 | CALL histwrite_phy(nid_bilKPins,"dqcon",itau_w,d_q_con) |
|---|
| 53 | c |
|---|
| 54 | CALL histwrite_phy(nid_bilKPins,"dtlsc",itau_w,d_t_lsc) |
|---|
| 55 | c |
|---|
| 56 | CALL histwrite_phy(nid_bilKPins,"dqlsc",itau_w,d_q_lsc) |
|---|
| 57 | c |
|---|
| 58 | CALL histwrite_phy(nid_bilKPins,"dtvdf",itau_w,d_t_vdf) |
|---|
| 59 | c |
|---|
| 60 | CALL histwrite_phy(nid_bilKPins,"dqvdf",itau_w,d_q_vdf) |
|---|
| 61 | c |
|---|
| 62 | CALL histwrite_phy(nid_bilKPins,"dtajs",itau_w,d_t_ajs) |
|---|
| 63 | c |
|---|
| 64 | CALL histwrite_phy(nid_bilKPins,"dqajs",itau_w,d_q_ajs) |
|---|
| 65 | c |
|---|
| 66 | CALL histwrite_phy(nid_bilKPins,"dteva",itau_w,d_t_eva) |
|---|
| 67 | c |
|---|
| 68 | CALL histwrite_phy(nid_bilKPins,"dqeva",itau_w,d_q_eva) |
|---|
| 69 | c |
|---|
| 70 | CALL histwrite_phy(nid_bilKPins,"dtswr",itau_w,heat) |
|---|
| 71 | c |
|---|
| 72 | CALL histwrite_phy(nid_bilKPins,"dtsw0",itau_w,heat0) |
|---|
| 73 | c |
|---|
| 74 | CALL histwrite_phy(nid_bilKPins,"dtlwr",itau_w,cool) |
|---|
| 75 | c |
|---|
| 76 | CALL histwrite_phy(nid_bilKPins,"dtlw0",itau_w,cool0) |
|---|
| 77 | c |
|---|
| 78 | CALL histwrite_phy(nid_bilKPins,"duvdf",itau_w,d_u_vdf) |
|---|
| 79 | c |
|---|
| 80 | CALL histwrite_phy(nid_bilKPins,"dvvdf",itau_w,d_v_vdf) |
|---|
| 81 | c |
|---|
| 82 | IF (ok_orodr) THEN |
|---|
| 83 | IF (ok_orolf) THEN |
|---|
| 84 | c |
|---|
| 85 | DO k = 1, klev |
|---|
| 86 | DO i = 1, klon |
|---|
| 87 | d_u_oli(i,k) = d_u_oro(i,k) + d_u_lif(i,k) |
|---|
| 88 | d_v_oli(i,k) = d_v_oro(i,k) + d_v_lif(i,k) |
|---|
| 89 | ENDDO |
|---|
| 90 | ENDDO |
|---|
| 91 | c |
|---|
| 92 | CALL histwrite_phy(nid_bilKPins,"duoli",itau_w,d_u_oli) |
|---|
| 93 | c |
|---|
| 94 | CALL histwrite_phy(nid_bilKPins,"dvoli",itau_w,d_v_oli) |
|---|
| 95 | c |
|---|
| 96 | ENDIF |
|---|
| 97 | ENDIF |
|---|
| 98 | C |
|---|
| 99 | CALL histwrite_phy(nid_bilKPins,"duphy",itau_w,d_u) |
|---|
| 100 | c |
|---|
| 101 | CALL histwrite_phy(nid_bilKPins,"dvphy",itau_w,d_v) |
|---|
| 102 | c |
|---|
| 103 | CALL histwrite_phy(nid_bilKPins,"dtphy",itau_w,d_t) |
|---|
| 104 | c |
|---|
| 105 | CALL histwrite_phy(nid_bilKPins,"dqphy",itau_w,d_qx(:,:,1)) |
|---|
| 106 | c |
|---|
| 107 | CALL histwrite_phy(nid_bilKPins,"dqlphy",itau_w,d_qx(:,:,2)) |
|---|
| 108 | c |
|---|
| 109 | cIM 280405 BEG |
|---|
| 110 | c |
|---|
| 111 | c Champs 2D: |
|---|
| 112 | c |
|---|
| 113 | c Ecriture de champs dynamiques sur des niveaux de pression |
|---|
| 114 | c DO k=1, nlevSTD |
|---|
| 115 | DO k=1, 12 |
|---|
| 116 | c |
|---|
| 117 | IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k) |
|---|
| 118 | IF(k.GE.13.AND.k.LE.17) bb3=clevSTD(k) |
|---|
| 119 | c |
|---|
| 120 | IF(bb2.EQ."850") THEN |
|---|
| 121 | c |
|---|
| 122 | CALL histwrite_phy(nid_bilKPins,"u"//bb2,itau_w,usumSTD(:,k,1)) |
|---|
| 123 | c |
|---|
| 124 | CALL histwrite_phy(nid_bilKPins,"v"//bb2,itau_w,vsumSTD(:,k,1)) |
|---|
| 125 | c |
|---|
| 126 | ENDIF !(bb2.EQ."850") |
|---|
| 127 | c |
|---|
| 128 | ENDDO !k=1, 12 |
|---|
| 129 | c |
|---|
| 130 | cIM 280405 END |
|---|
| 131 | C |
|---|
| 132 | if (ok_sync) then |
|---|
| 133 | call histsync(nid_bilKPins) |
|---|
| 134 | endif |
|---|
| 135 | ENDIF |
|---|
| 136 | |
|---|