Skip to content
Snippets Groups Projects
Commit 0e3a3d3d authored by Kyle Klenk's avatar Kyle Klenk
Browse files

fix timestep issue

parent 0f1a2d81
No related branches found
No related tags found
1 merge request!7Data assimilation mode
......@@ -211,7 +211,12 @@ subroutine runPhysics(&
!****************************** From run_oneHRU *******************************
!******************************************************************************
! water pixel: do nothing
if (hru_data%typeStruct%var(iLookTYPE%vegTypeIndex) == isWater) return
if (hru_data%typeStruct%var(iLookTYPE%vegTypeIndex) == isWater) then
! Set wall_clock time to zero so it does not get a random value
wallTimeTimeStep = 0._dp
hru_data%diagStruct%var(iLookDIAG%wallClockTime)%dat(1) = 0._dp
return
endif
! get height at bottom of each soil layer, negative downwards (used in Noah MP)
allocate(zSoilReverseSign(nSoil),stat=err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment