From 07f51577ac6b25b041908634437b55a491af62cd Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Tue, 31 Oct 2023 09:43:27 +0100 Subject: [PATCH] running the steps --- docs/python-env/crop.md | 2 +- docs/python-env/norm-diff.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/python-env/crop.md b/docs/python-env/crop.md index 9d80ceb..5349abc 100644 --- a/docs/python-env/crop.md +++ b/docs/python-env/crop.md @@ -1,4 +1,4 @@ -## Goal +### Goal Run the `crop` step in a Python virtual environment. diff --git a/docs/python-env/norm-diff.md b/docs/python-env/norm-diff.md index 8381c8c..1953af3 100644 --- a/docs/python-env/norm-diff.md +++ b/docs/python-env/norm-diff.md @@ -1,4 +1,4 @@ -## Goal +### Goal Run the `normalized-difference` step in a Python virtual environment. @@ -6,7 +6,7 @@ Run the `normalized-difference` step in a Python virtual environment. The results produced will be available in the local folder `/workspace/runs` -```bash linenums="1" title="terminal" +```bash linenums="1" hl_lines="2-4" title="terminal" --8<-- scripts/setup.sh --8<-- @@ -20,7 +20,7 @@ source /workspace/app-package-training-bids23/scripts/setup.sh The required Python modules are installed using `pip`: -```bash linenums="1" title="terminal" +```bash linenums="1" hl_lines="3" title="terminal" --8<-- scripts/norm_diff_env.sh --8<-- @@ -30,11 +30,11 @@ scripts/norm_diff_env.sh source ${WORKSPACE}/scripts/norm_diff_env.sh ``` -### Step 3 - Crop the green band +### Step 3 - Calculate the normalized difference The command line tool is invoked to calculate the normalized difference between the green and NIR cropped bands: -```bash linenums="1" title="terminal" +```bash linenums="1" hl_lines="7-9" title="terminal" --8<-- scripts/norm_diff.sh --8<--