Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
martens-2022-arctic-terroc
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bolin Centre for Climate Research
martens-2022-arctic-terroc
Commits
269b1074
Commit
269b1074
authored
2 years ago
by
Jannik Martens
Browse files
Options
Downloads
Patches
Plain Diff
Martens_ea_NatComm_SourceApp_MCMC.txt
parent
0e71a912
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Martens_ea_NatComm_SourceApp_MCMC.txt
+5
-5
5 additions, 5 deletions
Martens_ea_NatComm_SourceApp_MCMC.txt
with
5 additions
and
5 deletions
Martens_ea_NatComm_SourceApp_MCMC.txt
+
5
−
5
View file @
269b1074
...
...
@@ -11,7 +11,7 @@
% Sea; 10. Central Ocean. % This script is based on the MCMC method published
% by Andersson et al. (ES&T, DOI: 10.1021/es503855e).
% CITATION: Martens et al. 2022,
in review in
Nat. Comm.
% CITATION: Martens et al. 2022, Nat. Comm.
clear;clc;clf;close all;
%% Load the data
% Here an example data file is loaded from an Excel file
...
...
@@ -90,28 +90,28 @@ else
end
% Here the age-corrected mean D14C values of the SurfSoil and/or Peat end
% members are calculated for each sample
according
the equation provided by Bröder et al. 2018
% members are calculated for each sample
based on
the equation provided by Bröder et al. 2018
fMC_F1(j,1)=(Shelfdata(j,6)+1000)/(1000*exp(1/8033));
fMC_F1_transp(j,1)=fMC_F1(j,1)*exp(-(CSTT_F1(j))/8033);
D14C_F1(j,1)=(fMC_F1_transp(j,1)*exp(1/8033)-1)*1000;
M_A_av=D14C_F1(j,1);
% Here the age-corrected standard deviation of the SurfSoil and/or Peat end
% member mean value are calculated for each sample
according
the equation provided by Bröder et al. 2018
% member mean value are calculated for each sample
based on
the equation provided by Bröder et al. 2018
fMC_F1(j,2)=((Shelfdata(j,6)-Shelfdata(j,7))+1000)/(1000*exp(1/8033));
fMC_F1_transp(j,2)=fMC_F1(j,2)*exp(-(CSTT_F1(j))/8033);
D14C_F1(j,2)=(fMC_F1_transp(j,2)*exp(1/8033)-1)*1000;
M_A_std=M_A_av-D14C_F1(j,2);
% Here the age-corrected mean D14C value of the ICD end member is
% calculated
according
the equation provided by Bröder et al. 2018
% calculated
based on
the equation provided by Bröder et al. 2018
fMC_F2(j,1)=(Shelfdata(j,8)+1000)/(1000*exp(1/8033));
fMC_F2_transp(j,1)=fMC_F2(j,1)*exp(-(CSTT_F2(j))/8033);
D14C_F2(j,1)=(fMC_F2_transp(j,1)*exp(1/8033)-1)*1000;
M_B_av=D14C_F2(j,1);
% Here the age-corrected standard deviation of the ICD mean value is
% calculated
according
the equation provided by Bröder et al. 2018
% calculated
based on
the equation provided by Bröder et al. 2018
fMC_F2(j,2)=((Shelfdata(j,8)-Shelfdata(j,9))+1000)/(1000*exp(1/8033));
fMC_F2_transp(j,2)=fMC_F2(j,2)*exp(-(CSTT_F2(j))/8033);
D14C_F2(j,2)=(fMC_F2_transp(j,2)*exp(1/8033)-1)*1000;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment