Changeset 3167


Ignore:
Timestamp:
Jan 29, 2018, 4:07:49 PM (6 years ago)
Author:
jyg
Message:

Bug fix for output field "mc"
New way of computing output field "ftime_con"

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

Legend:

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

    r3165 r3167  
    15061506    'mc', 'Convective mass flux', 'kg/m2/s', (/ ('', i=1, 10) /))
    15071507  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)' /))
     1508    'ftime_con', 'Fraction of time convection Occurs', ' ', (/ ('', i=1, 10) /))
     1509!!jyg    'ftime_con', 'Fraction of time convection Occurs', ' ',                 &
     1510!!jyg      (/ 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', &
     1511!!jyg         'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)', 'inst(X)' /))
    15111512  TYPE(ctrl_out), SAVE :: o_dtdyn = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11, 11/), &
    15121513    'dtdyn', 'Dynamics dT', 'K/s', (/ ('', i=1, 10) /))
  • LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90

    r3165 r3167  
    977977          CALL histwrite_phy(o_dnwd, dnwd)
    978978          CALL histwrite_phy(o_dnwd0, dnwd0)
    979           IF (vars_defined)         zx_tmp_fi2d=float(itau_con)/float(itap)
     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
    980987          CALL histwrite_phy(o_ftime_con, zx_tmp_fi2d)
    981988          IF (vars_defined) THEN
    982989             IF (iflag_thermals>=1)THEN
    983                 zx_tmp_fi3d=dnwd+dnwd0+upwd+fm_therm(:,1:klev)
     990                zx_tmp_fi3d=-dnwd+dnwd0+upwd+fm_therm(:,1:klev)
    984991             ELSE
    985                 zx_tmp_fi3d=dnwd+dnwd0+upwd
     992                zx_tmp_fi3d=-dnwd+dnwd0+upwd
    986993             ENDIF
    987994          ENDIF
Note: See TracChangeset for help on using the changeset viewer.