Skip to content

Commit

Permalink
Fill out README
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Dec 14, 2024
1 parent 9356dd5 commit 927af36
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
# icesat2-boreal-tile-benchmark

Benchmarks for tile rendering performance for the icesat2-boreal dataset

To install the dependencies, [install `uv`](https://docs.astral.sh/uv/getting-started/installation/) then:

```bash
uv sync
```

To run the benchmark locally:

```bash
uv run pytest --benchmark-json /tmp/benchmark.json
```

To run the benchmark and commit the result to the repository you can execute the `benchmark.yml` Github Action script in the Github UI or with the `gh` CLI:

```bash
gh workflow run benchmark.yml
```

To preview the quarto website locally:

```bash
uv run quarto preview
```
6 changes: 3 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ project:

website:
title: "icesat2-boreal tile benchmarking"
site-url: "https://developmentseed.org/icesat2-boreal-tile-benchmark"
repo-url: https://github.com/developmentseed/icesat2-boreal-tile-benchmark"
repo-actions: [edit, issue]
site-url: https://developmentseed.org/icesat2-boreal-tile-benchmark
repo-url: https://github.com/developmentseed/icesat2-boreal-tile-benchmark
repo-actions: [source]
page-navigation: true

page-footer:
Expand Down
1 change: 1 addition & 0 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ We are testing two dynamic tile rendering services that use different methods to
- Queries a `pgstac` database to determine which STAC items in the `icesat2-boreal` collection are required to render an image for an XYZ tile
- Requires a Lambda and Postgresql database to be deployed
- Struggles to render tiles at zoom levels 5 and below
- See deployment details in [maap-eoapi](https://github.com/MAAP-Project/maap-eoapi)

### titiler: `/mosaicjson/{mosaic_id}/tiles` endpoint
- Queries a MosaicJSON document in a dynamodb table to get the pre-calculated list of assets required to render an image for an XYZ tile
Expand Down

0 comments on commit 927af36

Please sign in to comment.