Ignore:
Timestamp:
Jul 18, 2017, 2:21:01 PM (7 years ago)
Author:
jbmadeleine
Message:

Added new outputs to cloudth_vert (level 10):
s_th, Thermal plume saturation deficit, kg/kg
s_env, Environment saturation deficit, kg/kg
sigma_th, Thermal plume gauss variance, kg/kg
sigma_env, Environment gauss variance, kg/kg

File:
1 edited

Legend:

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

    r2854 r2958  
    3838  !$OMP THREADPRIVATE(d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_col)
    3939
     40  ! Outputs used in cloudth_vert to extract the moments of the horizontal and
     41  ! vertical PDFs
     42  REAL, SAVE, ALLOCATABLE :: cloudth_sth(:,:),cloudth_senv(:,:)
     43  !$OMP THREADPRIVATE(cloudth_sth,cloudth_senv)
     44  REAL, SAVE, ALLOCATABLE :: cloudth_sigmath(:,:),cloudth_sigmaenv(:,:)
     45  !$OMP THREADPRIVATE(cloudth_sigmath,cloudth_sigmaenv)
     46
    4047! Marine
    4148! Variables de sortie du simulateur AIRS
     
    141148    d_h_qw_col=0. ; d_h_ql_col=0. ; d_h_qs_col=0. ; d_h_col=0.
    142149
     150    ! Outputs used in cloudth_vert
     151    allocate(cloudth_sth(klon,klev))
     152    allocate(cloudth_senv(klon,klev))
     153    cloudth_sth = 0. ; cloudth_senv = 0.
     154    allocate(cloudth_sigmath(klon,klev))
     155    allocate(cloudth_sigmaenv(klon,klev))
     156    cloudth_sigmath = 0. ; cloudth_sigmaenv = 0.
     157
    143158! Marine
    144159! Variables de sortie simulateur AIRS
     
    177192  &           , d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_col)
    178193
     194    ! Outputs used in cloudth_vert
     195    deallocate(cloudth_sth)
     196    deallocate(cloudth_senv)
     197    deallocate(cloudth_sigmath)
     198    deallocate(cloudth_sigmaenv)
     199
    179200! Marine
    180201! Variables de sortie simulateur AIRS
Note: See TracChangeset for help on using the changeset viewer.