Skip to content

Commit

Permalink
Bug fix for SLLEVEL bound issue when not RUC LSM (#463)
Browse files Browse the repository at this point in the history
Co-authored-by: Tracy <tracy.hertneky@noaa.gov>
  • Loading branch information
hertneky and Tracy committed Mar 28, 2022
1 parent 0185bb9 commit f22a590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sorc/ncep_post.fd/INITPOST_NETCDF.f
Original file line number Diff line number Diff line change
Expand Up @@ -2292,6 +2292,7 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
! assign soil depths for RUC LSM, hard wire 9 soil depths here
! so they aren't missing.
IF (NSOIL==9) THEN
SLLEVEL(1) = 0.0
SLLEVEL(2) = 0.01
SLLEVEL(3) = 0.04
Expand All @@ -2301,6 +2302,7 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
SLLEVEL(7) = 1.0
SLLEVEL(8) = 1.6
SLLEVEL(9) = 3.0
END IF
! liquid volumetric soil mpisture in fraction using nemsio
VarName='soill1'
Expand Down

0 comments on commit f22a590

Please sign in to comment.