Skip to content

Commit

Permalink
Update src/STEMMUS_SCOPE.m
Browse files Browse the repository at this point in the history
Co-authored-by: SarahAlidoost <[email protected]>
  • Loading branch information
MostafaGomaa93 and SarahAlidoost authored Aug 14, 2024
1 parent de26310 commit 237e8b1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/STEMMUS_SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,9 @@
return
end

% Update soil temperature
if ~isnan(GroundwaterSettings.tempBotm)
SoilVariables.T(1:GroundwaterSettings.indxBotmLayer) = GroundwaterSettings.tempBotm;
T = SoilVariables.T;
SoilVariables.TT(1:GroundwaterSettings.indxBotmLayer) = GroundwaterSettings.tempBotm;
TT = SoilVariables.TT;
% no available groundwater temperature data
if isnan(GroundwaterSettings.tempBotm)
GroundwaterSettings.tempBotm = SoilVariables.TT(GroundwaterSettings.indxBotmLayer);
end
end

Expand Down

0 comments on commit 237e8b1

Please sign in to comment.