[1351] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | c$OMP MASTER |
---|
| 5 | |
---|
| 6 | zstophy = dtime |
---|
| 7 | zstohf = ecrit_hf |
---|
| 8 | zstomth = ecrit_mth |
---|
| 9 | c zout = 6 * 3600. |
---|
| 10 | zout = freq_outNMC(3) |
---|
| 11 | c |
---|
| 12 | idayref = day_ref |
---|
| 13 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
| 14 | c |
---|
| 15 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon) |
---|
| 16 | cym DO i = 1, iim |
---|
| 17 | cym zx_lon(i,1) = rlon(i+1) |
---|
| 18 | cym zx_lon(i,jjmp1) = rlon(i+1) |
---|
| 19 | cym ENDDO |
---|
| 20 | DO ll=1,klev |
---|
| 21 | znivsig(ll)=float(ll) |
---|
| 22 | ENDDO |
---|
| 23 | cym CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat) |
---|
| 24 | cym CALL histbeg("histNMC.nc", iim,zx_lon(:,1), jjmp1,zx_lat(1,:), |
---|
| 25 | cym . 1,iim,1,jjmp1, itau_phy, zjulian, dtime, |
---|
| 26 | cym . nhori, nid_hfnmc) |
---|
| 27 | |
---|
| 28 | CALL histbeg_phy("histhfNMC",itau_phy, zjulian, dtime, |
---|
| 29 | . nhori, nid_hfnmc) |
---|
| 30 | c |
---|
| 31 | CALL histvert(nid_hfnmc, "plev", "pressure", "Pa", |
---|
| 32 | . nlevSTD3, rlevSTD3, nvert) |
---|
| 33 | ccc |
---|
| 34 | ccc Champs 3D interpolles sur des niveaux de pression du NMC |
---|
| 35 | ccc |
---|
| 36 | c |
---|
| 37 | c ATTENTION : pour AMIP2 on interpole t,u,v,wphi,q,rh |
---|
| 38 | c sur les niveaux du NMC et on somme & moyenne |
---|
| 39 | c toutes les freq_moyNMC secondes par des routines undefSTD et |
---|
| 40 | c moy_undefSTD pour eliminer les valeurs "undef" |
---|
| 41 | c de la moyenne mensuelle |
---|
| 42 | c ======> le "inst(X)" ci-dessous est par consequence factice ! |
---|
| 43 | c |
---|
| 44 | CALL histdef(nid_hfnmc, "tnondef", |
---|
| 45 | . "Valeurs non-definies","-", |
---|
| 46 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 47 | . "inst(X)", zout,zout) |
---|
| 48 | c |
---|
| 49 | CALL histdef(nid_hfnmc, "ta", |
---|
| 50 | . "Air temperature","K", |
---|
| 51 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 52 | . "inst(X)", zout,zout) |
---|
| 53 | c |
---|
| 54 | CALL histdef(nid_hfnmc, "zg", |
---|
| 55 | . "Geopotential height", "m", |
---|
| 56 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 57 | . "inst(X)", zout,zout) |
---|
| 58 | c |
---|
| 59 | CALL histdef(nid_hfnmc, "hus", |
---|
| 60 | . "Specific humidity","1", |
---|
| 61 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 62 | . "inst(X)", zout,zout) |
---|
| 63 | c |
---|
| 64 | CALL histdef(nid_hfnmc, "hur", |
---|
| 65 | . "Relative humidity", "%", |
---|
| 66 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 67 | . "inst(X)", zout,zout) |
---|
| 68 | c |
---|
| 69 | CALL histdef(nid_hfnmc, "ua", |
---|
| 70 | . "Eastward wind","m s-1", |
---|
| 71 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 72 | . "inst(X)", zout,zout) |
---|
| 73 | c |
---|
| 74 | CALL histdef(nid_hfnmc, "va", |
---|
| 75 | . "Northward wind","m s-1", |
---|
| 76 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 77 | . "inst(X)", zout,zout) |
---|
| 78 | c |
---|
| 79 | CALL histdef(nid_hfnmc, "wap", |
---|
| 80 | . "Lagrangian tendency of air pressure","Pa s-1", |
---|
| 81 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 82 | . "inst(X)", zout,zout) |
---|
| 83 | c |
---|
| 84 | CALL histdef(nid_hfnmc, "psbg", |
---|
| 85 | . "Pressure sfce below ground","%", |
---|
| 86 | . iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 87 | . "inst(X)", zout,zout) |
---|
| 88 | c |
---|
| 89 | CALL histdef(nid_hfnmc, "uv", |
---|
| 90 | . "uv ", |
---|
| 91 | . "m2/s2",iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 92 | . "inst(X)", zout,zout) |
---|
| 93 | c |
---|
| 94 | CALL histdef(nid_hfnmc, "vq", |
---|
| 95 | . "vq ", |
---|
| 96 | . "m/s * (kg/kg)",iim,jj_nb,nhori, |
---|
| 97 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 98 | . "inst(X)", zout,zout) |
---|
| 99 | c |
---|
| 100 | CALL histdef(nid_hfnmc, "vT", |
---|
| 101 | . "vT ", |
---|
| 102 | . "mK/s",iim,jj_nb,nhori, |
---|
| 103 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 104 | . "inst(X)", zout,zout) |
---|
| 105 | c |
---|
| 106 | CALL histdef(nid_hfnmc, "wq", |
---|
| 107 | . "wq ", |
---|
| 108 | . "(Pa/s)*(kg/kg)",iim,jj_nb,nhori, |
---|
| 109 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 110 | . "inst(X)", zout,zout) |
---|
| 111 | c |
---|
| 112 | CALL histdef(nid_hfnmc, "vphi", |
---|
| 113 | . "vphi ", |
---|
| 114 | . "m2/s",iim,jj_nb,nhori, |
---|
| 115 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 116 | . "inst(X)", zout,zout) |
---|
| 117 | c |
---|
| 118 | CALL histdef(nid_hfnmc, "wT", |
---|
| 119 | . "wT ", |
---|
| 120 | . "K*Pa/s",iim,jj_nb,nhori, |
---|
| 121 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 122 | . "inst(X)", zout,zout) |
---|
| 123 | c |
---|
| 124 | CALL histdef(nid_hfnmc, "uxu", |
---|
| 125 | . "u2 ", |
---|
| 126 | . "m2/s2",iim,jj_nb,nhori, |
---|
| 127 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 128 | . "inst(X)", zout,zout) |
---|
| 129 | c |
---|
| 130 | CALL histdef(nid_hfnmc, "vxv", |
---|
| 131 | . "v2 ", |
---|
| 132 | . "m2/s2",iim,jj_nb,nhori, |
---|
| 133 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 134 | . "inst(X)", zout,zout) |
---|
| 135 | c |
---|
| 136 | CALL histdef(nid_hfnmc, "TxT", |
---|
| 137 | . "T2 ", |
---|
| 138 | . "K2",iim,jj_nb,nhori, |
---|
| 139 | . nlevSTD3,1,nlevSTD3, nvert, 32, |
---|
| 140 | . "inst(X)", zout,zout) |
---|
| 141 | c |
---|
| 142 | CALL histend(nid_hfnmc) |
---|
| 143 | c |
---|
| 144 | c$OMP END MASTER |
---|
| 145 | |
---|