Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ One constraint worth naming: lazycogs only reads Cloud Optimized GeoTIFFs. If yo

## Installation

Not yet published to PyPI. Install directly from GitHub:

```bash
pip install lazycogs
```
Expand Down Expand Up @@ -84,7 +82,7 @@ without blocking the event loop:

```python
# Fetch data asynchronously and load into memory in-place.
subset = await da.isel(x=slice(0, 10), y=slice(0, 10), time=slice(0, 10).load_async()
subset = await da.isel(x=slice(0, 10), y=slice(0, 10), time=slice(0, 10)).load_async()
```

`load_async` uses xarray's async protocol, which dispatches through
Expand Down
4 changes: 1 addition & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ Here is a summary of the libraries lazycogs uses for each step:

## Installation

Not yet published to PyPI. Install directly from GitHub:

```bash
pip install lazycogs
```
Expand Down Expand Up @@ -78,7 +76,7 @@ without blocking the event loop:

```python
# Fetch data asynchronously and load into memory in-place.
subset = await da.isel(x=slice(0, 10), y=slice(0, 10), time=slice(0, 10).load_async()
subset = await da.isel(x=slice(0, 10), y=slice(0, 10), time=slice(0, 10)).load_async()
```

`load_async` uses xarray's async protocol, which dispatches through
Expand Down
2 changes: 1 addition & 1 deletion src/lazycogs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from lazycogs._chunk_reader import read_chunk, read_chunk_async
from lazycogs._core import open # noqa: A004
from lazycogs._executor import set_reproject_workers
from lazycogs._explain import ( # noqa: F401 — registers da.stac_cog accessor
from lazycogs._explain import ( # noqa: F401 — registers da.lazycogs accessor
ChunkRead,
CogRead,
ExplainPlan,
Expand Down
Loading