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