D4Science cloud environment

Registration

To use the D4Science cloud environment, first register at iriscc.d4science.org. Click on “Register” and fill in the required information. After submitting the registration form, you will receive a confirmation email. Follow the instructions in the email to activate your account.

Accessing the environment

Once your account is activated, log in to the D4Science portal at iriscc.d4science.org. After logging in, you will be directed to the dashboard where you can access the project environment and notebooks. To launch a JupyterLab session, click on “JupyterLab Start” in the dashboard. This will open a JupyterLab interface where you can navigate to the notebooks and start working.

Important

The Flooding Risk demonstrator software is not yet pre-installed on D4Science. Once inside JupyterLab, follow the installation instructions to install the environment manually before running any notebooks.

Registering the Jupyter kernel

After installing the environment, register it as a kernel so JupyterLab can find it. Open a terminal in JupyterLab and run:

pixi run python -m ipykernel install --user --name flood-demo --display-name "Python (flood-demo)"

Refresh JupyterLab and select Python (flood-demo) as the kernel when opening a notebook.

Important

For Solara widgets and maps to render correctly, the D4Science JupyterLab server requires the following packages to be installed in its server-side Python environment. If widgets fail to load, ask the D4Science admins to run:

conda install -c conda-forge ipyvuetify ipyvue ipyleaflet
Tip

If you see errors about missing extensions (e.g. ipyvuetify or ipyvue) after selecting the kernel, try this sequence:

  1. Open the notebook and select the Python (flood-demo) kernel
  2. Close the notebook
  3. Reopen the notebook

The notebook will now start directly with the correct kernel and the extension errors should be gone.