- Notifications
You must be signed in to change notification settings - Fork85
Open
Description
Describe the bug
A warning on assumption on index aligned is triggered every timezonal_stats
is called with a dask array (returning a dask dataframe).
This is triggered by ( I believe) this concat:
xarray-spatial/xrspatial/zonal.py
Line 230 in60df049
stats_df=dd.concat([dd.from_dask_array(s)forsinstats_dict.values()],axis=1) |
assuming that such warning could be ignored in this situation, an argument can be passed to ignore this warning (raised indask/dask#6175 and added indask/dask#6210 )
a potential solution would be to allow to pass kwargs tozonal_stats
that are ingested by (also)dd.concat
. wdyt? happy to submit PR
Expected behavior
No warning raised
versionxrspatial==0.3.5
Metadata
Metadata
Assignees
Type
Projects
Status
🆕 New