Changeset 121 in lmdz_wrf


Ignore:
Timestamp:
Jul 28, 2014, 11:45:08 AM (10 years ago)
Author:
lfita
Message:

Adding checks of 'fraca' at the right place....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LMDZ_WRFmeas/WRFV3/lmdz/thermcell_main.F90

    r120 r121  
    936936    enddo
    937937!!jyg fin
     938      lfname='thermcell_main before LCL'
     939      lvarname = 'rhobarz0'
     940      CALL check_var(lfname, lvarname, rhobarz0, ngrid, largest, .FALSE.)
     941      lvarname = 'p_con'
     942      CALL check_var(lfname, lvarname, p_con, ngrid, largest, .FALSE.)
     943      lvarname = 'fraca'
     944      CALL check_var3D(lfname, lvarname, fraca, ngrid, nlay+1, largest, .FALSE.)
     945      lvarname = 'fraca0'
     946      CALL check_var(lfname, lvarname, fraca0, ngrid, largest, .FALSE.)
     947      lvarname = 'w_conv'
     948      CALL check_var(lfname, lvarname, w_conv, ngrid, largest, .FALSE.)
     949      lvarname = 'interp'
     950      CALL check_var(lfname, lvarname, interp, ngrid, largest, .FALSE.)
     951      lvarname = 'zlcl'
     952      CALL check_var(lfname, lvarname, zlcl, ngrid, largest, .FALSE.)
    938953
    939954!------------Calcul des propriétés du thermique au LCL
     
    10101025     if (pbl_tke_max0(ig).ge.20.) pbl_tke_max0(ig)=20.
    10111026   else
     1027     IF (fraca0(ig) /= fraca0(ig) .OR. ABS(fraca0(ig)) > largest*10.e5) THEN
     1028       PRINT *,'  Lluis wrong fraca0(ig): ',fraca0(ig),' at : ',ig
     1029       PRINT *,'    klcl(ig): ', klcl(ig),' klcl(ig)+1: ',klcl(ig)+1,                &
     1030         ' fraca(ig,klcl(ig)): ',fraca(ig,klcl(ig)),' fraca(ig,klcl(ig)+1): ',       &
     1031         fraca(ig,klcl(ig)+1), ' interp(ig): ',interp(ig)
     1032     END IF
    10121033     IF (w_conv(ig) /= w_conv(ig) .OR. ABS(w_conv(ig)) > largest*10.e5) THEN
    10131034       PRINT *,'  Lluis wrong w_conv(ig): ',w_conv(ig),' at : ',ig
Note: See TracChangeset for help on using the changeset viewer.