Published April 10, 2024 | Version v1
Software Open

Scripts used for the analyses of Wharton et al. (2024), Deeper and Stronger North Atlantic Gyre During the Last Glacial Maximum, Nature.

  • 1. ROR icon University College London
  • 2. ROR icon Stockholm University

Description

These scripts are used to produce the figures in Wharton et al. (2024) - Deeper and Stronger North Atlantic Gyre During the Last Glacial Maximum, Nature.

Note: All model outputs are located in the compressed file data.zip, with one output per model per variable in the directory "data" after decompressing.

All outputs were pre-processed using CDO commands, with all being at least 100-year long averages when possible, and some being meridional averages over the Atlantic Ocean. Outputs were all re-gridded onto a similar grid, the one of the model CESM1.2 (320x384)

script_fig_4.py - calculate wind stress curl from a POP2 function (https://pop-tools.readthedocs.io/en/latest/examples/pop_div_curl_xr_xgcm_metrics_compare.html) in PMIP4 models, multi-model average. The function will then calculate the average wind stress curl for both pre-industrial (PI) and Last Glacial Maximum (LGM) in the coordinates given, and build histogram of averages, including multi-model mean.

script_fig_7_toppanel.py - similar as script above but this time will generate individual maps for each PMIP4 models given.

script_fig_8_bottompanel.py - similar as script_fig_4.py but for PMIP3 models.

script_fig_9.py - show meridionally averaged potential densities in the northern Atlantic Ocean for some available models for both PI and LGM.

script_fig_10.py - similar as above but for ocean meridional velocities and difference between PI and LGM.

Spline_LGM.ipynb - script to fit a spline through LGM data, the latter of which is included in the script (Fig. 2b)

Spline_MH.ipynb - same as above, but for the Mid-Holocene data (Fig. 2a)

LGM_BOR_changepoint.ipynb - script to determine change point in new LGM Blake Outer Ridge data plus published data (Fig 2b). Uses .csv file ‘transect_data_LGM.csv’, which is also included in this repository.

MH_BOR_changepoint.ipynb - script to determine change point in new MH Blake Outer Ridge data plus published data (Fig. 2a). Uses .csv file ‘transect_data_MH.csv’, which is also included in this repository.

Files

data.zip

Files (74.5 MB)

Name Size Download all
md5:9fa44cf7a9d9fb56c3449523d1b45a2e
74.4 MB Preview Download
md5:f2411e0c5ee5b7445a7831027b976f23
2.2 kB Preview Download
md5:9a26802f3cc710f74ac033057595c419
2.2 kB Preview Download
md5:7c84d20ff4c4ccc0cbb9bee1a42e7da7
2.1 kB Preview Download
md5:022a094e07c38fb231d04e4a8ff06321
6.9 kB Download
md5:00f6ec09ca919ecb4be6aac93c1d8e81
8.9 kB Download
md5:57298d4f763d5a474fee8736bf096914
5.5 kB Download
md5:1b80f57afee2b99bb4cc558678911574
9.0 kB Download
md5:b8d2ff031f26605188fde947dc65cfc3
2.6 kB Download
md5:d3858f8f55dc676f85505db63a37d74c
28.8 kB Preview Download
md5:9cc13e95b79745fc60d54ab3fb5b2469
31.6 kB Preview Download
md5:1d009692b9feb9c42ca7e31b51077ac1
838 Bytes Preview Download
md5:f692449193121c5630dde9bad2b1d076
762 Bytes Preview Download