You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
When I try to use hvplot with rasterize=True on this xarray dataarray it fails with:
WARNING:param.dynamic_operation: Callable raised "ValueError('DataArray Hwave is backed by a Dask array, \nbut coordinate lon_rho is not backed by a Dask array with identical \ndimension order and chunks')".
...
ValueError: DataArray Hwave is backed by a Dask array,
but coordinate lon_rho is not backed by a Dask array with identical
dimension order and chunks
Complete, minimal, self-contained example code that reproduces the issue
This is completely reproducible (loads data via S3 with no AWS credentials required):
importxarrayasxrimporthvplot.xarrayimportintakeimportfsspecintake_catalog_url='https://usgs-coawst.s3.amazonaws.com/useast-archive/coawst_intake.yml'ds=intake.open_catalog(intake_catalog_url)['COAWST-USEAST'].to_dask()
da=ds['Hwave']
print(da)
# THIS DOESN'T work: use lazy loading with datashader da2d=da.sel(ocean_time='2012-10-29 12:00', method='nearest')
da2d.hvplot.quadmesh(x='lon_rho', y='lat_rho', rasterize=True)
it's worth noting that we don't get errors if we either: (1) load the data into memory first, (2) turn off datashader or (3) mod the coordinates to appease datashader. In other words, these all work:
Screenshots or screencasts of the bug in action
ALL software version info
Description of expected behavior and the observed behavior
When I try to use hvplot with
rasterize=True
on this xarray dataarray it fails with:Complete, minimal, self-contained example code that reproduces the issue
This is completely reproducible (loads data via S3 with no AWS credentials required):
it's worth noting that we don't get errors if we either: (1) load the data into memory first, (2) turn off datashader or (3) mod the coordinates to appease datashader. In other words, these all work:
Stack traceback and/or browser JavaScript console output
The text was updated successfully, but these errors were encountered: