source: LMDZ6/branches/Amaury_dev/libf/obsolete/ini_histREGDYN.h @ 5209

Last change on this file since 5209 was 5139, checked in by abarral, 8 weeks ago

Put nuage.h, flux_arp.h, compbl.h into modules
Move unused phylmd/ini_hist* to obsolete

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