source: LMDZ4/branches/unlabeled-1.1.1/libf/phylmd/write_histhf3d.h @ 1148

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

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1!
2! $Header$
3!
4c     if (ok_hf) then
5
6c   Comprendre comment marche el i=nint(zout/zsto)
7c
8c     print*,'ACRITURE HF !!! ACRITURE HF !!! ACRITURE HF !!! '
9      ndex2d = 0
10      ndex3d = 0
11c
12      zsto = dtime
13      zout = dtime * ecrit_hf
14      itau_w = itau_phy + itap
15c
16c     IF(lev_histhf.GE.1) THEN
17c
18c Champs 3D:
19c
20      CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d)
21      CALL histwrite(nid_hf3d,"temp",itau_w,zx_tmp_3d,
22     .                                   iim*jjmp1*klev,ndex3d)
23c
24      CALL gr_fi_ecrit(klev,klon,iim,jjmp1, qx(1,1,ivap), zx_tmp_3d)
25      CALL histwrite(nid_hf3d,"ovap",itau_w,zx_tmp_3d,
26     .                                   iim*jjmp1*klev,ndex3d)
27c
28      CALL gr_fi_ecrit(klev,klon,iim,jjmp1, u_seri, zx_tmp_3d)
29      CALL histwrite(nid_hf3d,"vitu",itau_w,zx_tmp_3d,
30     .                                   iim*jjmp1*klev,ndex3d)
31c
32      CALL gr_fi_ecrit(klev,klon,iim,jjmp1, v_seri, zx_tmp_3d)
33      CALL histwrite(nid_hf3d,"vitv",itau_w,zx_tmp_3d,
34     .                                   iim*jjmp1*klev,ndex3d)
35c
36c     ENDIF !lev_histhf.GE.1
37c
38      if (ok_sync) then
39        call histsync(nid_hf3d)
40      endif
41
42c     endif
Note: See TracBrowser for help on using the repository browser.