jgrss / geowombat

GeoWombat: Utilities for geospatial data
https://geowombat.readthedocs.io
MIT License
181 stars 10 forks source link

band names #316

Open mmann1123 opened 1 month ago

mmann1123 commented 1 month ago

Seems like the automatically generated band names aren't working

with gw.open(sorted(glob("./tests/data/R*.tif")), stack_dim="band") as src:
    print(src)
<xarray.DataArray (band: 5, y: 1613, x: 2313)>
dask.array<concatenate, shape=(5, 1613, 2313), dtype=float64, chunksize=(1, 256, 256), chunktype=numpy.ndarray>
Coordinates:
  * band     (band) int64 1 1 1 1 1
jgrss commented 1 month ago

I'm surprised this didn't previously surface. Working on a fix in #317...