Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚸 Walkthrough on rasterizing vector polygons into label masks #31

Merged
merged 18 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
f101b9a
🚧 Walkthrough on rasterizing vector polygons into label masks
weiji14 Jul 18, 2022
919768d
:green_heart: Install pyogrio for documentation build
weiji14 Jul 20, 2022
f5150e2
:twisted_rightwards_arrows: Merge branch 'main' into vector-segmentat…
weiji14 Aug 14, 2022
c10d152
:memo: Add section on loading and transforming Sentinel-1 image
weiji14 Aug 16, 2022
1313d38
:ambulance: Temporarily force re-executing build
weiji14 Aug 16, 2022
ebf26fd
:heavy_plus_sign: Add matplotlib
weiji14 Aug 16, 2022
03dccb8
:wrench: Update intersphinx link for xarray
weiji14 Aug 16, 2022
ada85a8
:mute: Don't fail when sphinx build encounters a warning
weiji14 Aug 16, 2022
2f12d75
:construction_worker: Increase execution timeout from 30 to 300 seconds
weiji14 Aug 16, 2022
b2c7c7f
:loud_sound: Log execution traceback in terminal
weiji14 Aug 16, 2022
4847c73
:memo: Show how PyogrioReader is used and plot vector geodataframe too
weiji14 Aug 16, 2022
da0d0be
:memo: Show usage of XarrayCanvas to create canvas from template raster
weiji14 Aug 16, 2022
563aaa1
:memo: Writeup section on rasterizing vector polygons onto canvas
weiji14 Aug 16, 2022
8595a75
:heavy_plus_sign: Add graphviz
weiji14 Aug 18, 2022
af489a8
:fire: Focus on just one vector shapefile instead of two
weiji14 Aug 18, 2022
6b18934
:memo: Writeup section on combining Sentinel-1 image and water mask
weiji14 Aug 18, 2022
100f590
:green_heart: Install graphviz via apt in readthedocs build
weiji14 Aug 18, 2022
a68fdd1
:beers: Finalize tutorial by loading tensors into dataloader
weiji14 Aug 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
apt_packages:
- graphviz
jobs:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
Expand Down
1 change: 1 addition & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ poetry install --extras "raster spatial vector"

```
poetry install --extras=docs # or `pip install .[docs]`
sudo apt install graphviz # if rendering graphviz plots
jupyter-book build docs/
```

Expand Down
7 changes: 5 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
title: zen3geo
author: The zen3geo Team

# Force re-execution of notebooks on each build.
# Cache execution outputs of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: cache
# https://jupyterbook.org/en/latest/content/execute.html#setting-execution-timeout
timeout: 300

# Define the name of the latex output file for PDF builds
latex:
Expand All @@ -30,6 +32,7 @@ html:
sphinx:
config:
autodoc_typehints: 'description'
execution_show_tb: True
html_show_copyright: false
html_theme_options:
# https://sphinx-book-theme.readthedocs.io/en/stable/customize/sidebar-secondary.html
Expand Down Expand Up @@ -63,7 +66,7 @@ sphinx:
- 'https://pytorch.org/data/main'
- null
xarray:
- 'https://xarray.pydata.org/en/latest/'
- 'https://docs.xarray.dev/en/latest/'
- null
xbatcher:
- 'https://xbatcher.readthedocs.io/en/latest/'
Expand Down
2 changes: 2 additions & 0 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ chapters:
sections:
- title: 🀄 Chipping and Batching
file: chipping
- title: 🫧 Vector Segmentation Masks
file: vector-segmentation-masks
- title: 📖 API Reference
file: api
- title: 📆 Changelog
Expand Down
Loading