Changeset 4035 for LMDZ6/trunk


Ignore:
Timestamp:
Nov 30, 2021, 7:44:20 PM (3 years ago)
Author:
lguez
Message:

Bug fix: only write defined fields to startphy

Location:
LMDZ6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk

  • LMDZ6/trunk/libf/phylmd/phyredem.F90

    r3956 r4035  
    162162    CALL put_field_srf1(pass,"TS","Temperature",ftsol(:,:))
    163163
    164 !!    CALL put_field_srf1(pass,"DELTA_TS","w-x surface temperature difference", delta_tsurf(:,:))
    165     CALL put_field_srf1(pass,"DELTATS","w-x surface temperature difference", delta_tsurf(:,:))
    166 
    167 !    CALL put_field_srf1(pass,"BETA_S","Aridity factor", beta_aridity(:,:))
    168     CALL put_field_srf1(pass,"BETAS","Aridity factor", beta_aridity(:,:))
     164    IF (iflag_pbl>1 .AND. iflag_wake>=1  .AND. iflag_pbl_split >=1) then
     165       CALL put_field_srf1(pass, "DELTATS", &
     166            "w-x surface temperature difference", delta_tsurf(:,:))
     167       CALL put_field_srf1(pass,"BETAS","Aridity factor", beta_aridity(:,:))
     168    end IF
    169169!    End surface variables
    170170
Note: See TracChangeset for help on using the changeset viewer.