A containerized jupyter server workspace for XSAR WV-Mode analisys of Sentinel-1 data
- Git
- Docker, or
- Docker Desktop (recomended)
- VSCode
- Clone the repository by running:
git clone https://github.com/AIRCentre/s1-wv-mode-workspace
- Open project in VSCode by running:
code s1-wv-mode-workspace
Start the container and connect a notebook to the jupyter server by following these steps:
-
Open a terminal in VSCode, then build and start the container by running:
docker compose up -d
(It might take a fiew minutes to install all dependencies)
-
Open a the test notebook in the
notebooks
directory. -
Click the
Select Kernel
button on the top-right corner of the screen > Select the optionExisting Jupyter Server...
. -
Type in
http://localhost:8888
in the input > PressEnter
> Clickyes
when asked if you want to proceed with an insecure connection. -
Give the server a name or leave it as
localhost
> PressEnter
> Select the KernelPython3 (ipykernel)
. -
Run the notebook.
Install python packages using pip
inside a code cell by running:
! pip install --break-system-packages package-name
Install system packages using apt
inside a code cell by running:
! apt install -y package-name