Skip to content

Commit

Permalink
Merge pull request #279 from ashiklom/crown-mod-fix
Browse files Browse the repository at this point in the history
Allow finite canopy radius with new two-stream model
  • Loading branch information
mdietze authored Feb 2, 2020
2 parents 566439e + 77e3fe6 commit e40cef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ED/src/io/ed_opspec.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2451,8 +2451,8 @@ subroutine ed_opspec_misc
,icanrad,'...'
ifaterr = ifaterr +1
call opspec_fatal(reason,'opspec_misc')
elseif (icanrad /= 0 .and. crown_mod == 1) then
write(reason,fmt='(a)') 'CROWN_MOD must be turned off when ICANRAD is 1 or 2...'
elseif (icanrad == 2 .and. crown_mod == 1) then
write(reason,fmt='(a)') 'CROWN_MOD must be turned off when ICANRAD is 2...'
ifaterr = ifaterr +1
call opspec_fatal(reason,'opspec_misc')
end if
Expand Down

0 comments on commit e40cef1

Please sign in to comment.