Published May 16, 2026
| Version v1
Dataset
Open
Code and Data of "Temporal evolution reveals distinct phytoplankton response dynamics to marine heatwaves"
Description
This workflow is used to detect global marine heatwave (MHW) events, match the events with chlorophyll-a and mixed-layer-depth (MLD) anomalies, normalize event trajectories, and generate the main figures and supplementary analyses in the manuscript.
## Repository contents
### MATLAB scripts
- `A_detect_MHWs.m`: detects MHW events from daily SST and saves the results by longitude blocks as `MHW_*.mat`.
- `B_progress_calculate.m`: calculates SST, MLD, and chlorophyll-a anomalies during each MHW event, normalizes event trajectories, merges block files into `Progress_mhw_event_All.mat`, and calculates grid-scale chlorophyll responses.
- `C_Process_analysis.m`: analyzes event-mean chlorophyll responses and process curves for representative ocean regions.
- `D_peak_time.m`: analyzes the timing of SST, MLD, and chlorophyll anomaly peaks/troughs within normalized MHW event trajectories.
- `E_correlation_analysis.m`: calculates event-scale and grid-scale Spearman correlations among SST, MLD, and chlorophyll trajectories.
- `F_classification.m`: classifies events according to MLD and chlorophyll response types and analyzes the seasonal and interannual variability of different classes.
- `G_Argo_mld.m`: uses Argo/BGC-Argo profiles to support the analysis of temperature, density, chlorophyll, nitrate, and buoyancy frequency.
- `H_FigureSupport.m`: generates supplementary figures and checks the representativeness of the event subset used in the process analysis.
- `Mann_Kendall.m`: Mann-Kendall trend test function.
- `my_yyaxis.m`: helper function for plotting process figures with multiple y-axes.
### Derived data files
This repository only uploads the key intermediate-variable data needed to reproduce the analysis workflow. Larger data files, such as global SST, chlorophyll, MLD data, and global MHW diagnostic results, are not uploaded. Please contact the authors if these files are needed.
- `Progress_mhw_event_All.mat`: merged event-scale dataset and the main input for most analysis scripts.
- `mhw_anomaly_map.mat`, `chl_anomaly_map.mat`, `peak_map.mat`, `R_event.mat`, `curve_grid.mat`, `mhw_character_all.mat`, `mhw_np_count_date.mat`: intermediate analysis results used to reproduce figures.
- `float_match_event.mat`: Argo profile metadata and event labels after matching with MHW events, used by `G_Argo_mld.m`.
- `nino34.long.anom.csv`: climate index input used for ENSO-related analyses.
Some scripts depend on local raw-data paths. These raw data are not included in this upload. Examples include:
- `E:\Data\SST\*.mat`
- `E:\Data\Chl_a\Global_daily_0.25\Chl*.mat`
- `E:\Data\MLD\mld*.mat`
- Argo/BGC-Argo profile data read through local helper functions in the commented code of `G_Argo_mld.m`
The uploaded data are sufficient to reproduce the analysis workflow. To reproduce the complete workflow from the beginning, download the corresponding data from the original data providers and convert them to the variable names and formats required by the scripts. The local paths in the scripts need to be modified before running. Please refer to the data and methods section of the manuscript for details on the data used.
Many figure scripts directly read pre-saved intermediate `.mat` files to reduce computation time. To fully reproduce the workflow from raw inputs, uncomment the corresponding calculation blocks.
## Key variables in `Progress_mhw_event_All.mat`
- `SST_Progress_all`: SST anomaly trajectories for MHW events. Columns 16-65 are the normalized MHW event period; columns 1-15 and 66-80 are the 15-day periods before and after the event, respectively.
- `MLD_Progress_all`: MLD anomaly trajectories, with the same time-column convention as above.
- `Chl_Progress_all`: chlorophyll-a anomaly trajectories, with the same time-column convention as above.
- `mhw_start_all`, `mhw_end_all`: event start and end dates.
- `mhw_lon_all`, `mhw_lat_all`: longitude and latitude of the event grid cells.
- `mhw_dur_all`: event duration.
- `mhw_int_mean_all`: event mean intensity.
## Software dependencies
The scripts are written in MATLAB and use the following toolboxes or external functions:
- MATLAB Statistics and Machine Learning Toolbox, for example `fitlm`, `tcdf`, and related statistical functions.
- `m_map` toolbox, for example `m_proj`, `m_pcolor`, `m_gshhs`, `m_grid`, and `m_scatter`.
- `nclCM` colormap function.
- MHW detection function `detect`.
- Gibbs SeaWater (GSW) Oceanographic Toolbox, used for `gsw_*` functions in the Argo profile calculations.
Files
nino34.long.anom.csv
Files
(7.9 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:2a123c455cd78d81901826ee690a7bfa
|
1.5 kB | Download |
|
md5:66e932ec95f78ea9d08f17a77f45dd02
|
12.5 kB | Download |
|
md5:3bbe0207d5d4ee5bc58989f839d5bb4c
|
7.3 kB | Download |
|
md5:52546df100c30cd4ad5f3ab639d12966
|
190.6 MB | Download |
|
md5:78d4027ad89a7eb9bb7626ac063307c1
|
9.6 kB | Download |
|
md5:ea1e4a8342ce38923cc17428a50e7bdc
|
8.0 kB | Download |
|
md5:29943479941d4af2e74cbc8323e25b5d
|
7.2 kB | Download |
|
md5:264444d4926bded474dc261805ad9b46
|
27.8 MB | Download |
|
md5:b45b3322ab39ee9bc5cc2e3c8ede9b35
|
17.3 kB | Download |
|
md5:f4fa9042ab09b518ba473fdbb054999c
|
8.6 kB | Download |
|
md5:3b54edb27b5f7a62c0015ec488d413a9
|
2.4 kB | Download |
|
md5:b44284ca1336611c64730565c1d2b496
|
10.5 MB | Download |
|
md5:bd396787d6d137f6266e2899ccee13c8
|
206.9 MB | Download |
|
md5:0bcc67d3cdcccdea73347acf19722775
|
8.3 kB | Download |
|
md5:16b9bca7907a252637d429cabf286298
|
2.0 kB | Download |
|
md5:590673d96d805b5e3d5047d8bcbd328c
|
39.4 kB | Preview Download |
|
md5:c1d76cc01f4878484e01790ca2381eb1
|
102.6 kB | Download |
|
md5:8217415c5789582ec09a2056413b7ec6
|
7.2 GB | Download |
|
md5:524c0477c4f5f622a48cb0b2471fae82
|
294.1 MB | Download |