Skip to content

Commit

Permalink
crop
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Oct 31, 2023
1 parent 0e66afc commit 48758b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/python-env/crop.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ scripts/setup.sh
--8<--
```

```
sh ${WORKSPACE}/scripts/setup.sh
```

### Step 2 - Create the Python virtual environment

The required Python modules are installed using `pip`:
Expand All @@ -22,6 +26,10 @@ scripts/crop_env.sh
--8<--
```

```
sh ${WORKSPACE}/scripts/crop_env.sh
```

### Step 3 - Crop the green band

The command line tool is invoked to crop the green band:
Expand All @@ -32,6 +40,10 @@ scripts/crop_green.sh
--8<--
```

```
sh ${WORKSPACE}/scripts/crop_green.sh
```

### Step 4 - Crop the NIR band

The command line tool is invoked to crop the NIR band:
Expand All @@ -42,6 +54,10 @@ scripts/crop_nir.sh
--8<--
```

```
sh ${WORKSPACE}/scripts/crop_nir.sh
```

### Step 5 - Clean-up

The Python virtual environment is no longer needed.
Expand All @@ -52,5 +68,9 @@ scripts/crop_deactivate.sh
--8<--
```

```
sh ${WORKSPACE}/scripts/crop_deactivate.sh
```

### Expected outcome

0 comments on commit 48758b9

Please sign in to comment.