Skip to content

Commit

Permalink
Add lislog messages when writing binary and distributed binary restarts
Browse files Browse the repository at this point in the history
This commit adds the writing of lislog messages when writing binary
and distributed binary restart files in Noah-MP-4.0.1 LSM.

Resolves: NASA-LIS#1637
  • Loading branch information
dmocko committed Nov 5, 2024
1 parent fc2c6b0 commit 01959b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lis/surfacemodels/land/noahmp.4.0.1/NoahMP401_writerst.F90
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,13 @@ subroutine NoahMP401_writerst(n)
if(wformat .eq. "binary") then
if (LIS_masterproc) then
call LIS_releaseUnitNumber(ftn)
write(LIS_logunit, *)&
"[INFO] Noah-MP.4.0.1 archive restart written: ",trim(filen)
endif
elseif(wformat.eq."distributed binary") then
call LIS_releaseUnitNumber(ftn)
write(LIS_logunit, *)&
"[INFO] Noah-MP.4.0.1 archive restart written: ",trim(filenp)
elseif(wformat .eq. "netcdf") then
if(LIS_masterproc) then
#if (defined USE_NETCDF3 || defined USE_NETCDF4)
Expand Down

0 comments on commit 01959b7

Please sign in to comment.