Ignore:
Timestamp:
Mar 28, 2017, 4:32:15 PM (8 years ago)
Author:
acozic
Message:

use pseudoalt calculated in the dynamic instead of Alt in phys_output_mod

File:
1 edited

Legend:

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

    r2832 r2833  
    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, aps, bps
     46    USE vertical_layers_mod, ONLY: ap,bp,preff,presnivs, aps, bps, pseudoalt
    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)                 :: Alt
    9695    CHARACTER(LEN=4), DIMENSION(nlevSTD)  :: clevSTD
    9796    REAL, DIMENSION(nlevSTD)              :: rlevSTD
     
    291290    zdtime_moy = dtime         ! Frequence ou l on moyenne
    292291
    293     ! Calcul  Alt
    294     DO k=1,klev
    295 !       Ahyb(k)=(ap(k)+ap(k+1))/2.
    296 !       Bhyb(k)=(bp(k)+bp(k+1))/2.
    297        Alt(k)=log(preff/presnivs(k))*8.
    298     ENDDO
    299     !          if(prt_level.ge.1) then
    300 !    WRITE(lunout,*)'Ap Hybrid = ',Ahyb(1:klev)
    301 !    WRITE(lunout,*)'Bp Hybrid = ',Bhyb(1:klev)
    302     WRITE(lunout,*)'Alt approx des couches pour une haut d echelle de 8km = ',Alt(1:klev)
    303     !          ENDIF
    304292
    305293  ecrit_files(7) = ecrit_files(1)
     
    347335            levmax(iff) - levmin(iff) + 1, bps)
    348336    CALL wxios_add_vaxis("Alt", &
    349             levmax(iff) - levmin(iff) + 1, Alt)
     337            levmax(iff) - levmin(iff) + 1, pseudoalt)
    350338   ELSE
    351339    ! NMC files
     
    422410
    423411          CALL histvert(nid_files(iff), "Alt","Height approx for scale heigh of 8km at levels", "Km", &                       
    424                levmax(iff) - levmin(iff) + 1,Alt,nvertAlt(iff))
     412               levmax(iff) - levmin(iff) + 1,pseudoalt,nvertAlt(iff))
    425413
    426414          ELSE
Note: See TracChangeset for help on using the changeset viewer.