source: LMDZ.3.3/branches/rel-LF/libf/phylmd/write_histmthNMC.h @ 556

Last change on this file since 556 was 508, checked in by lmdzadmin, 21 years ago

Ajout/modif sorties 3D niveaux NMC
IM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1c     IF (ok_mensuelNMC) THEN
2      IF (ok_mensuel) THEN
3c
4      ndex2d = 0
5      ndex3d = 0
6c
7c Champs 2D:
8c
9
10        zsto = dtime
11        zout = dtime * ecrit_mth
12        itau_w = itau_phy + itap
13
14      i = NINT(zout/zsto)
15c
16c  Champs interpolles sur des niveaux de pression du NMC
17c110304 BEG
18      DO k=1, nlevSTD
19c
20         bb=clevSTD(k)
21c
22         IF(k.GE.2) THEN
23          aa=clevSTD(k)
24          bb=aa(1:lnblnk1(aa))
25         ENDIF
26c
27      CALL gr_fi_ecrit(1, klon,iim,jjmp1, tlevSTD(:,k),zx_tmp_2d)
28      CALL histwrite(nid_nmc,"t"//bb,itau_w,zx_tmp_2d,
29     $       iim*jjmp1,ndex2d)
30c
31      CALL gr_fi_ecrit(1, klon,iim,jjmp1, philevSTD(:,k),zx_tmp_2d)
32      CALL histwrite(nid_nmc,"phi"//bb,itau_w,zx_tmp_2d,
33     $       iim*jjmp1,ndex2d)
34c
35      CALL gr_fi_ecrit(1, klon,iim,jjmp1, qlevSTD(:,k),zx_tmp_2d)
36      CALL histwrite(nid_nmc,"q"//bb,itau_w,zx_tmp_2d,
37     $       iim*jjmp1,ndex2d)
38c
39      CALL gr_fi_ecrit(1, klon,iim,jjmp1, rhlevSTD(:,k),zx_tmp_2d)
40      CALL histwrite(nid_nmc,"rh"//bb,itau_w,zx_tmp_2d,
41     $       iim*jjmp1,ndex2d)
42c
43      CALL gr_fi_ecrit(1, klon,iim,jjmp1, ulevSTD(:,k),zx_tmp_2d)
44      CALL histwrite(nid_nmc,"u"//bb,itau_w,zx_tmp_2d,
45     $       iim*jjmp1,ndex2d)
46c
47      CALL gr_fi_ecrit(1, klon,iim,jjmp1, vlevSTD(:,k),zx_tmp_2d)
48      CALL histwrite(nid_nmc,"v"//bb,itau_w,zx_tmp_2d,
49     $       iim*jjmp1,ndex2d)
50c
51      ENDDO !k=1, nlevSTD
52ccc
53c110304 END
54c
55      if (ok_sync) then
56        call histsync(nid_nmc)
57      endif
58
59      ENDIF
Note: See TracBrowser for help on using the repository browser.