gjoseph92 / stackstac

Turn a STAC catalog into a dask-based xarray
https://stackstac.readthedocs.io
MIT License
238 stars 49 forks source link

Ignore `axis` if `dim` is given #149

Closed aazuspan closed 2 years ago

aazuspan commented 2 years ago

Override axis if a dim is provided to make sure both can't be passed to DataArray.reduce (fixes #148). Test coverage added to make sure mosaic is tested with and without a dim passed.

gjoseph92 commented 2 years ago

Never got around to looking into the docs builds, so I'll merge this now.