Ignore:
Timestamp:
Mar 28, 2017, 3:39:31 PM (8 years ago)
Author:
acozic
Message:

transfer aps and bps to INCA / in phys_output_mod replace Ahyb and Bhyb by aps and bps as decide by email (poihl / 28/03/2017)

File:
1 edited

Legend:

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

    r2823 r2832  
    4444    USE mod_grid_phy_lmdz, only: klon_glo,nbp_lon,nbp_lat
    4545    USE print_control_mod, ONLY: prt_level,lunout
    46     USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs
     46    USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps
    4747    USE time_phylmdz_mod, ONLY: day_ini, itau_phy, start_time, annee_ref, day_ref
    4848#ifdef CPP_XIOS
     
    9393    INTEGER                               :: idayref
    9494    REAL                                  :: zjulian_start, zjulian
    95     REAL, DIMENSION(klev)                 :: Ahyb, Bhyb, Alt
     95    REAL, DIMENSION(klev)                 :: Alt
    9696    CHARACTER(LEN=4), DIMENSION(nlevSTD)  :: clevSTD
    9797    REAL, DIMENSION(nlevSTD)              :: rlevSTD
     
    291291    zdtime_moy = dtime         ! Frequence ou l on moyenne
    292292
    293     ! Calcul des Ahyb, Bhyb et Alt
     293    ! Calcul Alt
    294294    DO k=1,klev
    295        Ahyb(k)=(ap(k)+ap(k+1))/2.
    296        Bhyb(k)=(bp(k)+bp(k+1))/2.
     295!       Ahyb(k)=(ap(k)+ap(k+1))/2.
     296!       Bhyb(k)=(bp(k)+bp(k+1))/2.
    297297       Alt(k)=log(preff/presnivs(k))*8.
    298298    ENDDO
    299299    !          if(prt_level.ge.1) then
    300     WRITE(lunout,*)'Ap Hybrid = ',Ahyb(1:klev)
    301     WRITE(lunout,*)'Bp Hybrid = ',Bhyb(1:klev)
     300!    WRITE(lunout,*)'Ap Hybrid = ',Ahyb(1:klev)
     301!    WRITE(lunout,*)'Bp Hybrid = ',Bhyb(1:klev)
    302302    WRITE(lunout,*)'Alt approx des couches pour une haut d echelle de 8km = ',Alt(1:klev)
    303303    !          ENDIF
     
    343343            levmax(iff) - levmin(iff) + 1, presnivs(levmin(iff):levmax(iff)))
    344344    CALL wxios_add_vaxis("Ahyb", &
    345             levmax(iff) - levmin(iff) + 1, Ahyb)
     345            levmax(iff) - levmin(iff) + 1, aps)
    346346    CALL wxios_add_vaxis("Bhyb", &
    347             levmax(iff) - levmin(iff) + 1, Bhyb)
     347            levmax(iff) - levmin(iff) + 1, bps)
    348348    CALL wxios_add_vaxis("Alt", &
    349349            levmax(iff) - levmin(iff) + 1, Alt)
     
    416416!!!! Composantes de la coordonnee sigma-hybride
    417417          CALL histvert(nid_files(iff), "Ahyb","Ahyb comp of Hyb Cord ", "Pa", &
    418                levmax(iff) - levmin(iff) + 1,Ahyb,nvertap(iff))
     418               levmax(iff) - levmin(iff) + 1,aps,nvertap(iff))
    419419
    420420          CALL histvert(nid_files(iff), "Bhyb","Bhyb comp of Hyb Cord", " ", &
    421                levmax(iff) - levmin(iff) + 1,Bhyb,nvertbp(iff))
     421               levmax(iff) - levmin(iff) + 1,bps,nvertbp(iff))
    422422
    423423          CALL histvert(nid_files(iff), "Alt","Height approx for scale heigh of 8km at levels", "Km", &                       
Note: See TracChangeset for help on using the changeset viewer.