This repo contains all the code required for the analysis used in the "Robust Association of Extreme and Compounded Climate Events with Fisheries Declines" paper by Cheung et al. (2025).
├── code/
│ └── run_process/
├── Manuscript/
│ ├── Code/
│ └── Data/
code/ directory contains all scripts required to process the data prior to the analysis and figures included in the manuscript. Scripts are run in the order they are numbered:
flowchart TB
step1[Step 1: De-trend environmental and catch data using a GAM for each EEZ & species] --> step2[Step 2: Combine all EEZ level data]
step2 --> step3[Step 3: Allocate extreme categories based on thresholds]
Manuscript/ contains the data and code used for the analysis presented in the manuscript. code_meta.txt and data_meta.txt describe the relevant datasets and scripts.
Additional data is available upon request.