Changeset 3177 for LMDZ6/branches
- Timestamp:
- Feb 2, 2018, 11:50:14 AM (7 years ago)
- Location:
- LMDZ6/branches/IPSLCM6.0.15/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_ctrlout_mod.F90
r3164 r3177 1 ! 2 ! $Id$ 3 ! 1 4 MODULE phys_output_ctrlout_mod 2 5 … … 1505 1508 TYPE(ctrl_out), SAVE :: o_mc = ctrl_out((/ 4, 5, 10, 10, 10, 10, 11, 11, 11, 11/), & 1506 1509 'mc', 'Convective mass flux', 'kg/m2/s', (/ ('', i=1, 10) /)) 1510 TYPE(ctrl_out), SAVE :: o_ftime_deepcv = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 1511 'ftime_deepcv', 'Fraction of time deep convection Occurs', ' ', (/ ('', i=1, 10) /)) 1507 1512 TYPE(ctrl_out), SAVE :: o_ftime_con = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 1508 'ftime_con', 'Fraction of time convection Occurs', ' ', & 1509 (/ 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', & 1510 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)' /)) 1513 'ftime_con', 'Fraction of time convection Occurs', ' ', (/ ('', i=1, 10) /)) 1514 !!jyg 'ftime_con', 'Fraction of time convection Occurs', ' ', & 1515 !!jyg (/ 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', & 1516 !!jyg 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)' /)) 1511 1517 TYPE(ctrl_out), SAVE :: o_dtdyn = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), & 1512 1518 'dtdyn', 'Dynamics dT', 'K/s', (/ ('', i=1, 10) /)) -
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_write_mod.F90
r3164 r3177 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) 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). 981 983 IF (vars_defined) THEN 982 984 IF (iflag_thermals>=1)THEN 983 zx_tmp_fi3d= dnwd+dnwd0+upwd+fm_therm(:,1:klev)985 zx_tmp_fi3d=-dnwd+dnwd0+upwd+fm_therm(:,1:klev) 984 986 ELSE 985 zx_tmp_fi3d= dnwd+dnwd0+upwd987 zx_tmp_fi3d=-dnwd+dnwd0+upwd 986 988 ENDIF 987 989 ENDIF … … 1636 1638 CALL histwrite_phy(o_plulst, plul_st) 1637 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 1638 1646 DO k=1,klev 1639 1647 DO i=1,klon … … 1647 1655 ENDIF 1648 1656 CALL histwrite_phy(o_ptconvth, zx_tmp_fi3d) 1649 IF (vars_defined) THEN1650 do i=1,klon1651 zx_tmp_fi2d(1:klon)=lmax_th(:)1652 enddo1653 ENDIF1654 CALL histwrite_phy(o_lmaxth, zx_tmp_fi2d)1655 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) 1656 1682 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1657 1683 IF (vars_defined) zx_tmp_fi3d(1:klon,1:klev)=d_t_vdf(1:klon,1:klev)/pdtphys … … 1669 1695 CALL water_int(klon,klev,zx_tmp_fi3d,zmasse,zx_tmp_fi2d) 1670 1696 CALL histwrite_phy(o_dqeva2d, zx_tmp_fi2d) 1671 zpt_conv = 0.1672 WHERE (ptconv) zpt_conv = 1.1673 CALL histwrite_phy(o_ptconv, zpt_conv)1674 1697 CALL histwrite_phy(o_ratqs, ratqs) 1675 1698 IF (vars_defined) THEN … … 1689 1712 IF (iflag_thermals>=1) THEN 1690 1713 ! Pour l instant 0 a y reflichir pour les thermiques 1691 zx_tmp_fi2d=0. 1692 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) 1693 1717 CALL histwrite_phy(o_f_th, fm_therm) 1694 1718 CALL histwrite_phy(o_e_th, entr_therm)
Note: See TracChangeset
for help on using the changeset viewer.