Skip to content

Commit

Permalink
🔧 Put xpystac under the stac extras
Browse files Browse the repository at this point in the history
Decided that xpystac fits better under the 'stac' extras, because it depends on just pystac and xarray, and has a somewhat optional dependency on stackstac. This enables a more streamlined I/O option for reading STAC Assets into an xarray.Dataset. Note that Zarr is kept under the 'raster' extras.
  • Loading branch information
weiji14 committed Apr 2, 2023
1 parent f8650e5 commit 49c29b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Get what you need, not more, not less:
| Command | Dependencies |
|:-------------------------------|---------------|
| `pip install zen3geo` | rioxarray, torchdata |
| `pip install zen3geo[raster]` | rioxarray, torchdata, xbatcher, xpystac, zarr |
| `pip install zen3geo[raster]` | rioxarray, torchdata, xbatcher, zarr |
| `pip install zen3geo[spatial]` | rioxarray, torchdata, datashader, spatialpandas |
| `pip install zen3geo[stac]` | rioxarray, torchdata, pystac, pystac-client, stackstac |
| `pip install zen3geo[stac]` | rioxarray, torchdata, pystac, pystac-client, stackstac, xpystac |
| `pip install zen3geo[vector]` | rioxarray, torchdata, pyogrio[geopandas] |

Retrieve more ['extras'](https://github.com/weiji14/zen3geo/blob/main/pyproject.toml) using
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ docs = [
]
raster = [
"xbatcher",
"xpystac",
"zarr"
]
spatial = [
Expand All @@ -86,7 +85,8 @@ spatial = [
stac = [
"pystac",
"pystac_client",
"stackstac"
"stackstac",
"xpystac"
]
vector = ["pyogrio"]

Expand Down

0 comments on commit 49c29b1

Please sign in to comment.