source: LMDZ4/branches/LMDZ4_par_0/libf/phylmd/ini_histISCCP.h @ 1203

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