Ignore:
Timestamp:
Oct 1, 2018, 1:33:32 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Due to a difficult to correct bug, near surface fields can take abnormal values in very specific circumstances.
While waiting to find a correction, these modifications will force the values of these fields within reasonable bounds.
To get back to the previous behaviour of the model, use iflag_bug_t2m_ipslcm61 = 1 (it is 0 by default)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/phys_output_write_mod.F90

    r3399 r3400  
    244244
    245245    USE phys_local_var_mod, ONLY: zxfluxlat, slp, ptstar, pt0, zxtsol, zt2m, &
     246         zt2m_cor,zq2m_cor,zu10m_cor,zv10m_cor, &
    246247         t2m_min_mon, t2m_max_mon, evap, &
    247248         l_mixmin,l_mix, &
     
    653654       CALL histwrite_phy(o_slp, slp)
    654655       CALL histwrite_phy(o_tsol, zxtsol)
    655        CALL histwrite_phy(o_t2m, zt2m)
    656        CALL histwrite_phy(o_t2m_min, zt2m)
    657        CALL histwrite_phy(o_t2m_max, zt2m)
     656       CALL histwrite_phy(o_t2m, zt2m_cor)
     657       CALL histwrite_phy(o_t2m_min, zt2m_cor)
     658       CALL histwrite_phy(o_t2m_max, zt2m_cor)
    658659       CALL histwrite_phy(o_t2m_max_mon, t2m_max_mon)
    659660       CALL histwrite_phy(o_t2m_min_mon, t2m_min_mon)
     
    661662       IF (vars_defined) THEN
    662663          DO i=1, klon
    663              zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i))
     664             zx_tmp_fi2d(i)=SQRT(zu10m_cor(i)*zu10m_cor(i)+zv10m_cor(i)*zv10m_cor(i))
    664665          ENDDO
    665666       ENDIF
     
    668669       IF (vars_defined) THEN
    669670          DO i=1, klon
    670              zx_tmp_fi2d(i)=SQRT(zu10m(i)*zu10m(i)+zv10m(i)*zv10m(i))
     671             zx_tmp_fi2d(i)=SQRT(zu10m_cor(i)*zu10m_cor(i)+zv10m_cor(i)*zv10m_cor(i))
    671672          ENDDO
    672673       ENDIF
     
    681682       ENDIF
    682683       CALL histwrite_phy(o_sicf, zx_tmp_fi2d)
    683        CALL histwrite_phy(o_q2m, zq2m)
     684       CALL histwrite_phy(o_q2m, zq2m_cor)
    684685       CALL histwrite_phy(o_ustar, zustar)
    685        CALL histwrite_phy(o_u10m, zu10m)
    686        CALL histwrite_phy(o_v10m, zv10m)
     686       CALL histwrite_phy(o_u10m, zu10m_cor)
     687       CALL histwrite_phy(o_v10m, zv10m_cor)
    687688
    688689       IF (vars_defined) THEN
Note: See TracChangeset for help on using the changeset viewer.