source: LMDZ4/branches/LMDZ4_par_0/libf/phylmd/ini_histREGDYN.h @ 634

Last change on this file since 634 was 634, checked in by Laurent Fairhead, 19 years ago

Modifications faites à la physique pour la rendre parallele YM
Une branche de travail LMDZ4_par_0 a été créée provisoirement afin de tester
les modifs pleinement avant leurs inclusions dans le tronc principal
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
Line 
1!
2! $Header$
3!
4
5      IF (ok_regdyn) THEN
6     
7        if (monocpu) then
8c
9         PRINT*, 'La frequence de sortie REGDYN est de ', ecrit_mth
10c        PRINT*, 'La frequence de sortie REGDYN est de ', ecrit_regdyn
11cIM cf. LF
12         idayref = day_ref
13         CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
14
15cccIM    CALL ymds2ju(anne_ini, 1, 1, 0.0, zjulian)
16c        CALL ymds2ju(annee_ref, 1, 1, 0.0, zjulian)
17c        zjulian = zjulian + day_ini
18c
19
20c axe vertical pour les differents niveaux des histogrammes
21      DO iw=1, iwmax
22        zx_o500(iw)=wmin+(iw-1./2.)*pas_w
23      ENDDO
24
25         CALL histbeg("histREGDYN", kmaxm1,zx_tau, lmaxm1,zx_pc,
26     .                 1,kmaxm1,1,lmaxm1, itau_phy, zjulian, dtime, 
27     .                 nhoriRD, nid_regdyn)
28
29         CALL histvert(nid_regdyn, "omeganivs", "Omega levels", 
30     .                 "mb/day",
31     .                 iwmax, zx_o500, komega)
32
33c   pour les champs instantannes, il faut mettre la meme valeur pour
34c   zout et tsto.
35c   dtime est passe par ailleurs a histbeg
36
37c        zout = dtime * REAL(NINT(86400./dtime*ecrit_regdyn))
38c        zsto = zout
39c        print*,'zout,zsto=',zout,zsto
40c ecriture mensuelle
41c
42         zsto = dtime
43         zout = dtime * ecrit_mth
44c        zout = dtime * REAL(NINT(86400./dtime*ecrit_regdyn))
45
46c
47c Champs 3D:
48c
49c TROP
50         CALL histdef(nid_regdyn, "hw1", "Tropics Histogram ", "%",
51     &                kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, 
52     &                "ave(X)", zsto,zout)
53
54         CALL histdef(nid_regdyn, "nh1", "Nb of pixels Tropics Histo",
55     &                "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
56     &                32,"ave(X)", zsto,zout)
57c
58
59         CALL histdef(nid_regdyn, "nht1","Total Nb pixels Tropics Histo"
60     &                ,"%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
61     &                32,"ave(X)", zsto,zout)
62c
63c PAN
64         CALL histdef(nid_regdyn, "hw2", "North Pacific Histogram", "%",
65     &                kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, 
66     &                "ave(X)", zsto,zout)
67
68         CALL histdef(nid_regdyn, "nh2", "Nb of pixels North Pacific",
69     &                "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
70     &                32,"ave(X)", zsto,zout)
71c
72
73         CALL histdef(nid_regdyn, "nht2","Total Nb pixels North Pacific
74     &                Histo"
75     &                ,"%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
76     &                32,"ave(X)", zsto,zout)
77c CAL
78         CALL histdef(nid_regdyn, "hw3", "California Histogram", "%",
79     &                kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, 
80     &                "ave(X)", zsto,zout)
81
82         CALL histdef(nid_regdyn, "nh3", "Nb of pixels California
83     &                Histo",
84     &                "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
85     &                32,"ave(X)", zsto,zout)
86c
87
88         CALL histdef(nid_regdyn, "nht3","Total Nb pixels California
89     &                Histo"
90     &                ,"%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
91     &                32,"ave(X)", zsto,zout)
92c HAW
93         CALL histdef(nid_regdyn, "hw4", "Hawai Histogram", "%",
94     &                kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, 
95     &                "ave(X)", zsto,zout)
96
97         CALL histdef(nid_regdyn, "nh4", "Nb of pixels Hawai Histo",
98     &                "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
99     &                32,"ave(X)", zsto,zout)
100c
101
102         CALL histdef(nid_regdyn, "nht4","Total Nb pixels Hawai Histo"
103     &                ,"%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
104     &                32,"ave(X)", zsto,zout)
105c WAP
106         CALL histdef(nid_regdyn, "hw5", "Warm Pool Histogram", "%",
107     &                kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, 
108     &                "ave(X)", zsto,zout)
109
110         CALL histdef(nid_regdyn, "nh5", "Nb of pixels Warm Pool Histo",
111     &                "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
112     &                32,"ave(X)", zsto,zout)
113c
114
115         CALL histdef(nid_regdyn, "nht5","Total Nb pixels Warm Pool
116     &                Histo"
117     &                ,"%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega,
118     &                32,"ave(X)", zsto,zout)
119c
120         CALL histend(nid_regdyn)
121         
122         endif ! monocpu
123
124      endif ! ok_regdyn
Note: See TracBrowser for help on using the repository browser.