Changeset 3123


Ignore:
Timestamp:
Dec 13, 2017, 2:16:38 PM (7 years ago)
Author:
oboucher
Message:

Compute z_tropopause for diagnostic purpose from geoid rather than from the surface as per CF convention

Location:
LMDZ6/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3117 r3123  
    35373537       !
    35383538       !--WMO criterion to determine tropopause
    3539        CALL stratosphere_mask(missing_val, t_seri, pplay, latitude_deg)
     3539       CALL stratosphere_mask(missing_val, pphis, t_seri, pplay, latitude_deg)
    35403540       !
    35413541       !--STRAT AEROSOL
     
    35773577#ifdef CPP_StratAer
    35783578       !--compute stratospheric mask
    3579        CALL stratosphere_mask(missing_val, t_seri, pplay, latitude_deg)
     3579       CALL stratosphere_mask(missing_val, pphis, t_seri, pplay, latitude_deg)
    35803580       !--interactive strat aerosols
    35813581       CALL calcaerosolstrato_rrtm(pplay,t_seri,paprs,debut)
  • LMDZ6/trunk/libf/phylmd/stratosphere_mask.F90

    r3119 r3123  
    22! $Id$
    33!
    4 SUBROUTINE stratosphere_mask(missing_val, t_seri, pplay, xlat)
     4SUBROUTINE stratosphere_mask(missing_val, pphis, t_seri, pplay, xlat)
    55
    66!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    3939IMPLICIT NONE
    4040
     41INCLUDE "YOMCST.h"
     42
    4143REAL, INTENT(IN)                       :: missing_val ! missing value, also XIOS
     44REAL,DIMENSION(klon),INTENT(IN)        :: pphis   ! Geopotentiel de surface
    4245REAL,DIMENSION(klon,klev),INTENT(IN)   :: t_seri  ! Temperature
    4346REAL,DIMENSION(klon,klev),INTENT(IN)   :: pplay   ! pression pour le mileu de chaque couche (en Pa)
     
    6265  ENDDO
    6366  psrf=pplay(i,1)
    64   zsrf=0.0
     67  zsrf=pphis(i)/RG           !--altitude de la surface
    6568  call twmo(missing_val, klev, t, p, psrf, zsrf, plimu, pliml, gamma, ptrp, ttrp, ztrp)
    6669  tp(i)=ptrp
Note: See TracChangeset for help on using the changeset viewer.