source: LMDZ5/branches/testing/libf/phylmd/write_histhfNMC.h @ 1836

Last change on this file since 1836 was 1665, checked in by Laurent Fairhead, 12 years ago

Version testing basée sur la r1628

http://lmdz.lmd.jussieu.fr/utilisateurs/distribution-du-modele/versions-intermediaires


Testing release based on r1628

  • Property svn:executable set to *
File size: 2.1 KB
RevLine 
[1351]1!
2! $Header$
3!
[1374]4      IF (ok_histNMC(3)) THEN
5c
[1351]6       ndex3d = 0
[1665]7       itau_w = itau_phy + itap + start_time * day_step / iphysiq
[1351]8ccc
9c  Champs interpolles sur des niveaux de pression du NMC
10c
11c     PARAMETER(nout=3) 
12c nout=1 : in=pdtphys,    out=mth
13c nout=2 : in=pdtphys,    out=day
14c nout=3 : in=pdtphys,    out=hf
15ccc
[1539]16      CALL histwrite_phy(nid_hfnmc,lNMC,"tnondef",itau_w,
17     $tnondef(:,:,3))
[1351]18c
[1539]19       CALL histwrite_phy(nid_hfnmc,lNMC,"ta",itau_w,
20     $twriteSTD3)
[1351]21c
[1539]22       CALL histwrite_phy(nid_hfnmc,lNMC,"zg",itau_w,
23     $phiwriteSTD3)
[1351]24c
[1539]25       CALL histwrite_phy(nid_hfnmc,lNMC,"hus",itau_w,
26     $qwriteSTD3)
[1351]27c
[1539]28       CALL histwrite_phy(nid_hfnmc,lNMC,"hur",itau_w,
29     $rhwriteSTD3)
[1351]30c
[1539]31       CALL histwrite_phy(nid_hfnmc,lNMC,"ua",itau_w,
32     $uwriteSTD3)
[1351]33c
[1539]34       CALL histwrite_phy(nid_hfnmc,lNMC,"va",itau_w,
35     $vwriteSTD3)
[1351]36c
[1539]37       CALL histwrite_phy(nid_hfnmc,lNMC,"wap",itau_w,
38     $wwriteSTD3)
[1351]39c
[1539]40       IF (1.EQ.0) THEN
41c
[1351]42       DO k=1, nlevSTD
43        DO i=1, klon
44         IF(tnondef(i,k,3).NE.missing_val) THEN
[1398]45          zx_tmp_fiNC(i,k) = (100.*tnondef(i,k,3))/freq_moyNMC(3)
[1351]46         ELSE
47          zx_tmp_fiNC(i,k) = missing_val
48         ENDIF
49        ENDDO
50       ENDDO !k=1, nlevSTD
51c
[1539]52       CALL histwrite_phy(nid_hfnmc,lNMC,"psbg",itau_w,
53     $zx_tmp_fiNC)
[1351]54c
[1539]55       CALL histwrite_phy(nid_hfnmc,lNMC,"uv",itau_w,
56     $uvsumSTD(:,:,3))
[1351]57c
[1539]58       CALL histwrite_phy(nid_hfnmc,lNMC,"vq",itau_w,
59     $vqsumSTD(:,:,3))
[1351]60c
[1539]61       CALL histwrite_phy(nid_hfnmc,lNMC,"vT",itau_w,
62     $vTsumSTD(:,:,3))
[1351]63c
[1539]64       CALL histwrite_phy(nid_hfnmc,lNMC,"wq",itau_w,
65     $wqsumSTD(:,:,3))
[1351]66c
[1539]67      CALL histwrite_phy(nid_hfnmc,lNMC,"vphi",itau_w,
68     $vphisumSTD(:,:,3))
[1351]69c
[1539]70       CALL histwrite_phy(nid_hfnmc,lNMC,"wT",itau_w,
71     $wTsumSTD(:,:,3))
[1351]72c
[1539]73       CALL histwrite_phy(nid_hfnmc,lNMC,"uxu",itau_w,
74     $u2sumSTD(:,:,3))
[1351]75c
[1539]76       CALL histwrite_phy(nid_hfnmc,lNMC,"vxv",itau_w,
77     $v2sumSTD(:,:,3))
[1351]78c
[1539]79       CALL histwrite_phy(nid_hfnmc,lNMC,"TxT",itau_w,
80     $T2sumSTD(:,:,3))
[1351]81c
[1539]82       ENDIF !(1.EQ.0) THEN
[1351]83c
84      if (ok_sync) then
85c$OMP MASTER
86        call histsync(nid_hfnmc)
87c$OMP END MASTER
88      endif
[1374]89c
90      ENDIF !      (ok_histNMC(3)) THEN
Note: See TracBrowser for help on using the repository browser.