Skip to content

Commit

Permalink
Merge pull request #151 from EcoExtreML/fix_NEE
Browse files Browse the repository at this point in the history
Fix the direction of NEE
  • Loading branch information
SarahAlidoost committed Apr 4, 2023
2 parents c2dce6c + 2ec88c4 commit c8ad41d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified run_model_on_snellius/exe/STEMMUS_SCOPE
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ebal.m
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
fluxes.aPAR_Wm2 = Rntot_PAR; % [W m-2] absorbed PAR
fluxes.aPAR_Cab_eta = aPAR_Cab_eta;
fluxes.GPP = Actot * 12 / 1000000000; % [kg C m-2 s-1] gross primary production
fluxes.NEE = (Actot - Resp) * 12 / 1000000000; % [kg C m-2 s-1] net primary production
fluxes.NEE = (Resp - Actot) * 12 / 1000000000; % [kg C m-2 s-1] net primary production

thermal.Ta = Ta; % [oC] air temperature (as in input)
thermal.Ts = Ts; % [oC] soil temperature, sunlit and shaded [2x1]
Expand Down

0 comments on commit c8ad41d

Please sign in to comment.