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