Changeset 437c545 in flexpart.git for src/verttransform_gfs.f90


Ignore:
Timestamp:
Mar 20, 2019, 3:32:30 PM (5 years ago)
Author:
Sabine <sabine.eckhardt@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
Children:
7873bf7
Parents:
77783e3
Message:

BUGFIX: boundary overflow related to cloud height

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/verttransform_gfs.f90

    rdb91eb7 r437c545  
    548548        if ((lsp.gt.0.01).or.(convp.gt.0.01)) then ! cloud and precipitation
    549549
    550           do kz=nz,1,-1 !go Bottom up!
     550          do kz=nz,2,-1 !go Bottom up!
    551551            if (clw(ix,jy,kz,n).gt. 0) then ! is in cloud
    552552              cloudsh(ix,jy,n)=cloudsh(ix,jy,n)+height(kz)-height(kz-1)
    553553              clouds(ix,jy,kz,n)=1                               ! is a cloud
    554554              if (lsp.ge.convp) then
    555                 clouds(ix,jy,kz,n)=3                            ! lsp in-cloud
     555                clouds(ix,jy,kz,n)=3                             ! lsp in-cloud
    556556              else
    557557                clouds(ix,jy,kz,n)=2                             ! convp in-cloud
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG