Changeset 07c3e71 in flexpart.git for src/FLEXPART.f90


Ignore:
Timestamp:
Jul 24, 2019, 12:16:51 PM (5 years ago)
Author:
Ignacio Pisso <ip@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
Children:
25b4532
Parents:
95a45d3
Message:

check dsigma for dry deposition velocity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART.f90

    r5fc7b68 r07c3e71  
    6262  implicit none
    6363
    64   integer :: i,j,ix,jy,inest
     64  integer :: i,j,ix,jy,inest, iopt
    6565  integer :: idummy = -320
    6666  character(len=256) :: inline_options  !pathfile, flexversion, arg2
     
    8080  ! FLEXPART version string
    8181  flexversion_major = '10' ! Major version number, also used for species file names
    82   flexversion='Version '//trim(flexversion_major)//'.4 (2019-07-16)'
     82  flexversion='Version '//trim(flexversion_major)//'.4 (2019-07-23)'
    8383  verbosity=0
    8484
     
    109109  print*,'FLEXPART is free software released under the GNU General Public License.'
    110110 
     111
     112  ! Ingest inline options
     113  !*******************************************************
    111114  if (inline_options(1:1).eq.'-') then
    112     if (trim(inline_options).eq.'-v'.or.trim(inline_options).eq.'-v1') then
    113        print*, 'Verbose mode 1: display detailed information during run'
    114        verbosity=1
    115     endif
    116     if (trim(inline_options).eq.'-v2') then
    117        print*, 'Verbose mode 2: display more detailed information during run'
    118        verbosity=2
    119     endif
     115    print*,'inline_options:',inline_options
     116    !verbose mode
     117    iopt=index(inline_options,'v')
     118    if (iopt.gt.0) then
     119      verbosity=1
     120      !print*, iopt, inline_options(iopt+1:iopt+1)
     121      if  (trim(inline_options(iopt+1:iopt+1)).eq.'2') then
     122        !print*, 'verbosity=2'
     123        print*, 'Verbose mode 2: display more detailed information during run'
     124        verbosity=2
     125      endif
     126    endif
     127
     128   
     129    !debug mode
     130    iopt=index(inline_options,'d')
     131    if (iopt.gt.0) then
     132      debug_mode=.true.
     133      endif
     134    endif
     135
     136
     137   
     138!      stop
     139!    if (trim(inline_options).eq.'-v'.or.trim(inline_options).eq.'-v1') then
     140!       print*, 'Verbose mode 1: display detailed information during run'
     141!       verbosity=1
     142!    endif
     143!    if (trim(inline_options).eq.'-v2') then
     144!       print*, 'Verbose mode 2: display more detailed information during run'
     145!       verbosity=2
     146!    endif
     147
    120148    if (trim(inline_options).eq.'-i') then
    121149       print*, 'Info mode: provide detailed run specific information and stop'
     
    135163    print*, 'nzmax=',nzmax
    136164    print*,'nxshift=',nxshift
     165  endif
     166 
     167  if (verbosity.gt.0) then
    137168    write(*,*) 'call readpaths'
    138169  endif
     
    193224  ! Detect metdata format
    194225  !**********************
     226  if (verbosity.gt.0) then
     227    write(*,*) 'call detectformat'
     228  endif
    195229
    196230  metdata_format = detectformat()
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG