Changeset 3171 for LMDZ6/trunk
- Timestamp:
- Feb 1, 2018, 10:12:38 AM (7 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/phys_output_ctrlout_mod.F90
r3167 r3171 1505 1505 TYPE(ctrl_out), SAVE :: o_mc = ctrl_out((/ 4, 5, 10, 10, 10, 10, 11, 11, 11, 11/), & 1506 1506 'mc', 'Convective mass flux', 'kg/m2/s', (/ ('', i=1, 10) /)) 1507 TYPE(ctrl_out), SAVE :: o_ftime_deepcv = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 1508 'ftime_deepcv', 'Fraction of time deep convection Occurs', ' ', (/ ('', i=1, 10) /)) 1507 1509 TYPE(ctrl_out), SAVE :: o_ftime_con = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 1508 1510 'ftime_con', 'Fraction of time convection Occurs', ' ', (/ ('', i=1, 10) /)) -
LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90
r3167 r3171 72 72 o_ptop, o_fbase, o_plcl, o_plfc, & 73 73 o_wbeff, o_convoccur, o_cape_max, o_upwd, o_ep,o_epmax_diag, o_Ma, & 74 o_dnwd, o_dnwd0, o_ftime_ con, o_mc, &74 o_dnwd, o_dnwd0, o_ftime_deepcv, o_ftime_con, o_mc, & 75 75 o_prw, o_prlw, o_prsw, o_s_pblh, o_s_pblt, o_s_lcl, & 76 76 o_s_therm, o_uSTDlevs, o_vSTDlevs, & … … 402 402 INTEGER :: itau_w 403 403 INTEGER :: i, iinit, iinitend=1, iff, iq, iiq, nsrf, k, ll, naero 404 REAL, DIMENSION (klon) :: zx_tmp_fi2d 404 REAL, DIMENSION (klon) :: zx_tmp_fi2d, zpt_conv2d 405 405 REAL, DIMENSION (klon,klev) :: zx_tmp_fi3d, zpt_conv 406 406 REAL, DIMENSION (klon,klev+1) :: zx_tmp_fi3d1 … … 977 977 CALL histwrite_phy(o_dnwd, dnwd) 978 978 CALL histwrite_phy(o_dnwd0, dnwd0) 979 !! IF (vars_defined) zx_tmp_fi2d=float(itau_con)/float(itap) 980 !! CALL histwrite_phy(o_ftime_con, zx_tmp_fi2d) 981 IF (vars_defined) THEN 982 zx_tmp_fi2d(:) = 0. 983 DO k=1,klev 984 WHERE (ptconv(:,k)) zx_tmp_fi2d(:) = 1. 985 ENDDO 986 ENDIF 987 CALL histwrite_phy(o_ftime_con, zx_tmp_fi2d) 979 !! The part relative to the frequency of occurence of convection 980 !! is now grouped with the part relative to thermals and shallow 981 !! convection (output of the 3 fields: ftime_deepcv, ftime_th and 982 !! ftime_con). 988 983 IF (vars_defined) THEN 989 984 IF (iflag_thermals>=1)THEN … … 1643 1638 CALL histwrite_phy(o_plulst, plul_st) 1644 1639 IF (vars_defined) THEN 1640 do i=1,klon 1641 zx_tmp_fi2d(1:klon)=lmax_th(:) 1642 enddo 1643 ENDIF 1644 CALL histwrite_phy(o_lmaxth, zx_tmp_fi2d) 1645 IF (vars_defined) THEN 1645 1646 DO k=1,klev 1646 1647 DO i=1,klon … … 1654 1655 ENDIF 1655 1656 CALL histwrite_phy(o_ptconvth, zx_tmp_fi3d) 1656 IF (vars_defined) THEN1657 do i=1,klon1658 zx_tmp_fi2d(1:klon)=lmax_th(:)1659 enddo1660 ENDIF1661 CALL histwrite_phy(o_lmaxth, zx_tmp_fi2d)1662 1657 ENDIF ! iflag_thermals>=1 1658 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1659 zpt_conv = 0. 1660 WHERE (ptconv) zpt_conv = 1. 1661 CALL histwrite_phy(o_ptconv, zpt_conv) 1662 !! IF (vars_defined) zx_tmp_fi2d=float(itau_con)/float(itap) 1663 !! CALL histwrite_phy(o_ftime_con, zx_tmp_fi2d) 1664 IF (vars_defined) THEN 1665 zpt_conv2d(:) = 0. 1666 DO k=1,klev 1667 WHERE (ptconv(:,k)) zpt_conv2d(:) = 1. 1668 ENDDO 1669 ENDIF 1670 CALL histwrite_phy(o_ftime_deepcv, zpt_conv2d) 1671 IF (vars_defined) THEN 1672 zx_tmp_fi2d(:) = 0. 1673 DO k=1,klev 1674 WHERE (ptconvth(:,k)) zx_tmp_fi2d(:) = 1. 1675 ENDDO 1676 ENDIF 1677 CALL histwrite_phy(o_ftime_th, zx_tmp_fi2d) 1678 IF (vars_defined) THEN 1679 zx_tmp_fi2d(:) = max(zx_tmp_fi2d(:),zpt_conv2d(:)) 1680 ENDIF 1681 CALL histwrite_phy(o_ftime_con, zx_tmp_fi2d) 1663 1682 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1664 1683 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_vdf(1:klon,1:klev)/pdtphys … … 1676 1695 CALL water_int(klon,klev,zx_tmp_fi3d,zmasse,zx_tmp_fi2d) 1677 1696 CALL histwrite_phy(o_dqeva2d, zx_tmp_fi2d) 1678 zpt_conv = 0.1679 WHERE (ptconv) zpt_conv = 1.1680 CALL histwrite_phy(o_ptconv, zpt_conv)1681 1697 CALL histwrite_phy(o_ratqs, ratqs) 1682 1698 IF (vars_defined) THEN … … 1696 1712 IF (iflag_thermals>=1) THEN 1697 1713 ! Pour l instant 0 a y reflichir pour les thermiques 1698 zx_tmp_fi2d=0. 1699 CALL histwrite_phy(o_ftime_th, zx_tmp_fi2d) 1714 ! regroupe avec ftime_deepcv et ftime_con 1715 !!zx_tmp_fi2d=0. 1716 !!CALL histwrite_phy(o_ftime_th, zx_tmp_fi2d) 1700 1717 CALL histwrite_phy(o_f_th, fm_therm) 1701 1718 CALL histwrite_phy(o_e_th, entr_therm)
Note: See TracChangeset
for help on using the changeset viewer.