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