Skip to content

Commit

Permalink
Merge pull request #200 from EcoExtreML/fix_issue_101
Browse files Browse the repository at this point in the history
remove ObservationPoints script
  • Loading branch information
SarahAlidoost authored Oct 17, 2023
2 parents 9dc322f + 02556cf commit 8e2642f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
[194](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/194)
- All `Engry_*` functions are refcatored and moved to `+energy` folder in
[197](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/197)
- Remove `ObservationPoints` script
[200](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/200)

**Fixed:**

- issue [#181](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/181)
- issue [#98](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/98)
- issue [#99](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/99)
- issue [#100](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/100)
- issue [#101](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/101)

<a name="1.3.0"></a>
# [1.3.0](https://github.com/EcoExtreML/STEMMUS_SCOPE/releases/tag/1.3.0) - 22 Jun 2023
Expand Down
Binary file modified run_model_on_snellius/exe/STEMMUS_SCOPE
Binary file not shown.
22 changes: 0 additions & 22 deletions src/ObservationPoints.m

This file was deleted.

10 changes: 9 additions & 1 deletion src/STEMMUS_SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,12 @@
Delt_t0 = Delt_t; % Duration of last time step
TOLD_CRIT = [];

% for soil moisture and temperature outputs
monitorDepthTemperature = ModelSettings.NL:-1:1;
monitorDepthSoilMoisture = ModelSettings.NL:-1:1;
Sim_Theta_U = [];
Sim_Temp = [];

% Srt, root water uptake;
Srt = InitialValues.Srt; % will be updated!
P_gg = InitialValues.P_gg; % will be updated!
Expand Down Expand Up @@ -736,7 +742,9 @@
SoilVariables.Theta_U = Theta_U;
SoilVariables.Theta_I = Theta_I;

run ObservationPoints;
% replace run ObservationPoints, see issue 101
Sim_Theta_U(KT, 1:length(monitorDepthSoilMoisture)) = Theta_UUU(monitorDepthSoilMoisture, 1, KT);
Sim_Temp(KT, 1:length(monitorDepthTemperature)) = TTT(monitorDepthTemperature, KT);
end
if (TEND - TIME) < 1E-3
for MN = 1:NN
Expand Down

0 comments on commit 8e2642f

Please sign in to comment.