Running the step
Goal
Run the command line tool in a Python virtual environment.
Lab
This step has a dedicated lab available at /workspace/quickwin/practice-labs/Application.ipynb
Step 1 - Configure the workspace
The results produced will be available in the local folder /workspace/quickwin/runs
terminal | |
---|---|
1 2 3 4 |
|
Step 2 - Create the Python virtual environment
The required Python modules are installed using pip
:
terminal | |
---|---|
1 2 3 |
|
Step 3 - Run the water bodies detection
The command line tool is invoked with:
terminal | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Step 4 - Clean-up
The Python virtual environment is no longer needed.
terminal | |
---|---|
1 2 |
|
Expected outcome
The folder /workspace/quickwin/runs
contains:
(base) jovyan@jupyter-mrossi--training:~/quickwin/runs$ tree .
.
├── S2B_10TFK_20210713_0_L2A
│ ├── S2B_10TFK_20210713_0_L2A.json
│ └── otsu.tif
├── catalog.json
└── otsu.tif
1 directory, 4 files