1 | if (ok_regdyn) then |
---|
2 | |
---|
3 | c Comprendre comment marche el i=nint(zout/zsto) |
---|
4 | c |
---|
5 | ndex2d = 0 |
---|
6 | ndex3d = 0 |
---|
7 | c |
---|
8 | c itap = 0 |
---|
9 | c zsto = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
---|
10 | c zout = dtime * ecrit_mth |
---|
11 | |
---|
12 | c zsto = dtime |
---|
13 | c zout = dtime * ecrit_mth |
---|
14 | c zsto = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
---|
15 | itau_w = itau_phy + itap |
---|
16 | c |
---|
17 | c i = NINT(zout/zsto) |
---|
18 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,pphis,zx_tmp_2d) |
---|
19 | c CALL histwrite(nid_regdyn,"phis",i,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
20 | c |
---|
21 | c i = NINT(zout/zsto) |
---|
22 | c CALL gr_fi_ecrit(1,klon,iim,jjmp1,paire,zx_tmp_2d) |
---|
23 | c CALL histwrite(nid_regdyn,"aire",i,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
24 | C |
---|
25 | c CALL gr_fi_ecrit(1, klon,iim,jjmp1, zxtsol,zx_tmp_2d) |
---|
26 | c CALL histwrite(nid_regdyn,"tsol",itap,zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
27 | c |
---|
28 | c 8 or day CALL histwrite(nid_regdyn,"histoW",itap,histoW, |
---|
29 | c |
---|
30 | c CALL gr_fi_ecrit(klev,klon,iim,jjmp1, t_seri, zx_tmp_3d) |
---|
31 | |
---|
32 | c |
---|
33 | c CALL gr_fi_ecrit(iwmax,kmaxm1*lmaxm1,kmaxm1,lmaxm1, |
---|
34 | c . histoW, zx_tmp_3d) |
---|
35 | |
---|
36 | CALL histwrite(nid_regdyn,"hw1",itau_w,histoW(:,:,:,1), |
---|
37 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
38 | c |
---|
39 | CALL histwrite(nid_regdyn,"nh1",itau_w,nhistoW(:,:,:,1), |
---|
40 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
41 | c |
---|
42 | CALL histwrite(nid_regdyn,"nht1",itau_w,nhistoWt(:,:,:,1), |
---|
43 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
44 | c |
---|
45 | CALL histwrite(nid_regdyn,"hw2",itau_w,histoW(:,:,:,2), |
---|
46 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
47 | c |
---|
48 | CALL histwrite(nid_regdyn,"nh2",itau_w,nhistoW(:,:,:,2), |
---|
49 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
50 | c |
---|
51 | CALL histwrite(nid_regdyn,"nht2",itau_w,nhistoWt(:,:,:,2), |
---|
52 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
53 | c |
---|
54 | CALL histwrite(nid_regdyn,"hw3",itau_w,histoW(:,:,:,3), |
---|
55 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
56 | c |
---|
57 | CALL histwrite(nid_regdyn,"nh3",itau_w,nhistoW(:,:,:,3), |
---|
58 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
59 | c |
---|
60 | CALL histwrite(nid_regdyn,"nht3",itau_w,nhistoWt(:,:,:,3), |
---|
61 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
62 | c |
---|
63 | CALL histwrite(nid_regdyn,"hw4",itau_w,histoW(:,:,:,4), |
---|
64 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
65 | c |
---|
66 | CALL histwrite(nid_regdyn,"nh4",itau_w,nhistoW(:,:,:,4), |
---|
67 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
68 | c |
---|
69 | CALL histwrite(nid_regdyn,"nht4",itau_w,nhistoWt(:,:,:,4), |
---|
70 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
71 | c |
---|
72 | CALL histwrite(nid_regdyn,"hw5",itau_w,histoW(:,:,:,5), |
---|
73 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
74 | c |
---|
75 | CALL histwrite(nid_regdyn,"nh5",itau_w,nhistoW(:,:,:,5), |
---|
76 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
77 | c |
---|
78 | CALL histwrite(nid_regdyn,"nht5",itau_w,nhistoWt(:,:,:,5), |
---|
79 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
80 | |
---|
81 | if (ok_sync) then |
---|
82 | call histsync(nid_regdyn) |
---|
83 | endif |
---|
84 | |
---|
85 | endif |
---|