Ignore:
Timestamp:
Oct 29, 2019, 7:32:03 AM (5 years ago)
Author:
fhourdin
Message:

Improvement for SCM standard format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/scm.F90

    r3593 r3594  
    10111011      d_v_nudge(:) = 0.
    10121012      d_q_nudge(:,:) = 0.
    1013       print*,'GUIDAGE ABSURDE POUR SANDU '
    1014       nudging_t=0.
    1015       nudging_qv=0.
    1016       IF ( nint(nudging_t) /= 0 ) d_t_nudge(:)=(temp_nudg_mod_cas(:)-temp(:))/nudging_t
    1017       IF ( nint(nudging_qv) /= 0 ) d_q_nudge(:,1)  =(qv_nudg_mod_cas(:)  -q(:,1) )/nudging_qv
    1018       IF ( nint(nudging_u*nudging_v) /= 0 ) THEN
    1019               d_u_nudge(:)=(u_nudg_mod_cas(:)-u(:))/nudging_u
    1020               d_v_nudge(:)=(v_nudg_mod_cas(:)-v(:))/nudging_u
    1021       ENDIF
    1022       !CALL iophys_ecrit('qv',klev,'qv','g/kg',1000*q(:,1))
    1023       !CALL iophys_ecrit('qvnud',klev,'qvnud','g/kg',1000*u_nudg_mod_cas)
    1024       !CALL iophys_ecrit('u',klev,'u','m/s',u)
    1025       !CALL iophys_ecrit('unud',klev,'unud','m/s',u_nudg_mod_cas)
    1026       !CALL iophys_ecrit('v',klev,'v','m/s',v)
    1027       !CALL iophys_ecrit('vnud',klev,'vnud','m/s',v_nudg_mod_cas)
     1013      DO l=1,llm
     1014         IF ( play(l) < p_nudging_u .AND. nint(nudging_u) /= 0 ) &
     1015             & d_u_nudge(l)=(u_nudg_mod_cas(l)-u(l))/nudging_u
     1016         IF ( play(l) < p_nudging_v .AND. nint(nudging_v) /= 0 ) &
     1017             & d_v_nudge(l)=(v_nudg_mod_cas(l)-v(l))/nudging_v
     1018         IF ( play(l) < p_nudging_t .AND. nint(nudging_t) /= 0 ) &
     1019             & d_t_nudge(l)=(temp_nudg_mod_cas(l)-temp(l))/nudging_t
     1020         IF ( play(l) < p_nudging_qv .AND. nint(nudging_qv) /= 0 ) &
     1021             & d_q_nudge(l,1)=(qv_nudg_mod_cas(l)-q(l,1))/nudging_qv
     1022      ENDDO
     1023      CALL iophys_ecrit('qv',klev,'qv','g/kg',1000*q(:,1))
     1024      CALL iophys_ecrit('qvnud',klev,'qvnud','g/kg',1000*u_nudg_mod_cas)
     1025      CALL iophys_ecrit('u',klev,'u','m/s',u)
     1026      CALL iophys_ecrit('unud',klev,'unud','m/s',u_nudg_mod_cas)
     1027      CALL iophys_ecrit('v',klev,'v','m/s',v)
     1028      CALL iophys_ecrit('vnud',klev,'vnud','m/s',v_nudg_mod_cas)
     1029      CALL iophys_ecrit('dtnud',klev,'dtnud','K/day',86400*d_t_nudge)
     1030      CALL iophys_ecrit('dqnud',klev,'dqnud','K/day',1000*86400*d_q_nudge(:,1))
    10281031
    10291032!
     
    11091112     &             +dt_cooling(1:mxcalc))  ! Taux de chauffage ou refroid.
    11101113
    1111        print*,'MXCALC d_t_adv ',mxcalc,d_t_adv(1:20)*86400
    11121114
    11131115!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Note: See TracChangeset for help on using the changeset viewer.