Skip to content

Commit

Permalink
add Meier2022 check in control_init fates section
Browse files Browse the repository at this point in the history
  • Loading branch information
glemieux committed Jan 15, 2025
1 parent 23b30ae commit ccb55da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/controlMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ subroutine control_init(dtime)
errMsg(sourcefile, __LINE__))
end if

if (z0param_method == 'Meier2022') then
call endrun(msg=' ERROR: Surface roughness parameterization Meier2022 is not compatible with FATES.'//&
errMsg(sourcefile, __LINE__))
end if

else

! These do default to false anyway, but this emphasizes they
Expand Down

0 comments on commit ccb55da

Please sign in to comment.