| 1 | ! |
|---|
| 2 | ! $Header$ |
|---|
| 3 | ! |
|---|
| 4 | |
|---|
| 5 | IF (ok_regdyn) THEN |
|---|
| 6 | c |
|---|
| 7 | cIM PRINT*, 'La frequence de sortie REGDYN est de ', ecrit_mth |
|---|
| 8 | c |
|---|
| 9 | idayref = day_ref |
|---|
| 10 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
|---|
| 11 | c |
|---|
| 12 | c 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) |
|---|
| 24 | c |
|---|
| 25 | c pour les champs instantannes, il faut mettre la meme valeur pour |
|---|
| 26 | c zout et zsto. |
|---|
| 27 | c dtime est passe par ailleurs a histbeg |
|---|
| 28 | c |
|---|
| 29 | c zout = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
|---|
| 30 | c zsto = zout |
|---|
| 31 | c print*,'zout,zsto=',zout,zsto |
|---|
| 32 | c |
|---|
| 33 | c stockage a chaque pas de temps de la physique |
|---|
| 34 | c |
|---|
| 35 | zstophy = dtime |
|---|
| 36 | cIM 020904 zstophy = dtime * nbapp_isccp |
|---|
| 37 | |
|---|
| 38 | c ecriture mensuelle |
|---|
| 39 | c |
|---|
| 40 | zout = dtime * ecrit_mth |
|---|
| 41 | cIM 020904 |
|---|
| 42 | c zout = dtime * ecrit_day |
|---|
| 43 | c zout = dtime * REAL(NINT(86400./dtime*ecrit_regdyn)) |
|---|
| 44 | |
|---|
| 45 | c |
|---|
| 46 | c Champs 3D: |
|---|
| 47 | c |
|---|
| 48 | c TROP |
|---|
| 49 | CALL histdef(nid_regdyn, "hw1", "Tropics Histogram ", "%", |
|---|
| 50 | & kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, |
|---|
| 51 | & "ave(X)", zstophy,zout) |
|---|
| 52 | |
|---|
| 53 | CALL histdef(nid_regdyn, "nh1", "Nb of pixels Tropics Histo", |
|---|
| 54 | & "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, |
|---|
| 55 | & 32,"ave(X)", zstophy,zout) |
|---|
| 56 | c |
|---|
| 57 | |
|---|
| 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) |
|---|
| 62 | c |
|---|
| 63 | c PAN |
|---|
| 64 | CALL histdef(nid_regdyn, "hw2", "North Pacific Histogram", "%", |
|---|
| 65 | & kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, |
|---|
| 66 | & "ave(X)", zstophy,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)", zstophy,zout) |
|---|
| 71 | c |
|---|
| 72 | |
|---|
| 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) |
|---|
| 77 | c CAL |
|---|
| 78 | CALL histdef(nid_regdyn, "hw3", "California Histogram", "%", |
|---|
| 79 | & kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, |
|---|
| 80 | & "ave(X)", zstophy,zout) |
|---|
| 81 | |
|---|
| 82 | CALL histdef(nid_regdyn, "nh3", |
|---|
| 83 | & "Nb of pixels California Histo", |
|---|
| 84 | & "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, |
|---|
| 85 | & 32,"ave(X)", zstophy,zout) |
|---|
| 86 | c |
|---|
| 87 | |
|---|
| 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) |
|---|
| 92 | c HAW |
|---|
| 93 | CALL histdef(nid_regdyn, "hw4", "Hawai Histogram", "%", |
|---|
| 94 | & kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, |
|---|
| 95 | & "ave(X)", zstophy,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)", zstophy,zout) |
|---|
| 100 | c |
|---|
| 101 | |
|---|
| 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) |
|---|
| 106 | c WAP |
|---|
| 107 | CALL histdef(nid_regdyn, "hw5", "Warm Pool Histogram", "%", |
|---|
| 108 | & kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, 32, |
|---|
| 109 | & "ave(X)", zstophy,zout) |
|---|
| 110 | |
|---|
| 111 | CALL histdef(nid_regdyn, "nh5", "Nb of pixels Warm Pool Histo", |
|---|
| 112 | & "%",kmaxm1,lmaxm1,nhoriRD, iwmax,1,iwmax, komega, |
|---|
| 113 | & 32,"ave(X)", zstophy,zout) |
|---|
| 114 | c |
|---|
| 115 | |
|---|
| 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) |
|---|
| 120 | c |
|---|
| 121 | CALL histend(nid_regdyn) |
|---|
| 122 | |
|---|
| 123 | endif ! ok_regdyn |
|---|