source: LMDZ4/branches/LMDZ4_V2_patch/libf/phylmd/ini_histREGDYN.h @ 1328

Last change on this file since 1328 was 740, checked in by lmdzadmin, 18 years ago

Correction bogues: les ecrit_ sont des REALs lus dans conf_phys.F90 en
nombre de jours sauf pour ecrit_ins et ecrit_tra en secondes!
Les ecrit_ sont initialises dans conf_phys.F90 et peuvent etre modifies dans
physiq.def.
IM

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