source: LMDZ4/branches/LMDZ4_V2_patch/libf/phylmd/ini_histhf3d.h @ 759

Last change on this file since 759 was 740, checked in by lmdzadmin, 18 years ago

Correction bogues: les ecrit_ sont des REALs lus dans conf_phys.F90 en
nombre de jours sauf pour ecrit_ins et ecrit_tra en secondes!
Les ecrit_ sont initialises dans conf_phys.F90 et peuvent etre modifies dans
physiq.def.
IM

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