Changes in src/readspecies.f90 [92fab65:03adec6] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readspecies.f90

    r92fab65 r03adec6  
    1 ! SPDX-FileCopyrightText: FLEXPART 1998-2019, see flexpart_license.txt
    2 ! SPDX-License-Identifier: GPL-3.0-or-later
    3 
    41subroutine readspecies(id_spec,pos_spec)
    52
     
    4239  implicit none
    4340
    44   integer :: i, pos_spec,j
     41  integer :: i, pos_spec,j,icheck_dow_hour
    4542  integer :: idow,ihour,id_spec
    4643  character(len=3) :: aspecnumb
     
    229226    ohnconst(pos_spec)=pohnconst
    230227
     228
     229    icheck_dow_hour=0
    231230    do j=1,24     ! 24 hours, starting with 0-1 local time
    232231      area_hour(pos_spec,j)=parea_hour(j)
    233232      point_hour(pos_spec,j)=ppoint_hour(j)
     233      if (parea_hour(j).ne.1 .or. ppoint_hour(j).ne.1) icheck_dow_hour=1
    234234    end do
    235235    do j=1,7      ! 7 days of the week, starting with Monday
    236236      area_dow(pos_spec,j)=parea_dow(j)
    237237      point_dow(pos_spec,j)=ppoint_dow(j)
     238      if (parea_dow(j).ne.1 .or. ppoint_dow(j).ne.1) icheck_dow_hour=1
    238239    end do
    239240
     
    35735820 continue
    358359
     360  if ((icheck_dow_hour.eq.1).and.(ldirect.lt.0)) then
     361    write(*,*) '#### FLEXPART MODEL WARNING                     ####'
     362    write(*,*) '#### The variation for an emission release      ####'
     363    write(*,*) '#### will have no effect in backward mode       ####' 
     364  endif
    359365
    36036622 close(unitspecies)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG