source: LMDZ.3.3/tags/IPSL-CM4_LJ29/libf/phylmd/ini_histISCCP.h @ 494

Last change on this file since 494 was 494, checked in by (none), 20 years ago

This commit was manufactured by cvs2svn to create tag
'IPSL-CM4_LJ29'.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1      IF (ok_isccp) THEN
2c
3       IF (region.EQ.'3d') THEN !region
4c pour les champs instantannes, il faut mettre la meme valeur pour
5c zout et zsto.
6c dtime est passe par ailleurs a histbeg
7c zsto = frequence de stockage des champs
8c zout = frequence d'ecriture des champs
9         zsto = dtime
10c
11c ecriture 8 fois par jour
12c       zout = dtime * REAL(NINT(86400./dtime*ecrit_isccp))
13c ecriture toutes les 2h (12 fois par jour)
14c       zout = dtime * 4.
15c ecriture toutes les 1/h (48 fois par jour)
16c       zout = dtime
17c
18c ecriture mensuelle
19        zout = dtime * ecrit_mth
20c
21      ELSE IF (region.EQ.'1d') THEN !region     
22       zsto = dtime
23       zout = dtime *4.
24c      zout = dtime
25      ENDIF
26c
27        print*,'ISCCP zout,zsto=',zout,zsto
28c
29c       PRINT*, 'La frequence de sortie ISCCP est de ', ecrit_isccp
30c
31        idayref = day_ref
32        CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian)
33        write(*,*)'ISCCP ', itau_phy, zjulian
34c
35c
36c definition coordonnees lon,lat en globale
37c
38        CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlon,zx_lon)
39        DO i = 1, iim
40          zx_lon(i,1) = rlon(i+1)
41          zx_lon(i,jjmp1) = rlon(i+1)
42        ENDDO
43
44        CALL gr_fi_ecrit(1,klon,iim,jjmp1,rlat,zx_lat)
45c
46         CALL histbeg("histISCCP.nc", iim,zx_lon(:,1),jjmp1,zx_lat(1,:),
47     .                 imin_debut,nbpti,
48     .                 jmin_debut,nbptj,
49     .                 itau_phy, zjulian, dtime,
50     .                 nhori, nid_isccp)
51c
52         CALL histvert(nid_isccp, "cldtopres","Cloud Top Pressure","mb",
53     .                 lmaxm1, cldtopres, nvert,'down')
54c
55c variables a ecrire
56c
57         DO k=1, kmaxm1
58          CALL histdef(nid_isccp, "cldISCCP_"//taulev(k),
59     .                "LMDZ ISCCP cld", "%",
60     .                iim, jjmp1,nhori,lmaxm1,1,lmaxm1,nvert,32,
61     .                "ave(X)", zsto,zout)
62         ENDDO
63c
64         CALL histdef(nid_isccp, "nsunlit",
65     .                "Nb of calls with sunlit ", "%",
66     .                iim, jjmp1,nhori,1,1,1,-99,32,
67     .                "ave(X)", zsto,zout)
68c
69        CALL histend(nid_isccp)
70c
71      ENDIF ! ok_isccp
Note: See TracBrowser for help on using the repository browser.