Skip to content

Commit

Permalink
Update mosaic tile generation notebook
Browse files Browse the repository at this point in the history
Applies some changes to mosaic.ipynb for adjustments I made in the course of
generating static tiles for WikiWatershed/model-my-watershed#3635.
The last section now
- takes a list of zoom levels and loops over them
- uses asyncio.Semaphore, via a decorator, to limit how many tile requests will
  run simultaneously.

I also copied a few variables into the final cell (i.e. COLORMAP and tile_url_template)
so it can be run independently of the of the earlier cells.
  • Loading branch information
KlaasH committed Jul 16, 2024
1 parent 65b0466 commit 726edac
Showing 1 changed file with 77 additions and 24 deletions.
101 changes: 77 additions & 24 deletions mosaic.ipynb

Large diffs are not rendered by default.

0 comments on commit 726edac

Please sign in to comment.