Skip to content

Commit

Permalink
Merge branch 'dev/ufs-weather-model' into feature/nodupfields
Browse files Browse the repository at this point in the history
  • Loading branch information
DeniseWorthen committed Feb 7, 2025
2 parents 2d00cc9 + 51c2d29 commit d31915b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions model/src/w3initmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -985,9 +985,20 @@ SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT, FLGRD, FLGR2, FLGD,
call extcde (60, msg="required restart file " // trim(fname) // " does not exist")
end if
else
call read_restart('none')
! mapst2 is module variable defined in read of mod_def; maptst is from 2.b above
flcold = .true.
if (restart_from_binary) then
call set_user_timestring(time,user_timestring)
fname = trim(user_restfname)//trim(user_timestring)
inquire(file=trim(fname), exist=exists)
if (exists) then
call w3iors('READ', nds(6), sig(nk), imod, filename=trim(fname))
else
call extcde (60, msg="required restart file " // trim(fname) // " does not exist")
end if
else
call read_restart('none')
! mapst2 is module variable defined in read of mod_def; maptst is from 2.b above
flcold = .true.
end if
end if
else
#endif
Expand Down

0 comments on commit d31915b

Please sign in to comment.