Skip to content

Commit

Permalink
initialize errmsg & errflg in noahmp_tables.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelTrahanNOAA committed Sep 21, 2023
1 parent 7912a19 commit 7332c8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions physics/noahmp_tables.f90
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ subroutine read_mp_table_parameters(errmsg, errflg)
sr2006_psi_e_a, sr2006_psi_e_b, sr2006_psi_e_c, sr2006_smcmax_a, &
sr2006_smcmax_b

errmsg = ''
errflg = 0

! initialize our variables to bad values, so that if the namelist read fails, we come to a screeching halt as soon as we try to use anything.
! vegetation parameters
isurban_table = -99999
Expand Down

0 comments on commit 7332c8e

Please sign in to comment.