source: LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/write_histmthNMC.h @ 3837

Last change on this file since 3837 was 1360, checked in by musat, 15 years ago

Wrong output for ta in histmthNMC
IM

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
RevLine 
[524]1!
2! $Header$
3!
4c
[644]5       ndex3d = 0
6       itau_w = itau_phy + itap
7ccc
8c  Champs interpolles sur des niveaux de pression du NMC
[524]9c
[1350]10c     PARAMETER(nout=3) 
11c nout=1 : in=pdtphys,    out=mth
12c nout=2 : in=pdtphys,    out=day
13c nout=3 : in=pdtphys,    out=hf
[644]14ccc
[1350]15       CALL histwrite_phy(nid_mthnmc,"tnondef",itau_w,tnondef(:,:,1))
[524]16c
[1360]17       CALL histwrite_phy(nid_mthnmc,"ta",itau_w,twriteSTD(:,:,1))
[524]18c
[1350]19       CALL histwrite_phy(nid_mthnmc,"zg",itau_w,phiwriteSTD(:,:,1))
[524]20c
[1350]21       CALL histwrite_phy(nid_mthnmc,"hus",itau_w,qwriteSTD(:,:,1))
[524]22c
[1350]23       CALL histwrite_phy(nid_mthnmc,"hur",itau_w,rhwriteSTD(:,:,1))
[644]24c
[1350]25       CALL histwrite_phy(nid_mthnmc,"ua",itau_w,uwriteSTD(:,:,1))
[644]26c
[1350]27       CALL histwrite_phy(nid_mthnmc,"va",itau_w,vwriteSTD(:,:,1))
[644]28c
[1350]29       CALL histwrite_phy(nid_mthnmc,"wap",itau_w,wwriteSTD(:,:,1))
[644]30c
31       DO k=1, nlevSTD
32        DO i=1, klon
[1350]33         IF(tnondef(i,k,1).NE.missing_val) THEN
34          zx_tmp_fiNC(i,k) = (100.*tnondef(i,k,1))/ecrit_hf2mth
[644]35         ELSE
[1350]36          zx_tmp_fiNC(i,k) = missing_val
[524]37         ENDIF
[644]38        ENDDO
39       ENDDO !k=1, nlevSTD
[524]40c
[1350]41       CALL histwrite_phy(nid_mthnmc,"psbg",itau_w,zx_tmp_fiNC)
[524]42c
[1350]43       CALL histwrite_phy(nid_mthnmc,"uv",itau_w,uvsumSTD(:,:,1))
[524]44c
[1350]45       CALL histwrite_phy(nid_mthnmc,"vq",itau_w,vqsumSTD(:,:,1))
[524]46c
[1350]47       CALL histwrite_phy(nid_mthnmc,"vT",itau_w,vTsumSTD(:,:,1))
[524]48c
[1350]49       CALL histwrite_phy(nid_mthnmc,"wq",itau_w,wqsumSTD(:,:,1))
[524]50c
[1350]51       CALL histwrite_phy(nid_mthnmc,"vphi",itau_w,vphisumSTD(:,:,1))
[524]52c
[1350]53       CALL histwrite_phy(nid_mthnmc,"wT",itau_w,wTsumSTD(:,:,1))
[524]54c
[1350]55       CALL histwrite_phy(nid_mthnmc,"uxu",itau_w,u2sumSTD(:,:,1))
[644]56c
[1350]57       CALL histwrite_phy(nid_mthnmc,"vxv",itau_w,v2sumSTD(:,:,1))
[644]58c
[1350]59       CALL histwrite_phy(nid_mthnmc,"TxT",itau_w,T2sumSTD(:,:,1))
[644]60c
[524]61      if (ok_sync) then
[766]62c$OMP MASTER
[1350]63        call histsync(nid_mthnmc)
[766]64c$OMP END MASTER
[524]65      endif
Note: See TracBrowser for help on using the repository browser.