source: LMDZ4/tags/V3_conv/libf/phylmd/ini_histhf3d.h @ 1386

Last change on this file since 1386 was 704, checked in by Laurent Fairhead, 18 years ago

Inclusion des modifs de Y. Meurdesoif pour la version V3
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1
2c
3c $Header$
4c
5c sorties hf 3d
6c
7        zstohf = ecrit_hf
8        zout = ecrit_hf
9c
10c       PRINT*, 'La frequence de sortie hf3d est de ', ecrit_hf
11c
12        idayref = day_ref
13        CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
14c
15
16cym         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon)
17cym         DO i = 1, iim
18cym            zx_lon(i,1) = rlon(i+1)
19cym            zx_lon(i,jjmp1) = rlon(i+1)
20cym         ENDDO
21
22cym         CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat)
23
24cccIM      CALL histbeg("histhf", iim,zx_lon, jjmp1,zx_lat,
25cym         CALL histbeg("histhf3d", iim,zx_lon(:,1), jjmp1,zx_lat(1,:),
26cym     .                 1,iim,1,jjmp1, itau_phy, zjulian, dtime, 
27cym     .                 nhori, nid_hf3d)
28         CALL histbeg_phy("histhf3d", itau_phy, zjulian, dtime, 
29     .                 nhori, nid_hf3d)
30
31        CALL histvert(nid_hf3d, "presnivs", "Vertical levels", "mb",
32     .                 klev, presnivs/100., nvert)
33c
34c Champs 3D:
35c
36        CALL histdef(nid_hf3d, "temp", "Air temperature", "K",
37     .                iim,jjphy_nb,nhori, klev,1,klev,nvert, 32,
38     .                "ave(X)", zstohf,zout)
39c
40        CALL histdef(nid_hf3d, "ovap", "Specific humidity", "kg/kg",
41     .                iim,jjphy_nb,nhori, klev,1,klev,nvert, 32,
42     .                "ave(X)", zstohf,zout)
43c
44        CALL histdef(nid_hf3d, "vitu", "Zonal wind", "m/s",
45     .                iim,jjphy_nb,nhori, klev,1,klev,nvert, 32,
46     .                "ave(X)", zstohf,zout)
47c
48        CALL histdef(nid_hf3d, "vitv", "Meridional wind", "m/s",
49     .                iim,jjphy_nb,nhori, klev,1,klev,nvert, 32,
50     .                "ave(X)", zstohf,zout)
51c
52        CALL histend(nid_hf3d)
53c
Note: See TracBrowser for help on using the repository browser.