Changeset 1055 for LMDZ4/trunk/libf


Ignore:
Timestamp:
Nov 14, 2008, 5:57:39 PM (16 years ago)
Author:
lmdzadmin
Message:

Correction sorties niveaux pression
AI/IM

Location:
LMDZ4/trunk/libf/phylmd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/phys_output_mod.F90

    r1054 r1055  
    594594!      on ecrit u v t q a 850 700 500 200 au niv 3
    595595
     596   zstophym(iff) = ecrit_files(iff)
     597   type_ecri(1) = 'inst(X)'
     598   type_ecri(2) = 'inst(X)'
     599   type_ecri(3) = 'inst(X)'
     600   type_ecri(4) = 'inst(X)'
    596601        DO k=1, nlevSTD
    597602     IF(k.GE.2.AND.k.LE.12) bb2=clevSTD(k)
     
    606611     ENDIF !(bb2.EQ."850".OR.bb2.EQ."700".OR.
    607612       ENDDO
     613   zstophym(iff) = dtime
     614   type_ecri(1) = 'ave(X)'
     615   type_ecri(2) = 'ave(X)'
     616   type_ecri(3) = 'ave(X)'
     617   type_ecri(4) = 'inst(X)'
    608618
    609619 CALL histdef2d(iff,flag_t_oce_sic,"t_oce_sic","Temp mixte oce-sic","K")
  • LMDZ4/trunk/libf/phylmd/phys_output_write.h

    r1054 r1055  
    567567! a refaire correctement !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    568568       IF (flag_ulevsSTD(iff)<=lev_files(iff)) THEN
    569        CALL histwrite_phy(nid_files(iff),"u"//bb2, 
    570      & itau_w,ulevSTD(:,k))
     569       CALL histwrite_phy(nid_files(iff),"u"//bb2,
     570     & itau_w,uwriteSTD(:,k,iff))
    571571       ENDIF
    572572
    573573       IF (flag_vlevsSTD(iff)<=lev_files(iff)) THEN
    574574      CALL histwrite_phy(nid_files(iff),"v"//bb2, 
    575      & itau_w,vlevSTD(:,k))
     575     & itau_w,vwriteSTD(:,k,iff))
    576576       ENDIF
    577577
    578578       IF (flag_wlevsSTD(iff)<=lev_files(iff)) THEN
    579       CALL histwrite_phy(nid_files(iff),"w"//bb2, 
    580      & itau_w,wlevSTD(:,k))
     579      CALL histwrite_phy(nid_files(iff),"w"//bb2,
     580     & itau_w,wwriteSTD(:,k,iff))
    581581       ENDIF
    582582
    583583       IF (flag_philevsSTD(iff)<=lev_files(iff)) THEN
    584584      CALL histwrite_phy(nid_files(iff),
    585      $                  "phi"//bb2, 
    586      &               itau_w,philevSTD(:,k))
     585     $                  "phi"//bb2,
     586     &               itau_w,phiwriteSTD(:,k,iff))
    587587       ENDIF
    588588
    589589       IF (flag_qlevsSTD(iff)<=lev_files(iff)) THEN
    590       CALL histwrite_phy(nid_files(iff),"q"//bb2, 
    591      & itau_w, qlevSTD(:,k))
     590      CALL histwrite_phy(nid_files(iff),"q"//bb2,
     591     & itau_w, qwriteSTD(:,k,iff))
    592592       ENDIF
    593593
    594594       IF (flag_tlevsSTD(iff)<=lev_files(iff)) THEN
    595       CALL histwrite_phy(nid_files(iff),"t"//bb2, 
    596      & itau_w, tlevSTD(:,k))
     595      CALL histwrite_phy(nid_files(iff),"t"//bb2,
     596     & itau_w, twriteSTD(:,k,iff))
    597597       ENDIF
    598598
  • LMDZ4/trunk/libf/phylmd/physiq.F

    r1054 r1055  
    263263      real ulevSTD(klon,nlevSTD), vlevSTD(klon,nlevSTD)
    264264      real wlevSTD(klon,nlevSTD)
     265
     266      real twriteSTD(klon,nlevSTD,nfiles)
     267      real qwriteSTD(klon,nlevSTD,nfiles)
     268      real rhwriteSTD(klon,nlevSTD,nfiles)
     269      real phiwriteSTD(klon,nlevSTD,nfiles)
     270      real uwriteSTD(klon,nlevSTD,nfiles)
     271      real vwriteSTD(klon,nlevSTD,nfiles)
     272      real wwriteSTD(klon,nlevSTD,nfiles)
    265273c
    266274c nout : niveau de output des variables a une pression donnee
     
    33153323c
    33163324#include "calcul_STDlev.h"
     3325      twriteSTD(:,:,1)=tsumSTD(:,:,2)
     3326      qwriteSTD(:,:,1)=qsumSTD(:,:,2)
     3327      rhwriteSTD(:,:,1)=rhsumSTD(:,:,2)
     3328      phiwriteSTD(:,:,1)=phisumSTD(:,:,2)
     3329      uwriteSTD(:,:,1)=usumSTD(:,:,2)
     3330      vwriteSTD(:,:,1)=vsumSTD(:,:,2)
     3331      wwriteSTD(:,:,1)=wsumSTD(:,:,2)
     3332
     3333      twriteSTD(:,:,2)=tsumSTD(:,:,1)
     3334      qwriteSTD(:,:,2)=qsumSTD(:,:,1)
     3335      rhwriteSTD(:,:,2)=rhsumSTD(:,:,1)
     3336      phiwriteSTD(:,:,2)=phisumSTD(:,:,1)
     3337      uwriteSTD(:,:,2)=usumSTD(:,:,1)
     3338      vwriteSTD(:,:,2)=vsumSTD(:,:,1)
     3339      wwriteSTD(:,:,2)=wsumSTD(:,:,1)
     3340
     3341      twriteSTD(:,:,3)=tlevSTD(:,:)
     3342      qwriteSTD(:,:,3)=qlevSTD(:,:)
     3343      rhwriteSTD(:,:,3)=rhlevSTD(:,:)
     3344      phiwriteSTD(:,:,3)=philevSTD(:,:)
     3345      uwriteSTD(:,:,3)=ulevSTD(:,:)
     3346      vwriteSTD(:,:,3)=vlevSTD(:,:)
     3347      wwriteSTD(:,:,3)=wlevSTD(:,:)
     3348
     3349      twriteSTD(:,:,4)=tlevSTD(:,:)
     3350      qwriteSTD(:,:,4)=qlevSTD(:,:)
     3351      rhwriteSTD(:,:,4)=rhlevSTD(:,:)
     3352      phiwriteSTD(:,:,4)=philevSTD(:,:)
     3353      uwriteSTD(:,:,4)=ulevSTD(:,:)
     3354      vwriteSTD(:,:,4)=vlevSTD(:,:)
     3355      wwriteSTD(:,:,4)=wlevSTD(:,:)
    33173356c
    33183357c slp sea level pressure
Note: See TracChangeset for help on using the changeset viewer.