Changeset 128 in lmdz_wrf for branches/LMDZ_WRFmeas
- Timestamp:
- Jul 28, 2014, 5:51:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/lmdz/thermcell_main.F90
r127 r128 916 916 ! if ((pplay(ig,l) .ge. pcon(ig)) .and. (pplay(ig,l+1) .le. pcon(ig))) then 917 917 ! L. Fita, LMD July 2014. Adding avoiding divisons by zero... 918 if ((pplay(ig,l) .ge. pcon(ig)) .and. (pplay(ig,l+1) .le. pcon(ig)) .and. & 919 (pplay(ig,klcl(ig)+1)-pplay(ig,klcl(ig))) .ne. 0.) then 918 if ((pplay(ig,l) .ge. pcon(ig)) .and. (pplay(ig,l+1) .le. pcon(ig)) .and. & 919 (klcl(ig) .gt. 0) .and. (klcl(ig) + 1 .le. nlay-1) .and. & 920 (pplay(ig,klcl(ig)+1)-pplay(ig,klcl(ig)) .ne. 0.) ) then 920 921 klcl(ig)=l 921 922 interp(ig)=(pcon(ig)-pplay(ig,klcl(ig)))/(pplay(ig,klcl(ig)+1)-pplay(ig,klcl(ig)))
Note: See TracChangeset
for help on using the changeset viewer.