Open a Jupyter Notebook with an init script

If you know the URL to download a .ipynb file, you can configure the Init tab of the launch time configuration of your Jupyterlab service to open on-the-fly: 1. Add https://gitlab.mercator-ocean.fr/pub/edito-infra/configuration/-/raw/main/scripts/open-jupyter-notebook-url.sh as PersonalInit parameter 2. Add https://url/to/your/notebook.ipynb as PersonalInitArgs parameter

For example, you can try with this simple notebook that installs the Copernicus Marine Toolbox and runs a simple describe command.

Configure it as follow in the Datalab UI: Init script configuration tab

or just try it yourself and checkout the Init configuration tab!