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