source: LMDZ4/trunk/libf/phylmd/ini_histhfNMC.h @ 1351

Last change on this file since 1351 was 1351, checked in by musat, 14 years ago

Add new output files for variables on standard pressure levels at daily and high
frequency (6hr)
IM

  • Property svn:executable set to *
File size: 4.9 KB
Line 
1!
2! $Header$
3!
4c$OMP MASTER
5
6       zstophy = dtime
7       zstohf = ecrit_hf
8       zstomth = ecrit_mth
9c      zout = 6 * 3600.
10       zout = freq_outNMC(3)
11c
12         idayref = day_ref
13         CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
14c
15cym         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon)
16cym         DO i = 1, iim
17cym            zx_lon(i,1) = rlon(i+1)
18cym            zx_lon(i,jjmp1) = rlon(i+1)
19cym         ENDDO
20         DO ll=1,klev
21            znivsig(ll)=float(ll)
22         ENDDO
23cym         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat)
24cym         CALL histbeg("histNMC.nc", iim,zx_lon(:,1), jjmp1,zx_lat(1,:),
25cym     .                 1,iim,1,jjmp1, itau_phy, zjulian, dtime, 
26cym     .                 nhori, nid_hfnmc)
27
28         CALL histbeg_phy("histhfNMC",itau_phy, zjulian, dtime, 
29     .                 nhori, nid_hfnmc)
30c
31         CALL histvert(nid_hfnmc, "plev", "pressure", "Pa",
32     .                 nlevSTD3, rlevSTD3, nvert)
33ccc
34ccc Champs 3D interpolles sur des niveaux de pression du NMC
35ccc
36c
37c ATTENTION : pour AMIP2 on interpole t,u,v,wphi,q,rh
38c             sur les niveaux du NMC et on somme & moyenne
39c             toutes les freq_moyNMC secondes par des routines undefSTD et
40c             moy_undefSTD pour eliminer les valeurs "undef"
41c             de la moyenne mensuelle
42c ======> le "inst(X)" ci-dessous est par consequence factice !
43c
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)
48c
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)
53c
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)
58c
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)
63c
64         CALL histdef(nid_hfnmc, "hur",
65     .                 "Relative humidity", "%",
66     .                iim,jj_nb,nhori, nlevSTD3,1,nlevSTD3, nvert, 32,
67     .                "inst(X)", zout,zout)
68c
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)
73c
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)
78c
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)
83c
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)
88c
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)
93c
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)
99c
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)
105c
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)
111c
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)
117c
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)
123c
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)
129c
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)
135c
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)
141c
142         CALL histend(nid_hfnmc)
143c
144c$OMP END MASTER
145
Note: See TracBrowser for help on using the repository browser.