Skip to content

Commit

Permalink
Merge pull request #257 from EcoExtreML/add-recharge_temperature_vari…
Browse files Browse the repository at this point in the history
…able

add rechargeTemp to BMI variables
  • Loading branch information
SarahAlidoost authored Sep 25, 2024
2 parents 56f2c81 + f856d39 commit 4ed3249
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified run_model_on_snellius/exe/STEMMUS_SCOPE
Binary file not shown.
3 changes: 2 additions & 1 deletion src/+groundwater/calculateGroundwaterRecharge.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,14 @@ soilThick cumulative soil layers thickness (from top to bottom)
warning('Index of the bottom layer boundary that includes groundwater head ~= index of the recharge layer + 1!');
end

% Outputs to be exported in csv
% Outputs to be exported in csv or exposed to BMI
gwfluxes.QLh = QLh_flip(indxRchrg);
gwfluxes.QLT = QLT_flip(indxRchrg);
gwfluxes.QLa = QLa_flip(indxRchrg);
gwfluxes.QVH = QVH_flip(indxRchrg);
gwfluxes.QVT = QVT_flip(indxRchrg);
gwfluxes.QVa = QVa_flip(indxRchrg);
gwfluxes.indxRchrg = indxRchrg;
% gwfluxes.recharge_init = recharge_init;
% gwfluxes.S = S;
% gwfluxes.sy = sy;
Expand Down
1 change: 1 addition & 0 deletions src/STEMMUS_SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@
end
else
gwfluxes.recharge = 0;
gwfluxes.indxRchrg = NaN;
end

% set SoilVariables for the rest of the loop
Expand Down

0 comments on commit 4ed3249

Please sign in to comment.