Ignore:
Timestamp:
Sep 2, 2011, 7:10:46 PM (13 years ago)
Author:
jghattas
Message:
  • Added argument in call to histwrite_phy according to commit 1539.
Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/ini_histrac.h

    r1403 r1570  
    22! $Id $
    33!
    4   IF (ecrit_tra>0. .AND. config_inca == 'none') THEN
     4  IF (ecrit_tra>0.) THEN
    55!$OMP MASTER
    66     CALL ymds2ju(annee_ref, 1, day_ref, 0.0, zjulian)
     
    124124     CALL histend(nid_tra)
    125125!$OMP END MASTER
    126   END IF ! ecrit_tra>0. .AND. config_inca == 'none'
     126  END IF ! ecrit_tra>0.
    127127 
  • LMDZ5/trunk/libf/phylmd/write_histrac.h

    r1403 r1570  
    33!  ECRITURE DU FICHIER :  histrac.nc
    44!***************************************
    5   IF (ecrit_tra > 0. .AND. config_inca == 'none') THEN
     5  IF (ecrit_tra > 0.) THEN
    66     
    77     itau_w = itau_phy + nstep
    88     
    9      CALL histwrite_phy(nid_tra,"phis",itau_w,pphis)
    10      CALL histwrite_phy(nid_tra,"aire",itau_w,airephy)
    11      CALL histwrite_phy(nid_tra,"zmasse",itau_w,zmasse)
     9     CALL histwrite_phy(nid_tra,.FALSE.,"phis",itau_w,pphis)
     10     CALL histwrite_phy(nid_tra,.FALSE.,"aire",itau_w,airephy)
     11     CALL histwrite_phy(nid_tra,.FALSE.,"zmasse",itau_w,zmasse)
    1212
    1313!TRACEURS
     
    1717
    1818! CONCENTRATIONS
    19         CALL histwrite_phy(nid_tra,tname(iiq),itau_w,tr_seri(:,:,it))
     19        CALL histwrite_phy(nid_tra,.FALSE.,tname(iiq),itau_w,tr_seri(:,:,it))
    2020
    2121! TD LESSIVAGE       
    2222        IF (lessivage .AND. aerosol(it)) THEN
    23            CALL histwrite_phy(nid_tra,"fl"//tname(iiq),itau_w,flestottr(:,:,it))
     23           CALL histwrite_phy(nid_tra,.FALSE.,"fl"//tname(iiq),itau_w,flestottr(:,:,it))
    2424        ENDIF
    2525
    2626! TD THERMIQUES
    2727        IF (iflag_thermals.gt.0) THEN
    28            CALL histwrite_phy(nid_tra,"d_tr_th_"//tname(iiq),itau_w,d_tr_th(:,:,it))
     28           CALL histwrite_phy(nid_tra,.FALSE.,"d_tr_th_"//tname(iiq),itau_w,d_tr_th(:,:,it))
    2929        ENDIF
    3030
    3131! TD CONVECTION
    3232        IF (iflag_con.GE.2) THEN
    33            CALL histwrite_phy(nid_tra,"d_tr_cv_"//tname(iiq),itau_w,d_tr_cv(:,:,it))
     33           CALL histwrite_phy(nid_tra,.FALSE.,"d_tr_cv_"//tname(iiq),itau_w,d_tr_cv(:,:,it))
    3434        ENDIF
    3535
    3636! TD COUCHE-LIMITE
    37         CALL histwrite_phy(nid_tra,"d_tr_cl_"//tname(iiq),itau_w,d_tr_cl(:,:,it))
     37        CALL histwrite_phy(nid_tra,.FALSE.,"d_tr_cl_"//tname(iiq),itau_w,d_tr_cl(:,:,it))
    3838     ENDDO
    3939!---------------
     
    4141!
    4242! VENT (niveau 1)   
    43      CALL histwrite_phy(nid_tra,"pyu1",itau_w,yu1)
    44      CALL histwrite_phy(nid_tra,"pyv1",itau_w,yv1)
     43     CALL histwrite_phy(nid_tra,.FALSE.,"pyu1",itau_w,yu1)
     44     CALL histwrite_phy(nid_tra,.FALSE.,"pyv1",itau_w,yv1)
    4545!
    4646! TEMPERATURE DU SOL
    4747     zx_tmp_fi2d(:)=ftsol(:,1)         
    48      CALL histwrite_phy(nid_tra,"ftsol1",itau_w,zx_tmp_fi2d)
     48     CALL histwrite_phy(nid_tra,.FALSE.,"ftsol1",itau_w,zx_tmp_fi2d)
    4949     zx_tmp_fi2d(:)=ftsol(:,2)
    50      CALL histwrite_phy(nid_tra,"ftsol2",itau_w,zx_tmp_fi2d)
     50     CALL histwrite_phy(nid_tra,.FALSE.,"ftsol2",itau_w,zx_tmp_fi2d)
    5151     zx_tmp_fi2d(:)=ftsol(:,3)
    52      CALL histwrite_phy(nid_tra,"ftsol3",itau_w,zx_tmp_fi2d)
     52     CALL histwrite_phy(nid_tra,.FALSE.,"ftsol3",itau_w,zx_tmp_fi2d)
    5353     zx_tmp_fi2d(:)=ftsol(:,4)
    54      CALL histwrite_phy(nid_tra,"ftsol4",itau_w,zx_tmp_fi2d)
     54     CALL histwrite_phy(nid_tra,.FALSE.,"ftsol4",itau_w,zx_tmp_fi2d)
    5555!     
    5656! NATURE DU SOL
    5757     zx_tmp_fi2d(:)=pctsrf(:,1)
    58      CALL histwrite_phy(nid_tra,"psrf1",itau_w,zx_tmp_fi2d)
     58     CALL histwrite_phy(nid_tra,.FALSE.,"psrf1",itau_w,zx_tmp_fi2d)
    5959     zx_tmp_fi2d(:)=pctsrf(:,2)
    60      CALL histwrite_phy(nid_tra,"psrf2",itau_w,zx_tmp_fi2d)
     60     CALL histwrite_phy(nid_tra,.FALSE.,"psrf2",itau_w,zx_tmp_fi2d)
    6161     zx_tmp_fi2d(:)=pctsrf(:,3)
    62      CALL histwrite_phy(nid_tra,"psrf3",itau_w,zx_tmp_fi2d)
     62     CALL histwrite_phy(nid_tra,.FALSE.,"psrf3",itau_w,zx_tmp_fi2d)
    6363     zx_tmp_fi2d(:)=pctsrf(:,4)
    64      CALL histwrite_phy(nid_tra,"psrf4",itau_w,zx_tmp_fi2d)
     64     CALL histwrite_phy(nid_tra,.FALSE.,"psrf4",itau_w,zx_tmp_fi2d)
    6565 
    6666! DIVERS   
    67      CALL histwrite_phy(nid_tra,"pplay",itau_w,pplay)     
    68      CALL histwrite_phy(nid_tra,"T",itau_w,t_seri)     
    69      CALL histwrite_phy(nid_tra,"mfu",itau_w,pmfu)
    70      CALL histwrite_phy(nid_tra,"mfd",itau_w,pmfd)
    71      CALL histwrite_phy(nid_tra,"en_u",itau_w,pen_u)
    72      CALL histwrite_phy(nid_tra,"en_d",itau_w,pen_d)
    73      CALL histwrite_phy(nid_tra,"de_d",itau_w,pde_d)
    74      CALL histwrite_phy(nid_tra,"de_u",itau_w,pde_u)
    75      CALL histwrite_phy(nid_tra,"coefh",itau_w,coefh)
     67     CALL histwrite_phy(nid_tra,.FALSE.,"pplay",itau_w,pplay)     
     68     CALL histwrite_phy(nid_tra,.FALSE.,"T",itau_w,t_seri)     
     69     CALL histwrite_phy(nid_tra,.FALSE.,"mfu",itau_w,pmfu)
     70     CALL histwrite_phy(nid_tra,.FALSE.,"mfd",itau_w,pmfd)
     71     CALL histwrite_phy(nid_tra,.FALSE.,"en_u",itau_w,pen_u)
     72     CALL histwrite_phy(nid_tra,.FALSE.,"en_d",itau_w,pen_d)
     73     CALL histwrite_phy(nid_tra,.FALSE.,"de_d",itau_w,pde_d)
     74     CALL histwrite_phy(nid_tra,.FALSE.,"de_u",itau_w,pde_u)
     75     CALL histwrite_phy(nid_tra,.FALSE.,"coefh",itau_w,coefh)
    7676
    7777     IF (ok_sync) THEN
     
    8181     ENDIF
    8282
    83   ENDIF !ecrit_tra>0. .AND. config_inca == 'none'
     83  ENDIF !ecrit_tra>0.
    8484
Note: See TracChangeset for help on using the changeset viewer.