Ignore:
Timestamp:
Apr 22, 2015, 3:42:35 PM (9 years ago)
Author:
pesei
Message:

Wet dep quick fix and other small changes. Wet depo quick fix not final yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/petra/src/readcommand.f90

    r36 r37  
    235235    read(unitcommand,*,iostat=icmdstat) linit_cond
    236236    if (icmdstat .gt. 0) &
    237       print*, 'readcommand: linit_cond not read properly',icmdstat,linit_cond
    238     if (old) call skplin(3,unitcommand)
    239     read(unitcommand,*,iostat=icmdstat) surf_only
     237      print*, 'readcommand: linit_cond not present or no read properly,&
     238       & - check values: ',icmdstat,linit_cond
     239    if (old) call skplin(3,unitcommand)
     240    read(unitcommand,*,iostat=icmdstat) icmdstat,surf_only
    240241    if (icmdstat .gt. 0) &
    241       print*, 'readcommand: linit_cond not read properly',icmdstat,surf_only
    242     if (old) call skplin(3,unitcommand)
    243     read(unitcommand,*,iostat=icmdstat) ldep_incr
     242      print*, 'readcommand: surf_only not present or not read properly&
     243       & - check values: ',icmdstat,surf_only
     244    if (old) call skplin(3,unitcommand)
     245    read(unitcommand,*,iostat=icmdstat) icmdstat,ldep_incr
    244246    if (icmdstat .gt. 0) &
    245       print*, 'readcommand: linit_cond not read properly',icmdstat, ldep_incr
     247      print*, 'readcommand: ldep_incr not present or not read properly&
     248       & - check values: ',icmdstat, ldep_incr
    246249    close(unitcommand)
    247250
     
    416419
    417420
    418   ! For backward runs one releasefield for all releases makes no sense,
    419   ! For quasilag and domainfill ioutputforechrelease is forbidden
    420   !*****************************************************************************
    421 
    422   if ((ldirect .lt. 0) .and. (ioutputforeachrelease .eq. 0)) then
    423       write(*,*) '#### FLEXPART MODEL ERROR! FILE COMMAND:     ####'
    424       write(*,*) '#### FOR BACKWARD RUNS, IOUTPUTFOREACHRLEASE ####'
    425       write(*,*) '#### MUST BE SET TO ONE!                     ####'
    426       stop
    427   endif
    428 
    429 
    430   ! For backward runs one releasefield for all releases makes no sense,
     421  ! For domainfill runs one releasefield for all releases makes no sense,
    431422  ! and is "forbidden"
    432423  !*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG