1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | c if (ok_hf) then |
---|
5 | |
---|
6 | c Comprendre comment marche el i=nint(zout/zsto) |
---|
7 | c |
---|
8 | c print*,'ACRITURE HF !!! ACRITURE HF !!! ACRITURE HF !!! ' |
---|
9 | ndex2d = 0 |
---|
10 | ndex3d = 0 |
---|
11 | c |
---|
12 | zsto = dtime |
---|
13 | zout = dtime * ecrit_hf |
---|
14 | itau_w = itau_phy + itap |
---|
15 | c |
---|
16 | c IF(lev_histhf.GE.1) THEN |
---|
17 | c |
---|
18 | c Champs 3D: |
---|
19 | c |
---|
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) |
---|
23 | c |
---|
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) |
---|
27 | c |
---|
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) |
---|
31 | c |
---|
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) |
---|
35 | c |
---|
36 | c ENDIF !lev_histhf.GE.1 |
---|
37 | c |
---|
38 | if (ok_sync) then |
---|
39 | call histsync(nid_hf3d) |
---|
40 | endif |
---|
41 | |
---|
42 | c endif |
---|