Repository for the interactive notebook and simulations for the article A Lagrangian framework to simulate Sargassum transport and growth by Elena Gianotten, Meike F. Bos, Darshika Manral, Fabio Nauer, Erik Zettler, Linda A. Amaral-Zettler, and Erik van Sebille
- Install Pixi
- On Mac or Linux, run the following command in your terminal:
curl -fsSL https://pixi.sh/install.sh | sh- On Windows, run the following command in PowerShell:
powershell -ExecutionPolicy Bypass -c "irm -useb https://pixi.sh/install.ps1 | iex"
- Restart your terminal
- Clone this repository
git clone --depth 1 https://github.com/Parcels-code/Sargassum_growth_model.git- Change into the repository directory
cd Sargassum_growth_model- Install the required dependencies
pixi install- Start JupyterLab
pixi run jupyter lab- The
interactive_sargassum_notebook.ipynbopens automatically. Run the cells to see the simulations.
interactive_sargassum_notebook.ipynb: The interactive notebook to run the Sargassum growth simulations and visualize the results.src/: A directory containing the source code for the Sargassum growth model, including the transport and growth kernels insrc/sargassum_kernels.py.satellite_simulation.py: The script that runs the simulation described in the manuscript with satellite-based initialisation.basin_simulation.py: The script that runs the simulation described in the manuscript with basin-wide initialisation.Manuscript_Figures/: A directory containing the notebooks used to create the figures for the manuscript.