Skip to content

Commit 59cfceb

Browse files
committed
"Final update and updated paper reference"
1 parent f8de82f commit 59cfceb

6 files changed

Lines changed: 18 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sourcecode_GAexport
22

3-
This toolbox contains the programs used to reproduce results and figures from Messié et al. (submitted).
3+
This toolbox contains the programs used to reproduce results and figures from Messié et al. (2025).
44
The programs are written for Matlab. The Statistics toolbox is required for multilinear regression in `ga_validate_gridded_export_vs_SedTraps` (l. 93).
55

66
* * *
@@ -16,14 +16,14 @@ The code generates figures, saved in `figures/`, reproducing results from Fig. 1
1616
### Description of functions ###
1717

1818
`ga_analyze_SedTraps_trajectories`: reproduces results using backward Lagrangian trajectories originating from the CCE-LTER sediment trap positions. Trajectories are available in `data/CCE_SedTrap_trajectories.mat`.
19-
`ga_validate_gridded_export_vs_SedTraps`: reproduces the validation of the GA gridded product published on Zenodo, against the CCE-LTER dataset. The program also displays results using the EF-OC dataset (available online at https://spg-satdata.ucsd.edu/wc_productivity/wc_productivity.htm).
19+
`ga_validate_gridded_export_vs_SedTraps`: reproduces the validation of the GA gridded product published on Zenodo (https://doi.org/10.5281/zenodo.14758969), against the CCE-LTER dataset. The program also displays results using the EF-OC satellite export dataset (available online at https://spg-satdata.ucsd.edu/wc_productivity/wc_productivity.htm).
2020

2121
### Description of data ###
2222

2323
**Data to download and save in the `data/` folder:**
2424

2525
`Nsupply_California_CCMP_REP.nc`: download from https://doi.org/10.5281/zenodo.14641977 (nutrient supply used to force the plankton model)
26-
`export_CCMP3km_GlobCurrent_daily_REP.nc`: download from https://doi.org/10.5281/zenodo.14084208 (output of the GA model, forced by Nsupply and GlobCurrent).
26+
`export_CCMP3km_GlobCurrent_daily_REP.nc`: download from https://doi.org/10.5281/zenodo.14758969 (output of the GA model, forced by Nsupply and GlobCurrent).
2727

2828
**CCE-LTER datasets:**
2929

@@ -43,7 +43,7 @@ backward Lagrangian trajectories originating from the CCE-LTER sediment trap pos
4343

4444
Please refer this paper when using these scripts:
4545

46-
Messié, M., C.L. Huffard, M. Stukel, and H.A. Ruhl (2024). **Spatial and temporal interplay between oceanic circulation and biological production in shaping carbon export off the California coast**. *Geophysical Research Letters*, submitted. Preprint available at https://doi.org/10.22541/essoar.173272956.60470361/v1
46+
Messié, M., C.L. Huffard, M. Stukel, and H.A. Ruhl (2025). **Spatial and temporal interplay between oceanic circulation and biological production in shaping carbon export off the California coast**. *Geophysical Research Letters*, https://doi.org/10.1029/2024GL113707
4747

4848
* * *
4949

figures/Fig1.jpg

2.99 KB
Loading

figures/Fig2a.jpg

660 Bytes
Loading

figures/Fig2bc.jpg

4.27 KB
Loading

ga_analyze_SedTraps_trajectories.m

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33

44
%% GA_ANALYZE_SEDTRAPS_TRAJECTORIES: look at sediment trap source water characteristics
5-
% This function recalculates water_age, coastal Nsupply, and along-trajectory modeled export.
6-
% Outputs are compared against CCE_SedTrap_Data.csv (differences are due to precision in the csv file).
5+
% This function recalculates water_age, coastal Nsupply, and along-trajectory modeled export,
6+
% and reproduces Fig. 1 & 2a in Messié et al. (2025) as well as results from Table 1.
7+
% Outputs are compared against CCE_SedTrap_Data.csv.
78
%
89
% ga_analyze_SedTraps_trajectories
10+
%
11+
% Monique Messié, 2024
912

1013

1114
distcoast_lim=10; % distance to coast used as "source data". This is a trade-off between too far from the coast, and unreliable/no current data near shore.
@@ -278,7 +281,7 @@
278281
% Scatter plot (Fig. 2a)
279282
figure, set(gcf,'Units','Centimeters'); pos=get(gcf,'Position');
280283
pos(3)=6; pos(4)=7; set(gcf,'Position',pos)
281-
axes('Position',[0.2 0.28 0.75 0.7],'FontSize',7), hold on
284+
axes('Position',[0.17 0.28 0.8 0.7],'FontSize',7), hold on
282285
for ipts=find(iok)'
283286
plot([SedTrap.Carbon_flux_corr_mgm2day(ipts)-SedTrap.Carbon_flux_standard_error_corr_mgm2day(ipts)/2 ...
284287
SedTrap.Carbon_flux_corr_mgm2day(ipts)+SedTrap.Carbon_flux_standard_error_corr_mgm2day(ipts)/2],...

ga_validate_gridded_export_vs_SedTraps.m

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33

44
%% GA_VALIDATE_GRIDDED_EXPORT_VS_SEDTRAPS: match gridded export product with the CCE-LTER sediment trap dataset
5-
% This function matches gridded GA products (K20 and GA) with the CCE-LTER dataset.
6-
% Outputs are compared against CCE_SedTrap_Data.csv (differences are due to precision in the csv file).
5+
% This function matches gridded export products (EF-OC and GA) with the CCE-LTER dataset,
6+
% and reproduces Fig. 2b & c in Messié et al. (2025) as well as results from Table 1.
7+
% Outputs are compared against CCE_SedTrap_Data.csv.
78
%
89
% ga_validate_gridded_export_vs_SedTraps
10+
%
11+
% Monique Messié, 2024
912

1013

1114

@@ -131,7 +134,7 @@
131134
pos(3)=12; pos(4)=7; set(gcf,'Position',pos)
132135
set(gcf,'PaperPositionMode','Auto','PaperUnits','Centimeters','PaperSize',[pos(3), pos(4)])
133136
fontsize=7;
134-
axes('Position',[0.1 0.27 0.37 0.7],'FontSize',fontsize), hold on
137+
axes('Position',[0.08 0.27 0.4 0.7],'FontSize',fontsize), hold on
135138
for ipts=find(iok)'
136139
plot([SedTrap.Carbon_flux_corr_mgm2day(ipts) SedTrap.Carbon_flux_corr_mgm2day(ipts)],...
137140
[SedTrap.export_EFOC_mgm2day(ipts) SedTrap.GAgridded_CZeu_mgm2day(ipts)],'Color',[0.7 0.7 0.7])
@@ -142,7 +145,7 @@
142145
plot(xlim,xlim,'k')
143146
xlabel({'{\it In situ} Zeu export [mg m^{-2} d^{-1}]'}), ylabel('Gridded export products [mg m^{-2} d^{-1}]')
144147
legend([h1,h2],{'EF-OC','GA C_{Zeu}'},'FontSize',fontsize,'Location','northwest')
145-
axes('Position',[0.6 0.27 0.37 0.7],'FontSize',fontsize), hold on
148+
axes('Position',[0.58 0.27 0.4 0.7],'FontSize',fontsize), hold on
146149
ibelow30m=SedTrap.Zeu_m>=30;
147150
errSat=abs(SedTrap.export_EFOC_mgm2day*b(1)-SedTrap.GAgridded_CZeu_mgm2day*b(2))*sqrt(2);
148151
for ipts=find(iok)'
@@ -160,7 +163,7 @@
160163
plot(xlim,xlim,'k')
161164
xlabel('{\it In situ} Zeu export [mgC m^{-2} d^{-1}]'), ylabel('Combined satellite export [mgC m^{-2} d^{-1}]')
162165
hbar4=colorbar('SouthOutside'); hbar4.Title.String='Drift [km]';
163-
hbar4.Position=[0.6 0.06 0.37 0.03];
166+
hbar4.Position=[0.58 0.06 0.4 0.03];
164167
print('-djpeg','-r300','figures/Fig2bc.jpg')
165168

166169

0 commit comments

Comments
 (0)