Readme.txt code & data package ***** General information ***** This code & data package accompanies: van Belzen, J., Fivash, G.S., Hu, Z., Bouma, T.J., Herman, P.M.J. (2022). A probabilistic framework for Windows of Opportunity: the role of temporal variability in critical transitions Version 1.0 (14/01/2022) Coded and developed by Jim van Belzen published under the Creative Commons Attribution Non-Commercial license which allows users to read, copy, distribute and make derivative works for noncommercial purposes from the material, as long as the author of the original work is cited. This code comes with no warranties or support ***** Content ***** This code and data package contains both the Python code and generated synthetic data to create all the figures displayed in the manuscript. Folder structure: .../Figures .../Simulations .../.../results Short description of folder content: ../Figures: Contains the Python code to create the figures for the publication. ../Simulations: Contains the Python code to run the model that was used to create the synthetic data shown in Figure 5. Results of the model can be found in the folder ../Simulations/results. Short description of code: .../Figures: WoOFrameworkFigures.py Code to generate all the figures (Fig. 1-7) in the manuscript and the supplementary materials (Fig. S1). …/Simulations: NumericalWoOsinOUN.py Numerical analysis of replicate synthetic OUN-signals used as input for Fig. 5. RescalingSignal.py Code to test the rescaling of the OUN-signal to allow fair comparison between signals as period and variance are similar. Short description of data: .../Simulations/results: Estats_tau_##_sigma_##.csv Statistics measured on the individual replicate OUN-signals synthesized with a specific period (tau) and variance (sigma). 1000 rows by 5 columns. Each row contains stats on a single OUNL-signal, E. The columns contain: Column 0: mean; Column 1: minimum; Column 2: maximum; Column 3: standard deviation; Column 4: number of potential Windows of Opportunity, N(Pot.WoO); woos_tau_##_sigma_##.csv Number of WoO’s successfully occupied [N(WoO] found in numerical method on the individual replicate OUN-signals synthesized with a specific period (tau) and variance (sigma). 1000 rows by 26 columns. Each row contains the results of a single OUNL-signal, E. The columns contain the number of WoO’s successfully occupied at a specific growth rate (lambda). fwoos_tau_##_sigma_##.csv Fraction of WoO’s successfully occupied [f(WoO) = N(WoO)/N(Pot.WoO)] found in numerical method on the individual replicate OUN-signals synthesized with a specific period (tau) and variance (sigma). 1000 rows by 26 columns. Each row contains the results of a single OUNL-signal, E. The columns contain the fraction of WoO’s successfully occupied at a specific growth rate (lambda). Fig_WoOs_tau_##_sigma_##.png Figure displaying the overall results fwoos_tau_##_sigma_##.csv ***** Contact information ***** Corresponding author: Jim van Belzen Department of Estuarine and Delta Systems Royal Netherlands Institute for Sea Research (NIOZ) P.O. Box 140 NL-4400 AC Yerseke the Netherlands Telephone: +31(0) 113 577322 (office) Telephone: +31(0) 113 577300 (reception) Fax: +31(0) 113 573616 E-mail: jim.van.belzen@nioz.nl Website: www.nioz.nl Website: https://www.nioz.nl/en/about/organisation/staff/jim-van-belzen