Changeset 41d8574 in flexpart.git for src/verttransform.f90
- Timestamp:
- Jan 15, 2016, 12:35:58 PM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- fdc0f03
- Parents:
- d8107c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/verttransform.f90
rf75967d r41d8574 251 251 !hg adding the cloud water 252 252 clwc(:,:,1,n)=clwch(:,:,1,n) 253 ciwc(:,:,1,n)=ciwch(:,:,1,n)253 if (.not.sumclouds) ciwc(:,:,1,n)=ciwch(:,:,1,n) 254 254 !hg 255 255 pv(:,:,1,n)=pvh(:,:,1) … … 262 262 !hg adding the cloud water 263 263 clwc(:,:,nz,n)=clwch(:,:,nuvz,n) 264 ciwc(:,:,nz,n)=ciwch(:,:,nuvz,n)264 if (.not.sumclouds) ciwc(:,:,nz,n)=ciwch(:,:,nuvz,n) 265 265 !hg 266 266 pv(:,:,nz,n)=pvh(:,:,nuvz) … … 280 280 !hg adding the cloud water 281 281 clwc(ix,jy,iz,n)=clwc(ix,jy,nz,n) 282 ciwc(ix,jy,iz,n)=ciwc(ix,jy,nz,n)282 if (.not.sumclouds) ciwc(ix,jy,iz,n)=ciwc(ix,jy,nz,n) 283 283 !hg 284 284 pv(ix,jy,iz,n)=pv(ix,jy,nz,n) … … 310 310 !hg adding the cloud water 311 311 clwc(ix,jy,iz,n)=(clwch(ix,jy,kz-1,n)*dz2+clwch(ix,jy,kz,n)*dz1)/dz 312 ciwc(ix,jy,iz,n)=(ciwch(ix,jy,kz-1,n)*dz2+ciwch(ix,jy,kz,n)*dz1)/dz 312 if (.not.sumclouds) & 313 &ciwc(ix,jy,iz,n)=(ciwch(ix,jy,kz-1,n)*dz2+ciwch(ix,jy,kz,n)*dz1)/dz 313 314 !hg 314 315 pv(ix,jy,iz,n)=(pvh(ix,jy,kz-1)*dz2+pvh(ix,jy,kz)*dz1)/dz … … 578 579 !*********************************************************************************** 579 580 write(*,*) 'using cloud water from ECMWF' 580 clw(:,:,:,n)=0 581 icloud_stats(:,:,:,n)=0 581 clw(:,:,:,n)=0.0 582 icloud_stats(:,:,:,n)=0.0 582 583 clouds(:,:,:,n)=0 584 ! If water/ice are read separately into clwc and ciwc, store sum in clwc 585 if (.not.sumclouds) then 586 clwc(:,:,:,n) = clwc(:,:,:,n) + ciwc(:,:,:,n) 587 end if 583 588 do jy=0,nymin1 584 589 do ix=0,nxmin1 … … 635 640 ! create a cloud and rainout/washout field, clouds occur where rh>80% 636 641 ! total cloudheight is stored at level 0 637 ! if (.not.readclouds) write(*,*) 'using cloud water from Parameterization'638 642 write(*,*) 'using cloud water from Parameterization' 639 643 do jy=0,nymin1 … … 676 680 end do 677 681 endif !readclouds 682 683 ! eso: copy the relevant data to clw4 to reduce amount of communicated data for MPI 684 clw4(:,:,n) = icloud_stats(:,:,4,n) 678 685 679 686 !********* TEST ***************
Note: See TracChangeset
for help on using the changeset viewer.