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
new data source only takes one argument, type: datacube.storage.BandInfo
RasterDatasetDataSource
Unexpected server error: 'RasterDatasetDataSource' object has no attribute '_dataset'
After fixing the new_datasource call above, it's become apparent that the returned object has changed, It no longer has _dataset.id as an available parameter.
After fixing the new_datasource issue, it looks like there are a few more breaking changes I'll make this ticket more general as a catch-all for the new datacube-core release.
tom-butler
changed the title
new_dataset() has breaking changes in upcoming datacube-core release
Breaking changes in upcoming datacube-core release
Feb 20, 2019
Unexpected server error: new_datasource() takes 1 positional argument but 2 were given
as per: https://datacube-core.readthedocs.io/en/latest/_modules/datacube/api/core.html?highlight=new_datasource
new data source only takes one argument, type: datacube.storage.BandInfo
Unexpected server error: 'RasterDatasetDataSource' object has no attribute '_dataset'
After fixing the new_datasource call above, it's become apparent that the returned object has changed, It no longer has _dataset.id as an available parameter.
datasources = sorted(datasources, key=lambda x: x._dataset.id)
These issues will need to be fixed when the WMS is updated to use the next version of core
The text was updated successfully, but these errors were encountered: