Changeset 3124 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Dec 13, 2017, 3:24:16 PM (7 years ago)
Author:
musat
Message:

Add CMIP6' variables cldicemxrat, cldwatmxrat
IM

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

Legend:

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

    r3121 r3124  
    1010  USE dimphy
    1111  USE phys_local_var_mod, ONLY: scdnc, cldncl, reffclwtop, lcc, reffclws, &
    12     reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra
     12    reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra, zfice
    1313  USE phys_state_var_mod, ONLY: rnebcon, clwcon
    1414  USE icefrac_lsc_mod ! computes ice fraction (JBM 3/14)
     
    152152  REAL zrho(klon, klev) !--rho pour la couche
    153153  REAL dh(klon, klev) !--dz pour la couche
    154   REAL zfice(klon, klev)
    155154  REAL rad_chaud(klon, klev) !--rayon pour les nuages chauds
    156155  REAL rad_chaud_pi(klon, klev) !--rayon pour les nuages chauds pre-industriels
  • LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90

    r3121 r3124  
    173173      REAL, SAVE, ALLOCATABLE :: icc3dstra(:,:)
    174174      !$OMP THREADPRIVATE(icc3dstra)
     175      REAL, SAVE, ALLOCATABLE :: zfice(:,:)
     176      !$OMP THREADPRIVATE(zfice)
    175177      REAL, SAVE, ALLOCATABLE :: od443aer(:)
    176178      !$OMP THREADPRIVATE(od443aer)
     
    599601      ALLOCATE(icc3dcon(klon, klev))
    600602      ALLOCATE(icc3dstra(klon, klev))
     603      ALLOCATE(zfice(klon, klev))
    601604      ALLOCATE(od443aer(klon))
    602605      ALLOCATE(od550aer(klon))
     
    876879      DEALLOCATE(icc3dcon)
    877880      DEALLOCATE(icc3dstra)
     881      DEALLOCATE(zfice)
    878882      DEALLOCATE(od443aer)
    879883      DEALLOCATE(od550aer)
  • LMDZ6/trunk/libf/phylmd/phys_output_ctrlout_mod.F90

    r3121 r3124  
    14511451  TYPE(ctrl_out), SAVE :: o_icc3dstra = ctrl_out((/ 2,  6, 10, 10, 10, 10, 11, 11, 11, 11/), &
    14521452    'icc3dstra', 'Stratiform cloud ice fraction', '1', (/ ('', i=1, 10) /))
     1453  TYPE(ctrl_out), SAVE :: o_cldicemxrat = ctrl_out((/ 2,  6, 10, 10, 10, 10, 11, 11, 11, 11/), &
     1454    'cldicemxrat', 'Cloud Ice Mixing Ratio', '1', (/ ('', i=1, 10) /))
     1455  TYPE(ctrl_out), SAVE :: o_cldwatmxrat = ctrl_out((/ 2,  6, 10, 10, 10, 10, 11, 11, 11, 11/), &
     1456    'cldwatmxrat', 'Cloud Water Mixing Ratio', '1', (/ ('', i=1, 10) /))
    14531457  TYPE(ctrl_out), SAVE :: o_solbnd = ctrl_out((/ 2,  6, 10, 10, 10, 10, 11, 11, 11, 11/), &
    14541458    'solbnd', 'Top-of-Atmosphere Solar Insolation for each band', 'W m-2', (/ ('', i=1, 10) /))
  • LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90

    r3121 r3124  
    123123         o_cldnvi, o_lcc, o_lcc3d, o_lcc3dcon, &
    124124         o_lcc3dstra, o_icc3dcon, o_icc3dstra, &
    125          o_reffclwtop, o_ec550aer, &
     125         o_cldicemxrat, o_cldwatmxrat, o_reffclwtop, o_ec550aer, &
    126126         o_lwcon, o_iwcon, o_temp, o_theta, &
    127127         o_ovapinit, o_ovap, o_oliq, o_ocond, o_geop, &
     
    280280         scdnc, cldncl, reffclws, reffclwc, cldnvi, stratomask,&
    281281         lcc, lcc3d, lcc3dcon, lcc3dstra, &
    282          icc3dcon, icc3dstra, reffclwtop, &
     282         icc3dcon, icc3dstra, zfice, reffclwtop, &
    283283         ec550aer, flwc, fiwc, t_seri, theta, q_seri, &
    284284         ql_seri, qs_seri, tr_seri, &
     
    14101410          CALL histwrite_phy(o_icc3dcon, icc3dcon)
    14111411          CALL histwrite_phy(o_icc3dstra, icc3dstra)
     1412          CALL histwrite_phy(o_cldicemxrat, zfice)
     1413          zx_tmp_fi3d(:,:)=1-zfice(:,:)
     1414          CALL histwrite_phy(o_cldwatmxrat, zx_tmp_fi3d)
    14121415          CALL histwrite_phy(o_reffclwtop, reffclwtop)
    14131416       ENDIF
Note: See TracChangeset for help on using the changeset viewer.