source: LMDZ6/branches/Amaury_dev/libf/phylmd/write_histREGDYN.h @ 5119

Last change on this file since 5119 was 5117, checked in by abarral, 4 months ago

rename modules properly lmdz_*
move some unused files to obsolete/
(lint) uppercase fortran keywords

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1
2! $Header$
3
4      IF (ok_regdyn) THEN
5      IF (is_sequential) THEN
6      ndex3d = 0
7      itau_w = itau_phy + itap + start_time * day_step / iphysiq
8c
9       CALL histwrite(nid_regdyn,"hw1",itau_w,histoW(:,:,:,1),
10     &               kmaxm1*lmaxm1*iwmax,ndex3d)
11c
12       CALL histwrite(nid_regdyn,"nh1",itau_w,nhistoW(:,:,:,1),
13     &               kmaxm1*lmaxm1*iwmax,ndex3d)
14c
15       CALL histwrite(nid_regdyn,"nht1",itau_w,nhistoWt(:,:,:,1),
16     &               kmaxm1*lmaxm1*iwmax,ndex3d)
17c
18       CALL histwrite(nid_regdyn,"hw2",itau_w,histoW(:,:,:,2),
19     &               kmaxm1*lmaxm1*iwmax,ndex3d)
20c
21       CALL histwrite(nid_regdyn,"nh2",itau_w,nhistoW(:,:,:,2),
22     &               kmaxm1*lmaxm1*iwmax,ndex3d)
23c
24       CALL histwrite(nid_regdyn,"nht2",itau_w,nhistoWt(:,:,:,2),
25     &               kmaxm1*lmaxm1*iwmax,ndex3d)
26c
27       CALL histwrite(nid_regdyn,"hw3",itau_w,histoW(:,:,:,3),
28     &               kmaxm1*lmaxm1*iwmax,ndex3d)
29c
30       CALL histwrite(nid_regdyn,"nh3",itau_w,nhistoW(:,:,:,3),
31     &               kmaxm1*lmaxm1*iwmax,ndex3d)
32c
33       CALL histwrite(nid_regdyn,"nht3",itau_w,nhistoWt(:,:,:,3),
34     &               kmaxm1*lmaxm1*iwmax,ndex3d)
35c
36       CALL histwrite(nid_regdyn,"hw4",itau_w,histoW(:,:,:,4),
37     &               kmaxm1*lmaxm1*iwmax,ndex3d)
38c
39       CALL histwrite(nid_regdyn,"nh4",itau_w,nhistoW(:,:,:,4),
40     &               kmaxm1*lmaxm1*iwmax,ndex3d)
41c
42       CALL histwrite(nid_regdyn,"nht4",itau_w,nhistoWt(:,:,:,4),
43     &               kmaxm1*lmaxm1*iwmax,ndex3d)
44c
45       CALL histwrite(nid_regdyn,"hw5",itau_w,histoW(:,:,:,5),
46     &               kmaxm1*lmaxm1*iwmax,ndex3d)
47c
48       CALL histwrite(nid_regdyn,"nh5",itau_w,nhistoW(:,:,:,5),
49     &               kmaxm1*lmaxm1*iwmax,ndex3d)
50c
51       CALL histwrite(nid_regdyn,"nht5",itau_w,nhistoWt(:,:,:,5),
52     &               kmaxm1*lmaxm1*iwmax,ndex3d)
53
54      IF (ok_sync) THEN
55        CALL histsync(nid_regdyn)
56      endif
57
58      endif ! is_sequential
59
60      endif
Note: See TracBrowser for help on using the repository browser.