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_local_var_mod.F90

    r3318 r3400  
    376376      REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: wbeff, convoccur, zmax_th, zq2m, zt2m
    377377!$OMP THREADPRIVATE(wbeff, convoccur, zmax_th, zq2m, zt2m)
     378     REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zq2m_cor, zt2m_cor, zu10m_cor, zv10m_cor                                           
     379!$OMP THREADPRIVATE(zq2m_cor, zt2m_cor, zu10m_cor, zv10m_cor)
    378380      REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zt2m_min_mon, zt2m_max_mon
    379381!$OMP THREADPRIVATE(zt2m_min_mon, zt2m_max_mon)
     
    741743      ALLOCATE(wbeff(klon), convoccur(klon), zmax_th(klon))
    742744      ALLOCATE(zq2m(klon), zt2m(klon), weak_inversion(klon))
     745      ALLOCATE(zq2m_cor(klon), zt2m_cor(klon), zu10m_cor(klon), zv10m_cor(klon))
    743746      ALLOCATE(zt2m_min_mon(klon), zt2m_max_mon(klon))
    744747      ALLOCATE(t2m_min_mon(klon), t2m_max_mon(klon))
     
    10351038      DEALLOCATE(wbeff, convoccur, zmax_th)
    10361039      DEALLOCATE(zq2m, zt2m, weak_inversion)
     1040      DEALLOCATE(zq2m_cor, zt2m_cor, zu10m_cor, zv10m_cor)
    10371041      DEALLOCATE(zt2m_min_mon, zt2m_max_mon)
    10381042      DEALLOCATE(t2m_min_mon, t2m_max_mon)
Note: See TracChangeset for help on using the changeset viewer.