Skip to content

Commit

Permalink
updates steps
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Oct 31, 2023
1 parent 07f5157 commit 18125a7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/app/otsu/app.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Step purpose

Purpose: to apply the Otsu threshold to the normalized difference.

### Code

The `otsu` Python script is a command-line tool for applying the Otsu threshold to a single input raster image.

It uses the `click`, `rasterio`, `numpy`, `skimage.filters`, and `loguru` libraries.
Expand Down Expand Up @@ -30,6 +36,7 @@ Options:
--help Show this message and exit.
```

The Python code is provided here:

```python linenums="1" title="water-bodies/command-line-tools/otsu/app.py"
--8<--
Expand Down
9 changes: 8 additions & 1 deletion docs/app/stac/app.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### Step purpose

Purpose: produce a STAC Catalog with a STAC Item describing the detected water body result.

### Code


The `stac` script is a command-line tool for creating a SpatioTemporal Asset Catalog (STAC) catalog containing detected water bodies.

It takes the STAC Item URLs and corresponding water body GeoTIFFs as input, creates STAC Items for each water body, and organizes them into a STAC Catalog.
Expand Down Expand Up @@ -33,7 +40,7 @@ Options:
--help Show this message and exit.
```


The Python code is provided here:

```python linenums="1" title="water-bodies/command-line-tools/stac/app.py"
--8<--
Expand Down

0 comments on commit 18125a7

Please sign in to comment.