1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | if (ok_regdyn) then |
---|
5 | |
---|
6 | c Comprendre comment marche el i=nint(zout/zsto) |
---|
7 | c |
---|
8 | ndex2d = 0 |
---|
9 | ndex3d = 0 |
---|
10 | c |
---|
11 | c itap = 0 |
---|
12 | c zsto = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
---|
13 | c zout = dtime * ecrit_mth |
---|
14 | |
---|
15 | c zsto = dtime |
---|
16 | c zout = dtime * ecrit_mth |
---|
17 | c zsto = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
---|
18 | itau_w = itau_phy + itap |
---|
19 | |
---|
20 | CALL histwrite(nid_regdyn,"hw1",itau_w,histoW(:,:,:,1), |
---|
21 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
22 | c |
---|
23 | CALL histwrite(nid_regdyn,"nh1",itau_w,nhistoW(:,:,:,1), |
---|
24 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
25 | c |
---|
26 | CALL histwrite(nid_regdyn,"nht1",itau_w,nhistoWt(:,:,:,1), |
---|
27 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
28 | c |
---|
29 | CALL histwrite(nid_regdyn,"hw2",itau_w,histoW(:,:,:,2), |
---|
30 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
31 | c |
---|
32 | CALL histwrite(nid_regdyn,"nh2",itau_w,nhistoW(:,:,:,2), |
---|
33 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
34 | c |
---|
35 | CALL histwrite(nid_regdyn,"nht2",itau_w,nhistoWt(:,:,:,2), |
---|
36 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
37 | c |
---|
38 | CALL histwrite(nid_regdyn,"hw3",itau_w,histoW(:,:,:,3), |
---|
39 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
40 | c |
---|
41 | CALL histwrite(nid_regdyn,"nh3",itau_w,nhistoW(:,:,:,3), |
---|
42 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
43 | c |
---|
44 | CALL histwrite(nid_regdyn,"nht3",itau_w,nhistoWt(:,:,:,3), |
---|
45 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
46 | c |
---|
47 | CALL histwrite(nid_regdyn,"hw4",itau_w,histoW(:,:,:,4), |
---|
48 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
49 | c |
---|
50 | CALL histwrite(nid_regdyn,"nh4",itau_w,nhistoW(:,:,:,4), |
---|
51 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
52 | c |
---|
53 | CALL histwrite(nid_regdyn,"nht4",itau_w,nhistoWt(:,:,:,4), |
---|
54 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
55 | c |
---|
56 | CALL histwrite(nid_regdyn,"hw5",itau_w,histoW(:,:,:,5), |
---|
57 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
58 | c |
---|
59 | CALL histwrite(nid_regdyn,"nh5",itau_w,nhistoW(:,:,:,5), |
---|
60 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
61 | c |
---|
62 | CALL histwrite(nid_regdyn,"nht5",itau_w,nhistoWt(:,:,:,5), |
---|
63 | & kmaxm1*lmaxm1*iwmax,ndex3d) |
---|
64 | |
---|
65 | if (ok_sync) then |
---|
66 | call histsync(nid_regdyn) |
---|
67 | endif |
---|
68 | |
---|
69 | endif |
---|