Closed tomconte closed 1 year ago
Hi @tomconte, yes the release today adopted a new version of the xarray-assets
extension. Sorry for the churn, but you'll want to update your code to use
ds = xr.open_dataset(asset.href, **asset.extra_fields["xarray:open_kwargs"]
See https://planetarycomputer.microsoft.com/docs/overview/changelog#other-dataset-updates. Our example notebook has been updated as well.
This also highlights the need for something like https://github.com/stac-utils/pystac/issues/846. It'd be easier for a single library to manage all the different ways of specifying these kinds of details than every needing to worry about it.
Thanks Tom!
Hi all, since today we are getting the following error when accessing the TerraClimate dataset:
It looks like
open_zarr()
does not like the new argumentengine
that was added toxarray:open_kwargs
?I added the following line to fix the problem: