Changeset 05cf28d in flexpart.git for src/readreleases.f90


Ignore:
Timestamp:
Apr 22, 2016, 9:35:28 AM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
356dcb9
Parents:
61df8d9
Message:

Updated checks and warning messages for wet deposition parameters given in SPECIES files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readreleases.f90

    r341f4b7 r05cf28d  
    362362  ! Check if wet deposition or OH reaction shall be calculated
    363363  !***********************************************************
    364 ! NIK 15.02.2015, with new wet dep scheme either A or B parameters can be assigned a positive value which switches on wet dep
    365     if (weta_gas(i).gt.0. .or. wetb_gas(i).gt.0.)  then ! :TODO: or particle
     364
     365  ! ESO 04.2016 check for below-cloud scavenging (gas or aerosol)
     366    if ((dquer(i).le.0..and.(weta_gas(i).gt.0. .or. wetb_gas(i).gt.0.)) .or. &
     367         &(dquer(i).gt.0. .and. (crain_aero(i) .gt. 0. .or. csnow_aero(i).gt.0.)))  then
    366368      WETDEP=.true.
    367369      if (lroot) then
    368         write (*,*) 'Below-cloud scavenging: ON'
    369       !  write (*,*) 'Below-cloud scavenging coefficients: ',weta(i),i
     370        write (*,*) '  Below-cloud scavenging: ON'
     371!  write (*,*) 'Below-cloud scavenging coefficients: ',weta(i),i
    370372      end if
    371373    else
    372       if (lroot) write (*,*) 'Below-cloud scavenging: OFF'
     374      if (lroot) write (*,*) '  Below-cloud scavenging: OFF'
    373375    endif
    374376   
    375377! NIK 31.01.2013 + 10.12.2013 + 15.02.2015
    376     if (ccn_aero(i).gt.0. .or. in_aero(i).gt.0.)  then
     378    if (dquer(i).gt.0..and.(ccn_aero(i).gt.0. .or. in_aero(i).gt.0.))  then
    377379      WETDEP=.true.
    378380      if (lroot) then
    379         write (*,*) 'In-cloud scavenging: ON'
     381        write (*,*) '  In-cloud scavenging: ON'
    380382!        write (*,*) 'In-cloud scavenging coefficients: ',&
    381383!           &ccn_aero(i),in_aero(i),i !,wetc_in(i), wetd_in(i),i
    382384      end if
    383385    else
    384       if (lroot) write (*,*) 'In-cloud scavenging: OFF'
     386      if (lroot) write (*,*) '  In-cloud scavenging: OFF'
    385387    endif
    386388
    387389    if (ohcconst(i).gt.0.) then
    388390      OHREA=.true.
    389       if (lroot) write (*,*) 'OHreaction switched on: ',ohcconst(i),i
     391      if (lroot) write (*,*) '  OHreaction switched on: ',ohcconst(i),i
    390392    endif
    391393
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG