stackstac icon indicating copy to clipboard operation
stackstac copied to clipboard

Turn a STAC catalog into a dask-based xarray

Results 69 stackstac issues
Sort by recently updated
recently updated
newest added

Please see below an example running on the Planetary Computer using Esri 10m Land Cover data, where each STAC item is derived from a mosaic of many images. The output...

Users sometimes ask, "how do the geotiffs get aligned into one array"? If you read the `stackstac.stack` docstring many times, you could probably get a sense of this, but there...

documentation

If `stackstac.stack` is producing unexpected results, it's possible (but not certain!) that the problem is that the STAC metadata doesn't match up with the actual GeoTIFFs. stackstac determines the resolution,...

I'm sure we don't handle it correctly right now. This will be necessary to work with any [self-contained catalog](https://github.com/radiantearth/stac-spec/blob/master/best-practices.md#self-contained-catalogs) or [relative published catalog](https://github.com/radiantearth/stac-spec/blob/master/best-practices.md#relative-published-catalog), which could be particularly useful if working...

Logic for reading multi-band assets on the dask side. Actually figuring out the number of bands from STAC metadata will be a separate PR. So even after this is done...

It's easy to forget to `poetry lock` after you make a change to `pyproject.toml`. But if you don't, CI will run with the wrong versions installed. Worst case, a bad...

ci

This is mentioned in the [README](https://github.com/gjoseph92/stackstac#limitations), but I thought I'd open an issue that I can link to. Currently, multi-band cogs are not supported by `stackstac`. ```python >>> import pystac...

In https://github.com/gjoseph92/stackstac/issues/132 I noticed the snippet: ```python with rasterio.Env(aws_unsigned = True,AWS_S3_ENDPOINT= 's3.af-south-1.amazonaws.com'): stack = stackstac.stack(items) ``` which doesn't currently work the way you'd expect (the environment settings you've just created...

For https://github.com/gjoseph92/stackstac/issues/129, we'll have to first fix the handful of type errors that exist in the code. Note that some of them indicate actual (rare) bugs! `# type: ignore` is...

Format with [shed](https://github.com/Zac-HD/shed). Lint in CI with flake8. Typecheck in CI with pyright (way faster, seems to get new features sooner than mypy, and built into vscode). Consider also adding...

ci