source: LMDZ4/trunk/libf/phylmd/ini_histhf3d.h @ 662

Last change on this file since 662 was 644, checked in by Laurent Fairhead, 19 years ago

Synchronisation avec tous les diagnostiques de Ionela IM
Inclusion du slab ocean IM
LF

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