Ignore:
Timestamp:
Feb 16, 2026, 6:01:58 PM (5 days ago)
Author:
evignon
Message:

harmonisation des lectures de z0 dans les .def afin de pouvoir forcer les cas 1D au format standard
en z0m et z0h sur tout type de sous-surface

File:
1 edited

Legend:

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

    r5982 r6078  
    7676
    7777    USE dimpft_mod_h, ONLY: nvm_lmdz
    78     USE clesphys_mod_h, ONLY : nsw, ok_bs
     78    USE clesphys_mod_h, ONLY : nsw, ok_bs, z0m_land, z0h_land, iflag_z0_ter
    7979    USE yomcst_mod_h, ONLY: RCPD, RKAPPA
    8080    USE print_control_mod, ONLY: lunout
     
    336336#endif           
    337337     &       )
    338         z0h(1:knon)=z0m(1:knon) ! En attendant mieux
     338
     339
     340      z0h(1:knon)=z0m(1:knon) ! En attendant mieux
    339341
    340342      ENDIF ! iflag_hetero_surf
    341343
     344    ! possibility to impose z0m et z0h over land
     345
     346
    342347    ENDIF ! ok_veget
    343348
    344         ! blowing snow not treated yet over land
    345         fluxbs(:)=0.
     349    IF (iflag_z0_ter==-1) THEN
     350      DO i = 1, knon
     351          z0m(i) = z0m_land
     352          z0h(i) = z0h_land
     353      ENDDO
     354    ENDIF
     355
     356    ! blowing snow not treated yet over land
     357    fluxbs(:)=0.
    346358
    347359
Note: See TracChangeset for help on using the changeset viewer.