Changeset 104 in lmdz_wrf for branches/LMDZ_WRFmeas


Ignore:
Timestamp:
Jul 25, 2014, 4:23:01 PM (11 years ago)
Author:
lfita
Message:

Adding artesanal chck for NaNs?

File:
1 edited

Legend:

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

    r103 r104  
    248248             zzz=fm(ig,l)*rhobarz(ig,l+1)*zw2(ig,l+1)  &
    249249     &                          /(rhobarz(ig,l)*zw2(ig,l))
     250             IF (zzz /= zzz .OR. zw2(ig,l) == 0. )
     251               PRINT *,'  Lluis ', ig,',',l,' wrong zzz: ',zzz,' zw2: ',zw2(ig,l),' fm: ',fm(ig,l)
     252             END IF
    250253             if (fm(ig,l+1).gt.zzz) then
    251254                detr(ig,l)=detr(ig,l)+fm(ig,l+1)-zzz
     
    261264      lvarname = 'fm'
    262265      CALL check_var(lfname, lvarname, fm(:,l), ngrid, klev+1, largest, .FALSE.)
    263       lvarname = '1/zw2'
    264       CALL check_var(lfname, lvarname, 1./zw2(:,l), ngrid, klev+1, largest, .FALSE.)
    265       lvarname = '1/rhobarz'
    266       CALL check_var(lfname, lvarname, 1./rhobarz(:,l), ngrid, klev+1, largest, .FALSE.)
     266!      lvarname = '1/zw2'
     267!      CALL check_var(lfname, lvarname, 1./zw2(:,l), ngrid, klev+1, largest, .FALSE.)
     268!      lvarname = '1/rhobarz'
     269!      CALL check_var(lfname, lvarname, 1./rhobarz(:,l), ngrid, klev+1, largest, .FALSE.)
    267270      lvarname = 'entr'
    268271      CALL check_var(lfname, lvarname, entr(:,l), ngrid, klev, largest, .FALSE.)
Note: See TracChangeset for help on using the changeset viewer.