source: LMDZ.3.3/branches/rel-LF/libf/phylmd/ini_histhf.h @ 467

Last change on this file since 467 was 467, checked in by lmdzadmin, 21 years ago

Modifs sur les seuils (cdrag etc...), inclusion des diagnostics ISCCP par Ionela
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 KB
Line 
1
2      IF (ok_hf) THEN
3c
4         PRINT*, 'La frequence de sortie instant. est de ', ecrit_hf
5
6cccIM    CALL ymds2ju(anne_ini, 1, 1, 0.0, zjulian)
7         idayref = day_ref
8         CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
9
10c
11         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon)
12         DO i = 1, iim
13            zx_lon(i,1) = rlon(i+1)
14            zx_lon(i,jjmp1) = rlon(i+1)
15         ENDDO
16
17         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat)
18
19cccIM      CALL histbeg("histhf", iim,zx_lon, jjmp1,zx_lat,
20         CALL histbeg("histhf", iim,zx_lon(:,1), jjmp1,zx_lat(1,:),
21     .                 1,iim,1,jjmp1, itau_phy, zjulian, dtime, 
22     .                 nhori, nid_hf)
23
24         CALL histvert(nid_hf, "presnivs", "Vertical levels", "mb",
25     .                 klev, presnivs, nvert)
26         zsto = dtime
27
28c   pour les champs instantannes, il faut mettre la meme valeur pour
29c   zout et tsto.
30c   dtime est passe par ailleurs a histbeg
31
32         zout = dtime * REAL(NINT(86400./dtime*ecrit_hf))
33         zsto = zout
34         print*,'zout,zsto=',zout,zsto
35
36c
37c        CALL histdef(nid_hf, "phis", "Surface geop. height", "-",
38c    .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
39c    .                "once", zsto,zout)
40c
41c        CALL histdef(nid_hf, "aire", "Grid area", "-",
42c    .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
43c    .                "once", zsto,zout)
44c
45c Champs 2D:
46c
47         CALL histdef(nid_hf, "tsol", "Surface Temperature", "K",
48     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
49     .                "inst(X)", zsto,zout)
50c
51         CALL histdef(nid_hf, "psol", "Surface Pressure", "Pa",
52     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
53     .                "inst(X)", zsto,zout)
54c
55         print*,'ATTENTION METTRE AVE(X) POUR LES PRECIPS'
56
57         CALL histdef(nid_hf, "rain", "Precipitation", "mm/d",
58     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
59     .                "inst(X)", zsto,zout)
60c
61         CALL histdef(nid_hf, "u850", "Zonal wind 850mb", "m/s",
62     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
63     .                "inst(X)", zsto,zout)
64
65         CALL histdef(nid_hf, "v850", "Meridional wind 850mb", "m/s",
66     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
67     .                "inst(X)", zsto,zout)
68c
69         CALL histdef(nid_hf, "u500", "Zonal wind 500mb", "m/s",
70     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
71     .                "inst(X)", zsto,zout)
72
73         CALL histdef(nid_hf, "v500", "Meridional wind 500mb", "m/s",
74     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
75     .                "inst(X)", zsto,zout)
76
77         CALL histdef(nid_hf, "u200", "Zonal wind 200mb", "m/s",
78     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
79     .                "inst(X)", zsto,zout)
80
81         CALL histdef(nid_hf, "v200", "Meridional wind 200mb", "m/s",
82     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
83     .                "inst(X)", zsto,zout)
84
85         CALL histdef(nid_hf, "phi500", "Geopotentiel a 500mb", "m2/s2",
86     .                iim,jjmp1,nhori, 1,1,1, -99, 32, 
87     .                "inst(X)", zsto,zout)
88
89cIM cf FH
90         CALL histdef(nid_hf,"u1","Zonal wind at 1st layer", "m/s",
91     .                iim,jjmp1,nhori, 1,1,1, -99, 32,
92     .                "inst(X)", zsto,zout)
93
94         CALL histdef(nid_hf,"v1","Meridional wind at 1st layer",
95     .                "m/s",iim,jjmp1,nhori, 1,1,1, -99, 32,
96     .                "inst(X)", zsto,zout)
97 
98         CALL histdef(nid_hf, "cdrm", " Momentum drag coef.", "-",
99     .                iim,jjmp1,nhori, 1,1,1, -99, 32,
100     .                "inst(X)", zsto,zout)
101
102         CALL histdef(nid_hf, "cdrh", "Heat drag coef.", "-",
103     .                iim,jjmp1,nhori, 1,1,1, -99, 32,
104     .                "inst(X)", zsto,zout)
105 
106c
107         CALL histend(nid_hf)
108
109      endif ! ok_hf
Note: See TracBrowser for help on using the repository browser.