Published March 27, 2025 | Version v1.0.3
Software Open

Analysis code to: Internal-wave-induced dissipation rates in the Weddell Sea Bottom Water gravity current, (Pinner et al., 2025)

  • 1. Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research (AWI)

Contributors

Contact person:

Researcher:

  • 1. Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research (AWI)

Description

Analysis code to the publication Pinner et al., 2025

The Weddell Sea Bottom Water gravity current transports dense water from the continental shelf to the deep sea and is crucial for the formation of new deep-sea water. Building on vertical profiles and time series measured in the northwestern Weddell Sea, we apply three methods to distinguish turbulence caused by internal waves from that by other sources. We find that in the upper part of the gravity current, internal waves are important for the mixing of less dense water down into the current.

Derived Quantities

The most important derived quantities are 3 transects across the continental slope of near-bottom dissipation rates:

  • Total dissipation rate $\varepsilon_\text{total, Thorpe}$
  • Wave-induced dissipation rate $\varepsilon_\text{IGW, fine}$
  • Wave-induced dissipation rate $\varepsilon_\text{IGW, IDEMIX}$

All data sets are saved as .csv files in the derived_data folder, with the vertical coordinate meters above the seafloor and horizontal coordinate longitude. Examples of use are shown in derived_data/examples.ipynb.

Reproducibility

Reproducing these works is unfortunately not straight forward, depending on your expertise. Multiple intermediate steps are needed to go from raw data to results. For example, I used a Matlab script to calculate neutral densities for all CTD profiles. Additionally, some of data files are not read in as .csv but as .mat files, due to early collaboration in the analysis. PS129 data is of right now unpublished and not yet converted into a neatly organized data set.

The high-level requirements are given in requirements.txt, with my complete python enviroment detailed in enviroment.yaml, and can be reinstalled by the installer/enviroment manager of your choice (pip, conda, etc.), for example by conda create --file requirements.txt.

Disclaimer

[!IMPORTANT]

  • Although this code produces the results and figures to the accompanying paper, this repository occasionally contains unused code snippets and partial documentation.
  • Comments or corrections to the code can be given on GitHub as issues.
  • Note that figures created here can differ slightly from the published versions, as some post-processing (adjustements and labeling) were made with Inkscape.
  • Due to failed validations of the MIT license name in the .zenodo.json file, multiple releases were needed to find and correct the error. 
  • Full Changelog since peer-review: v0.3.0-peer-review...v1.0.3

Files

opinner/Code_to_Pinner_et_al_2025-v1.0.3.zip

Files (14.7 MB)

Name Size Download all
md5:af736583c37c2be2c70e25b6a3cbbc52
14.7 MB Preview Download

Additional details

Related works

Funding

Deutsche Forschungsgemeinschaft
TRR 181: Energietransfer in der Atmosphäre und im Ozean 274762653