Changeset 120 in lmdz_wrf


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

Adding checks for fraca

File:
1 edited

Legend:

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

    r119 r120  
    741741      lvarname = 'zw2'
    742742      CALL check_var3D(lfname, lvarname, zw2, ngrid, nlay+1, largest, .FALSE.)
     743      lvarname = 'rhobarz'
     744      CALL check_var3D(lfname, lvarname, rhobarz, ngrid, nlay, largest, .FALSE.)
     745      lvarname = 'fraca'
     746      CALL check_var3D(lfname, lvarname, fraca, ngrid, nlay+1, largest, .FALSE.)
    743747
    744748!IM 090508 
     
    979983     fraca0(ig)=fraca(ig,klcl(ig))+(fraca(ig,klcl(ig)+1) &
    980984 &             -fraca(ig,klcl(ig)))*interp(ig)
     985     IF (fraca0(ig) /= fraca0(ig) .OR. ABS(fraca0(ig)) > largest*10.e5) THEN
     986       PRINT *,'  Lluis wrong fraca0(ig): ',fraca0(ig),' at : ',ig
     987       PRINT *,'    klcl(ig): ', klcl(ig),' klcl(ig)+1: ',klcl(ig)+1,                &
     988         ' fraca(ig,klcl(ig)): ',fraca(ig,klcl(ig)),' fraca(ig,klcl(ig)+1): ',       &
     989         fraca(ig,klcl(ig)+1), ' interp(ig): ',interp(ig)
     990     END IF
     991
    981992     w0(ig)=zw2(ig,klcl(ig))+(zw2(ig,klcl(ig)+1) &
    982993 &         -zw2(ig,klcl(ig)))*interp(ig)
Note: See TracChangeset for help on using the changeset viewer.