Published April 15, 2021 | Version v1.0.0
Software Open

Code and data in Fiksen and Reglero 2021. Atlantic bluefin tuna spawn early to avoid metabolic meltdown in larvae.

  • 1. University of Bergen


The code is the basic model and the scripts needed to generate the figures in the paper.

OURNAL PUBLICATION CITATION: Øyvind Fiksen and Patricia Reglero. 2021. Atlantic bluefin tuna spawn early to avoid metabolic meltdown in larvae. Ecology. 

Python code for the analyses and figures in the paper. Field data of tuna larva and Cladocera abundances are embedded in the code, with environmental drivers read from the  .txt files (temperature, daylight) - see Appendix S1. Data from each realization of the model (sensitivity analyses) are included in separate files (.npy).  


Author 1: Øyvind Fiksen, Department of Biological Sciences, University of Bergen, 5020 Bergen, Norway; 

Author 2: Patricia Reglero, Centro Oceanográfico de Baleares, Instituto Español de Oceanografía (IEO, CSIC), 07015 Palma de Mallorca, Spain. 

Main Python code with model analyses, and the output figures:  - see code for explanatory text and details on the model, parameters and figures produced. 


Input temperature and daylength data: 

 AverageTempData_NOAA.txt – input average temperature data (fig 2 and 3, in paper) 

 HoursofLight.txt – modelled day-length (hours), fig S1 

Temperature data for different years (input data, for fig 3, main):  






Metafile used in the Github repository 


Sensitivity analysis. Egg fitness under combinations of fixed concentrations of nauplii (300-500) and Cladocera (10-100) (for fig S3):  










Sensitivity analysis. Egg fitness with combinations of fixed nauplii (300-600) and seasonal Cladocera abundance in 10, 15 and 20% (010-015-02) of nearshore concentrations (for fig S3): 







Sensitivity analysis – Growth output for combinations of temperature and prey combinations (for figs S4 and S5): 

















Sensitivity analysis – Egg fitness under no food limitation, with different daylengths (testing only): 





 Sensitivity analysis – Egg fitness different years, warm and cold (and 2006): 






Figures produced from the code, for main paper (Main), Appendix S1 (Sx), and some extras – in both .svg and .png format: 

























Files (2.5 MB)

Name Size Download all
2.5 MB Preview Download

Additional details